Commit Graph

16073 Commits

Author SHA1 Message Date
Victor Stinner 67eb8df902 (Merge 3.3) Issue #9644: Add a test on os.statvfs() for the PEP 383 2013-01-01 23:17:22 +01:00
Victor Stinner a25be07103 Issue #9644: Add a test on os.statvfs() for the PEP 383 2013-01-01 23:11:21 +01:00
Victor Stinner e4110dc11f Issue #9644: Fix the encoding used by os.statvfs(): use the filesystem encoding
with the surrogateescape error handler, instead of UTF-8 in strict mode.
2013-01-01 23:05:55 +01:00
Łukasz Langa 6e410a2cdb Merged section order preservation fix when using `__setitem__` (issue #16820) 2013-01-01 22:36:33 +01:00
Łukasz Langa a821f82f66 configparser: preserve section order when using `__setitem__` (issue #16820) 2013-01-01 22:33:19 +01:00
Giampaolo Rodola' b4f39e85f2 Fix issue 10527: make multiprocessing use poll() instead of select() if available. 2012-12-31 17:38:46 +01:00
Giampaolo Rodola' 5051ca887c Fix issue 10527: make multiprocessing use poll() instead of select() if available. 2012-12-31 17:38:17 +01:00
Giampaolo Rodola' 5e844c8052 Fix issue 10527: make multiprocessing use poll() instead of select() if available. 2012-12-31 17:23:09 +01:00
Łukasz Langa 8d518970ce Merged `parser['DEFAULT'].__setitem__` fix (issue #16820) from 3.3. 2012-12-31 13:57:21 +01:00
Łukasz Langa 0210194d48 Fixes `__setitem__` on parser['DEFAULT'] reported in issue #16820. 2012-12-31 13:55:11 +01:00
Serhiy Storchaka 528b825cb1 Issue #16824: Fix a failure guard in the never reached in the normal test execution code in test_pep380.
Original patch by Stefan Behnel.
2012-12-31 11:37:34 +02:00
Serhiy Storchaka 5da57027ef Issue #16824: Fix a failure guard in the never reached in the normal test execution code in test_pep380. 2012-12-31 11:31:41 +02:00
Łukasz Langa 1dce0003a6 Merged `parser.clean()` fix (issue #16820) from 3.2 through 3.3. 2012-12-31 03:43:37 +01:00
Łukasz Langa 0dc5ab41f0 Merged `parser.clean()` fix (issue #16820) from 3.2. 2012-12-31 03:41:54 +01:00
Łukasz Langa 3a8479a583 Fixes `parser.clean()` reported in issue #16820. 2012-12-31 03:38:39 +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
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 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
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 c819b077bb Issue #16761: Raise TypeError when int() called with base argument only. 2012-12-28 10:09:54 +02: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
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
Serhiy Storchaka 3b3170447f Issue #16792: Mark small ints test as CPython-only. 2012-12-27 23:57:00 +02:00