Łukasz Langa
3057469506
Fixes issue #15803 : incorrect `ConfigParser.items()` docstring
2012-12-31 02:18:20 +01:00
Antoine Pitrou
a2678f3eb6
Fix the advertised size of PyCFunctionObjects in sys._debugmallocstats().
2012-12-30 22:46:56 +01:00
Antoine Pitrou
0811f98e10
Fix the advertised size of PyCFunctionObjects in sys._debugmallocstats().
2012-12-30 22:46:04 +01:00
Serhiy Storchaka
2aa4e6cdec
Issue #16645 : Fix hardlink extracting test for tarfile.
2012-12-30 20:18:58 +02:00
Serhiy Storchaka
62c75f1e52
Issue #16645 : Fix hardlink extracting test for tarfile.
2012-12-30 20:17:28 +02:00
Serhiy Storchaka
88339c44f8
Issue #16645 : Fix hardlink extracting test for tarfile.
2012-12-30 20:16:30 +02:00
Eli Bendersky
d7e2666449
Skip a test correctly for the C-version. The decorator doesn't really work
...
because it evaluates its condition before pyET is even set by test_main.
Therefore, the check it moved to "runtime".
2012-12-30 06:29:49 -08:00
Eli Bendersky
52280c427a
Skip a test correctly for the C-version. The decorator doesn't really work
...
because it evaluates its condition before pyET is even set by test_main.
Therefore, the check it moved to "runtime".
2012-12-30 06:27:56 -08:00
Eli Bendersky
2c53a78a99
For issue #16076 : merge 3.3
2012-12-30 06:18:19 -08:00
Eli Bendersky
7ec45f7a36
For Issue #16076 : make sure that pickling of Element objects is tested, and do
...
it properly to avoid problems with test-run-order dependencies.
2012-12-30 06:17:49 -08:00
Serhiy Storchaka
ac1069387e
Issue #16688 : Fix backreferences did make case-insensitive regex fail on non-ASCII strings.
...
Patch by Matthew Barnett.
2012-12-29 23:41:08 +02:00
Serhiy Storchaka
c1b59d4552
Issue #16688 : Fix backreferences did make case-insensitive regex fail on non-ASCII strings.
...
Patch by Matthew Barnett.
2012-12-29 23:38:48 +02:00
Andrew Svetlov
9edccb47db
merge heads
2012-12-29 23:11:20 +02:00
Andrew Svetlov
f0724e7695
Fix docstring in curses ( #16782 )
2012-12-29 23:09:08 +02:00
Andrew Svetlov
2d8298dcd2
Fix docstring in curses ( #16782 )
2012-12-29 23:08:07 +02:00
Andrew Svetlov
bac04e51ca
Fix docstring in curses ( #16782 )
2012-12-29 23:07:50 +02:00
Serhiy Storchaka
44c66c72c9
Issue #16486 : Make aifc files work with 'with' as context managers.
2012-12-29 22:54:49 +02:00
Serhiy Storchaka
ff2840a76f
Issue #16485 : Fix file descriptor not being closed if file header patching fails on closing of aifc file.
2012-12-29 22:38:37 +02:00
Serhiy Storchaka
f1b63c6f0e
Issue #16485 : Fix file descriptor not being closed if file header patching fails on closing of aifc file.
2012-12-29 22:36:23 +02:00
Serhiy Storchaka
051722d554
Issue #16485 : Fix file descriptor not being closed if file header patching fails on closing of aifc file.
2012-12-29 22:30:56 +02:00
Serhiy Storchaka
d07db96ab6
Issue #16640 : Run less code under a lock in sched module.
2012-12-29 21:46:37 +02:00
Serhiy Storchaka
1147f82438
Issue #16165 : Fix sched.scheduler.run() method was block a scheduler for
...
other threads.
2012-12-29 21:35:37 +02:00
Serhiy Storchaka
f2b9cf4e61
Issue #16165 : Fix sched.scheduler.run() method was block a scheduler for
...
other threads.
2012-12-29 21:34:11 +02:00
Serhiy Storchaka
3c80ce45e4
Issue #16641 : Fix default values of sched.scheduler.enter arguments were modifiable.
2012-12-29 21:15:24 +02:00
Serhiy Storchaka
c04957bff3
Issue #16641 : Fix default values of sched.scheduler.enter arguments were modifiable.
2012-12-29 21:13:45 +02:00
Serhiy Storchaka
d1ced9e86a
Issue #16642 : Document kwargs field in sched.Event named tuple.
2012-12-29 20:59:29 +02:00
Serhiy Storchaka
e912496c60
Issue #16642 : Document kwargs field in sched.Event named tuple.
2012-12-29 20:57:52 +02:00
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