Victor Stinner
09354fd606
(Merge 3.3) Issue #20311 : select.epoll.poll() now rounds the timeout away from
...
zero, instead of rounding towards zero. For example, a timeout of one
microsecond is now rounded to one millisecond, instead of being rounded to
zero.
2014-01-21 01:42:11 +01:00
Victor Stinner
665486e0e7
Issue #20311 : select.epoll.poll() now rounds the timeout away from zero,
...
instead of rounding towards zero. For example, a timeout of one microsecond is
now rounded to one millisecond, instead of being rounded to zero.
2014-01-21 01:41:00 +01:00
Victor Stinner
22463aa947
Close #20275 : Optimize BaseEventLoop._run_once()
...
Logger.log() is "slow", logger.isEnabledFor() is faster and the logger is
disabled in most cases. A microbenchmark executing 100,000 dummy tasks is 22%
faster with this change.
2014-01-20 23:56:40 +01:00
Serhiy Storchaka
c46d1faa4a
Issue #20262 : Warnings are raised now when duplicate names are added in the
...
ZIP file or too long ZIP file comment is truncated.
2014-01-20 21:59:33 +02:00
Serhiy Storchaka
9b7a1a1af6
Issue #20262 : Warnings are raised now when duplicate names are added in the
...
ZIP file or too long ZIP file comment is truncated.
2014-01-20 21:57:40 +02:00
Serhiy Storchaka
ab0ac27d24
Issue #20315 : Removed support for backward compatibility with early 2.x versions.
...
Removed backward compatibility alias curses.window.nooutrefresh which should
be removed in 2.3.
2014-01-20 21:35:06 +02:00
Serhiy Storchaka
7e52705ee3
Issue #20315 : Removed support for backward compatibility with early 2.x versions.
2014-01-20 21:29:31 +02:00
Eli Bendersky
679688e70d
Fix grammar and add markup
2014-01-20 08:13:31 -08:00
Eli Bendersky
3245e79b82
Formatting & rst link markup fixes
2014-01-20 07:51:31 -08:00
Eli Bendersky
029981bbfc
Clarify what the loop arguments means for functions listed in 18.5.2.5
2014-01-20 07:02:22 -08:00
Eli Bendersky
2d26af82c1
Explain the 'result' argument in asyncio.sleep
2014-01-20 06:59:23 -08:00
Stefan Krah
34e4628453
Merge from 3.3.
2014-01-20 15:35:38 +01:00
Stefan Krah
6c01e38677
Issue #19036 : Including locale.h should not depend on HAVE_LANGINFO_H.
2014-01-20 15:31:08 +01:00
Gregory P. Smith
5a6d4bf671
Fixes Issue #20165 : The unittest module no longer considers tests marked with
...
@expectedFailure successful if they pass.
2014-01-20 01:11:18 -08:00
Gregory P. Smith
b599c61179
Fix the unittest to run properly when the working directory has
...
additional bits set (such as the setgid or sticky bits).
2014-01-20 01:10:33 -08:00
Benjamin Peterson
27b490c713
merge 3.3 ( #6627 )
2014-01-20 00:12:24 -05:00
Benjamin Peterson
1cfe009b96
put notes in a ..note section
2014-01-20 00:10:23 -05:00
Benjamin Peterson
f6ffb4b264
document that a new Python thread context is created in ctypes callbacks ( closes #6627 )
...
Patch by Nikolaus Rath.
2014-01-20 00:09:53 -05:00
Larry Hastings
665757847e
Improve fix for issue #20300 .
2014-01-19 03:01:23 -08:00
Larry Hastings
c4fe092bc3
Issue #20300 : Fix exception when setting conversion class member "default"
...
to None.
2014-01-19 02:27:34 -08:00
Larry Hastings
b7ccb20423
Issue #20294 : Argument Clinic now supports argument parsing for __new__ and
...
__init__ functions.
2014-01-18 23:50:21 -08:00
Larry Hastings
b470575e24
Issue #20299 : Argument Clinic custom converters may now change the default
...
value of c_default and py_default with a class member.
2014-01-18 21:54:15 -08:00
Benjamin Peterson
dc3cce077d
merge 3.3 ( #17811 )
2014-01-18 22:57:05 -05:00
Benjamin Peterson
e83ed43281
improve description of buffers argument for readv/writev ( closes #17811 )
...
Patch by Nikolaus Rath.
2014-01-18 22:54:59 -05:00
Benjamin Peterson
bd22d39bae
merge 3.3 ( #18574 )
2014-01-18 22:32:05 -05:00
Benjamin Peterson
a96860c91c
correct news entry for #18574
2014-01-18 22:31:27 -05:00
Benjamin Peterson
c28ab08887
merge 3.3 ( #18574 )
2014-01-18 21:51:11 -05:00
Benjamin Peterson
3836593a2d
add Nikolaus Rath to ACKS
2014-01-18 21:50:35 -05:00
Benjamin Peterson
044242360d
fix handling of 100-continue status code ( closes #18574 )
2014-01-18 21:50:18 -05:00
Serhiy Storchaka
49776ef9e7
Use correct C type in byte_converter.
2014-01-19 00:38:36 +02:00
Stefan Krah
5de3278b23
Fix test failures (--without-doc-strings).
2014-01-18 23:18:39 +01:00
R David Murray
bbf18bee3c
Merge #19855 : restore use of LC_ALL, not LC_MESSAGES
2014-01-18 15:02:00 -05:00
R David Murray
4295353568
#19855 : restore use of LC_ALL, not LC_MESSAGES
...
I didn't realize LC_ALL was an override, and I should have. I tried to
make a test, but it is not clear that the LC variables actually affect
the strings that uuid is using to parse the command output.
2014-01-18 14:56:10 -05:00
Serhiy Storchaka
5d83d1a814
Issue #20270 : urllib.urlparse now supports empty ports.
2014-01-18 18:31:41 +02:00
Serhiy Storchaka
ff97b08d00
Issue #20270 : urllib.urlparse now supports empty ports.
2014-01-18 18:30:33 +02:00
Serhiy Storchaka
2d1f092469
Issue #20244 : Fixed possible file leaks when unexpected error raised in
...
tarfile open functions.
2014-01-18 16:28:37 +02:00
Serhiy Storchaka
e413cde95f
Issue #20244 : Fixed possible file leaks when unexpected error raised in
...
tarfile open functions.
2014-01-18 16:28:08 +02:00
Serhiy Storchaka
aee0e63ed0
Issue #20243 : TarFile no longer raise ReadError when opened in write mode.
2014-01-18 16:14:49 +02:00
Serhiy Storchaka
c2d01423e0
Issue #20243 : TarFile no longer raise ReadError when opened in write mode.
2014-01-18 16:14:10 +02:00
Serhiy Storchaka
7d68a1c921
Issue #20238 : TarFile opened with external fileobj and "w:gz" mode didn't
...
write complete output on close.
2014-01-18 15:53:39 +02:00
Serhiy Storchaka
9fbec7ad5e
Issue #20238 : TarFile opened with external fileobj and "w:gz" mode didn't
...
write complete output on close.
2014-01-18 15:53:05 +02:00
Serhiy Storchaka
ce644a09ac
Issue #20245 : The open functions in the tarfile module now correctly handle empty mode.
2014-01-18 15:37:21 +02:00
Serhiy Storchaka
53ad0cd284
Issue #20245 : The open functions in the tarfile module now correctly handle empty mode.
2014-01-18 15:35:37 +02:00
Larry Hastings
537d760766
Doc improvements for Clinic howto "Goals" section.
2014-01-18 01:08:50 -08:00
Larry Hastings
4903e00141
Issue #20292 : Small bug fix for Argument Clinic supporting format units
...
for strings with explicit encodings.
2014-01-18 00:26:16 -08:00
Benjamin Peterson
3c16c1d821
merge 3.3
2014-01-18 00:49:30 -05:00
Benjamin Peterson
af69fe2311
rm extra whitespace
2014-01-18 00:49:04 -05:00
Benjamin Peterson
9308c420d3
merge 3.3
2014-01-18 00:47:06 -05:00
Benjamin Peterson
eacec1ccff
link to builtin open not io.open
2014-01-18 00:47:00 -05:00
Benjamin Peterson
d8af6700b9
merge 3.3 ( #17814 )
2014-01-18 00:46:49 -05:00