R David Murray
6e7bd65453
Merge #11109 : clean up docs, add whatsnew entry, and fix Justin's last name.
2012-10-01 21:47:57 -04:00
R David Murray
258fabefde
#11109 : clean up docs, add whatsnew entry, and fix Justin's last name.
2012-10-01 21:43:46 -04: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
Philip Jenvey
fd0d3e5d25
more yield from
...
patch by Serhiy Storchaka
2012-10-01 15:34:31 -07: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
Nadeem Vawda
40ee157458
Merge: #16304 : Optimizations for BZ2File, and minor bugfix.
2012-10-01 23:11:35 +02:00
Nadeem Vawda
eb70be2b46
Issue #16304 : Further optimize BZ2File.readlines?().
2012-10-01 23:05:32 +02:00
Nadeem Vawda
138ad5066d
Fix error handling in new fast path of BZ2File.readline().
2012-10-01 23:04:11 +02:00
Nadeem Vawda
452add08a1
Issue #16304 : Another performance optimization for BZ2File.
...
Patch by Serhiy Storchaka.
2012-10-01 23:02:50 +02:00
Philip Jenvey
4993cc0a5b
utilize yield from
2012-10-01 12:53:43 -07:00
Philip Jenvey
075bbb176f
utilize subprocess.DEVNULL
2012-10-01 11:48:46 -07:00
Tim Golden
8a9f93699f
Issue16097 Fix small typo in comment (patch by Wael Al Jishi)
2012-10-01 16:41:08 +01:00
Tim Golden
621302c3f4
Issue16097 Fix small typo in comment (patch by Wael Al Jishi)
2012-10-01 16:40:40 +01:00
Nadeem Vawda
26bbdb212d
Merge: #16304 : Further performance improvements for BZ2File.
...
Optimizations suggested by Serhiy Storchaka.
2012-10-01 00:04:46 +02:00
Nadeem Vawda
b7a0bfe912
Issue #16304 : Further performance improvements for BZ2File.
...
Optimizations suggested by Serhiy Storchaka.
2012-09-30 23:58:01 +02: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
Nadeem Vawda
2747b2f21e
Merge: Fix the return value of BZ2File._read_block() to be consistent with comments.
2012-09-30 13:45:22 +02:00
Nadeem Vawda
9e2a28ea54
Fix the return value of BZ2File._read_block() to be consistent with comments.
2012-09-30 13:41:29 +02: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
Nadeem Vawda
65c848e484
Merge #16034 : Fix performance regressions in the new BZ2File implementation.
...
Thanks to Victor Hooi for the bug report, and Serhiy Storchaka for the initial patch.
2012-09-30 04:01:31 +02:00
Nadeem Vawda
6c57318c3a
Issue #16034 : Fix performance regressions in the new BZ2File implementation.
...
Thanks to Victor Hooi for the bug report, and Serhiy Storchaka for the initial patch.
2012-09-30 03:57:33 +02: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
Georg Brandl
08a9012352
Bump version to 3.4.0 alpha 0.
2012-09-29 09:34:13 +02:00
Georg Brandl
99a247fd01
Merge with main repo default branch.
2012-09-29 09:27:15 +02:00
Georg Brandl
c7dcd50e4e
Bump version to 3.3.0 final.
2012-09-29 09:04:54 +02:00
Brett Cannon
8ed677db12
Add some comments.
2012-09-28 16:41:39 -04: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
Michael Foord
28d591ceef
Closes issue 15323. Improve failure message of Mock.assert_called_once_with
2012-09-28 16:15:22 +01:00
Stefan Krah
6fb204af79
Issue #16080 : Use run_with_locale() decorator to reset the locale properly.
2012-09-28 16:18:54 +02:00
Michael Foord
8ef1fcecc5
Merge
2012-09-28 15:19:45 +01:00
Michael Foord
d38e6e516d
Closes issue 16064. No longer hard code executable name in unittest help output.
2012-09-28 15:14:37 +01:00
Michael Foord
7a1901f861
Closes issue #12376 : Pass on parameters in unittest.TextTestResult.__init__ super call
2012-09-28 14:14:03 +01: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