Commit Graph

76482 Commits

Author SHA1 Message Date
Antoine Pitrou
49f7e58778 Forward port new test for SSLSocket.connect_ex() 2012-12-28 19:09:41 +01:00
Antoine Pitrou
6464b84b3e Forward port new test for SSLSocket.connect_ex() 2012-12-28 19:08:49 +01:00
Antoine Pitrou
ddb87ab1b4 Forward port new test for SSLSocket.connect_ex() 2012-12-28 19:07:43 +01:00
Antoine Pitrou
40f12ab0c5 Backport Python 3.2 fix for issue #12065, and add another test for SSLSocket.connect_ex(). 2012-12-28 19:03:43 +01:00
Serhiy Storchaka
c4051aa8eb Merge heads 2012-12-28 10:16:47 +02:00
Serhiy Storchaka
c819b077bb Issue #16761: Raise TypeError when int() called with base argument only. 2012-12-28 10:09:54 +02:00
Raymond Hettinger
c195b4e88c Make the from_iterable() recipe more usable.
The code isn't exactly equivalent because a classmethod would
only make sense inside a chain class, and it would need "cls"
as a first argument, and it would need to return an instance
of "chain" rather than a generator.

The updated example drops the @classmethod decorator so that
it can be used standalone:  list(from_iterable(['abc', 'def']))
This should be communicate what from_iterable does.
2012-12-28 00:03:30 -08:00
Serhiy Storchaka
00e2843115 Issue #16761: Raise TypeError when int() called with base argument only. 2012-12-28 10:02:42 +02:00
Serhiy Storchaka
0b386d5247 Issue #16761: Raise TypeError when int() called with base argument only. 2012-12-28 09:42:11 +02:00
Serhiy Storchaka
cf095f8e0f Issue #16761: Raise TypeError when int() or long() called with base argument only. 2012-12-28 09:31:59 +02:00
Chris Jerdonek
d6c18dcd20 Issue #15302: Switch regrtest from using getopt to using argparse.
This is the first step in refactoring regrtest to use argparse.  The
regrtest module's main() function still expects a getopt-style return
value rather than an argparse.Namespace instance.
2012-12-27 18:53:12 -08:00
Chris Jerdonek
f7cd05d7af Merge from 3.3: Issue #15324: Fix regrtest --fromfile, --match, --randomize. 2012-12-27 18:32:47 -08:00
Chris Jerdonek
28441e353c Merge from 3.2: Issue #15324: Fix regrtest --fromfile, --match, --randomize. 2012-12-27 18:25:54 -08:00
Chris Jerdonek
1e4bd53a34 Issue #15324: Fix regrtest parsing of --fromfile, --match, and --randomize. 2012-12-27 18:16:32 -08:00
Chris Jerdonek
3684c79e00 Issue #15324: Fix regrtest parsing of --fromfile and --randomize options. 2012-12-27 18:14:01 -08:00
Ezio Melotti
774715cd81 #16796: merge with 3.3. 2012-12-28 02:00:41 +02:00
Ezio Melotti
63ee149ca6 #16796: merge with 3.2. 2012-12-28 02:00:22 +02:00
Ezio Melotti
52336f0b50 #16796: fix typo. Patch by Michael Schurter. 2012-12-28 01:59:24 +02:00
Ezio Melotti
82ee30384c #16796: fix typo. Patch by Michael Schurter. 2012-12-28 01:59:24 +02:00
Serhiy Storchaka
c90be30b0d Issue #16792: Use assertIs() to test identity. 2012-12-28 00:44:20 +02:00
Serhiy Storchaka
f823da1f09 Issue #16793. Replace deprecated unittest asserts with modern counterparts. 2012-12-28 00:36:34 +02:00
Serhiy Storchaka
a29159b075 Issue #16793. Replace deprecated unittest asserts with modern counterparts. 2012-12-28 00:34:57 +02:00
Serhiy Storchaka
8876145fab Issue #16793. Replace deprecated unittest asserts with modern counterparts. 2012-12-28 00:32:19 +02:00
Serhiy Storchaka
3cd0e30747 Issue #16792: Mark small ints test as CPython-only. 2012-12-28 00:17:38 +02:00
Serhiy Storchaka
1ef73d21a2 Issue #16792: Mark small ints test as CPython-only. 2012-12-28 00:16:53 +02:00