Commit Graph

10747 Commits

Author SHA1 Message Date
Antoine Pitrou 997adb5819 Issue #16089: Allow ElementTree.TreeBuilder to work again with a non-Element element_factory (fixes a regression in SimpleTAL). 2012-10-04 19:54:53 +02:00
Antoine Pitrou ee329318db Issue #16089: Allow ElementTree.TreeBuilder to work again with a non-Element element_factory (fixes a regression in SimpleTAL). 2012-10-04 19:53:29 +02:00
Jesus Cea d96c1fb6ed MERGE: Closes #16126: PyErr_Format format mismatch in _testcapimodule.c 2012-10-04 16:07:03 +02:00
Jesus Cea 6e1d2b6e78 Closes #16126: PyErr_Format format mismatch in _testcapimodule.c 2012-10-04 16:06:30 +02:00
Jesus Cea dc469454ec Closes #15488: Closed files keep their buffer alive 2012-10-04 12:37:56 +02:00
Ezio Melotti 3ffd29b615 Remove unnecessary []. 2012-10-02 19:45:00 +03:00
Vinay Sajip 4ded5512d7 Issue #15452: Added verify option for logging configuration socket listener. 2012-10-02 15:56:16 +01:00
Victor Stinner 621ef3d84f Issue #15609: Optimize str%args for integer argument
- Use _PyLong_FormatWriter() instead of formatlong() when possible, to avoid
   a temporary buffer
 - Enable the fast path when width is smaller or equals to the length,
   and when the precision is bigger or equals to the length
 - Add unit tests!
 - formatlong() uses PyUnicode_Resize() instead of _PyUnicode_FromASCII()
   to resize the output string
2012-10-02 00:33:47 +02:00
Stefan Krah ca1232f7db Merge 3.3. 2012-10-01 23:30:32 +02:00
Stefan Krah 219c7b90d0 Issue #15599: Increase the switch interval. Several systems cannot handle
gil_interval == 1 in extreme situations.
2012-10-01 23:21:45 +02:00
Philip Jenvey 075bbb176f utilize subprocess.DEVNULL 2012-10-01 11:48:46 -07:00
Chris Jerdonek 9a6ada8026 Issue #15533: Merge update from 3.2. 2012-09-30 09:46:04 -07:00
Chris Jerdonek c2cd626497 Issue #15533: Skip test_cwd_with_relative_*() tests on Windows pending resolution of issue. 2012-09-30 09:45:00 -07:00
Chris Jerdonek ca42f00657 Issue #15533: Merge update from 3.3. 2012-09-30 09:46:55 -07:00
Chris Jerdonek 1e0a88a11d Issue #15533: Merge fix from 3.3. 2012-09-30 02:22:50 -07:00
Chris Jerdonek 28714c8c26 Issue #15533: Merge fix from 3.2. 2012-09-30 02:15:37 -07:00
Chris Jerdonek ec3ea94251 Issue #15533: Clarify docs and add tests for subprocess.Popen()'s cwd argument. 2012-09-30 00:10:28 -07:00
Antoine Pitrou 04e21607d1 Speed up test_httpservers by avoiding a one-second cleanup wait after each test case. 2012-09-30 01:09:59 +02:00
Antoine Pitrou 2a180207ba Speed up test_httpservers by avoiding a one-second cleanup wait after each test case. 2012-09-30 01:08:55 +02:00
Antoine Pitrou f727082b71 Speed up test_httpservers by avoiding a one-second cleanup wait after each test case. 2012-09-30 01:05:30 +02:00
Gregory P. Smith b8ad23f4aa Remove the new trivial pty.spawn() test as it hangs on many buildbots. 2012-09-29 13:50:40 -07:00
Gregory P. Smith 0f21adf799 pty.spawn() now returns the child process status as returned by os.waitpid().
Addresses the remaining feature request from issue #2489.
2012-09-29 12:41:03 -07:00
Gregory P. Smith 288d9aec4b Fixes issue #15756: subprocess.poll() now properly handles errno.ECHILD to
return a returncode of 0 when the child has already exited or cannot be
waited on.
2012-09-29 11:55:16 -07:00
Gregory P. Smith 02dee1acd8 Fixes issue #15756: subprocess.poll() now properly handles errno.ECHILD
to return a returncode of 0 when the child has already exited or cannot be
waited on.
2012-09-29 11:53:08 -07:00
Gregory P. Smith 3905171f1e Fixes issue #15756: subprocess.poll() now properly handles errno.ECHILD
to return a returncode of 0 when the child has already exited or cannot
be waited on.
2012-09-29 11:40:38 -07:00
Benjamin Peterson 14fb44e1ba merge mostly from default 2012-09-29 14:14:19 -04:00
Benjamin Peterson b8350f1c7d upgrade to UCD 6.2 2012-09-29 13:47:39 -04:00
Georg Brandl 8850664d26 merge with 3.3 2012-09-29 09:51:42 +02:00
Georg Brandl e054f452bd Fix test_sys.test_implementation for final releases. 2012-09-29 09:44:17 +02:00
Stefan Krah 8a491a8eef Closes #16080: The decorator ignores failed attempts to set the required
locale, so an additional check is required.
2012-09-28 17:17:11 +02:00
Stefan Krah 6fb204af79 Issue #16080: Use run_with_locale() decorator to reset the locale properly. 2012-09-28 16:18:54 +02:00
Benjamin Peterson 43f8f4cf18 renmae test method to avoid conflict (#16056) 2012-09-27 18:10:17 -04:00
Mark Dickinson 7c95bb35e4 Issue #16060: Fix a double DECREF in int() implementation. Thanks Serhiy Storchaka. 2012-09-27 19:38:59 +01:00
Ezio Melotti c7e139b431 #1087: use proper skips in test_os. 2012-09-26 20:01:34 +03:00
Petri Lehtinen f6b30385cc #15222: Merge 3.2 2012-09-25 22:06:07 +03:00
Petri Lehtinen f39884bb5a #15222: Insert blank line after each message in mbox mailboxes 2012-09-25 22:02:06 +03:00
Petri Lehtinen 468091954f #15222: test_mailbox: End message template in a newline 2012-09-25 21:58:51 +03:00
Benjamin Peterson 3095f4724e raise a ValueError instead of an AssertionError when pool is an invalid state 2012-09-25 12:45:42 -04:00
Benjamin Peterson 3331a20464 merge 3.2 2012-09-25 11:53:30 -04:00
Benjamin Peterson a820c7ca70 fix test_compileall when run with -O[O] 2012-09-25 11:42:35 -04:00
Benjamin Peterson d79ac0fad7 merge 3.2 2012-09-25 11:03:27 -04:00
Benjamin Peterson d388c4e02f use modern conditional syntax 2012-09-25 11:01:41 -04:00
Senthil Kumaran 49d130227b merge 3.2: Issue #16013: Fix CSV Reader parsing issue with ending quote characters. Patch by Serhiy Storchaka. 2012-09-25 02:37:20 -07:00
Senthil Kumaran 67b7b98a47 Issue #16013: Fix CSV Reader parsing issue with ending quote characters. Patch by Serhiy Storchaka. 2012-09-25 02:30:27 -07:00
Christian Heimes 22340be15e Issue #16012: Fix a regression in pyexpat. The parser's UseForeignDTD()
method doesn't require an argument again.
2012-09-24 13:27:28 +02:00
Christian Heimes e26d3af7ee Issue #16012: Fix a regression in pyexpat. The parser's UseForeignDTD()
method doesn't require an argument again.
2012-09-24 13:17:08 +02:00
Antoine Pitrou a1f7655fa7 Issue #15379: Fix passing of non-BMP characters as integers for the charmap decoder (already working as unicode strings).
Patch by Serhiy Storchaka.
2012-09-23 20:00:04 +02:00
Antoine Pitrou 6f80f5d444 Issue #15379: Fix passing of non-BMP characters as integers for the charmap decoder (already working as unicode strings).
Patch by Serhiy Storchaka.
2012-09-23 19:55:21 +02:00
Victor Stinner a3ff101e6a Issue #5969: faulthandler module: rename dump_tracebacks_later() to
dump_traceback_later() and cancel_dump_tracebacks_later() to
cancel_dump_traceback_later().
2012-09-23 11:06:21 +02:00
R David Murray 752a2241ea #15925: fix regression: return None for null and non-date strings.
Since the logic for null detection had to move into the _parseaddr
functions, I removed the wrappers from email.utils and just import the
_parseaddr functions directly.
2012-09-22 09:59:51 -04:00