Benjamin Peterson
8485ad1410
merge heads
2012-01-24 09:06:45 -05:00
Antoine Pitrou
91ecea24f5
Issue #13772 : In os.symlink() under Windows, do not try to guess the link
...
target's type (file or directory). The detection was buggy and made the
call non-atomic (therefore prone to race conditions).
2012-01-24 09:05:18 +01:00
Antoine Pitrou
5311c1d7ab
Issue #13772 : In os.symlink() under Windows, do not try to guess the link
...
target's type (file or directory). The detection was buggy and made the
call non-atomic (therefore prone to race conditions).
2012-01-24 08:59:28 +01:00
Victor Stinner
09406023a8
Sort functions in the doc of the time module
...
Move wallclock() at the end.
2012-01-24 01:12:54 +01:00
Victor Stinner
4ccc727793
Issue #10278 : wallclock() cannot go backward, but two consecutive calls
...
may return the same time.
2012-01-23 23:48:41 +01:00
Amaury Forgeot d'Arc
6d766fc3fa
Silence last compilation warning.
2012-01-23 23:20:43 +01:00
Amaury Forgeot d'Arc
cd27df3a99
Fix compilation warnings (seen on win32 buildbot)
2012-01-23 22:42:19 +01:00
Georg Brandl
5b45a013bc
merge from 3.2
2012-01-23 20:19:46 +01:00
Georg Brandl
3b65fd7e97
#13816 : fix two minor style issues. Thanks to Justin Wehnes for the patch.
2012-01-23 20:19:33 +01:00
Benjamin Peterson
3ef2f8c296
merge 3.2
2012-01-22 20:04:58 -05:00
Benjamin Peterson
91eef984fd
fix declaration style
2012-01-22 20:04:46 -05:00
Georg Brandl
20f6bc20bd
merge with 3.2
2012-01-22 21:31:39 +01:00
Georg Brandl
beca27a394
Fix #13834 : strip() strips leading and trailing whitespace.
2012-01-22 21:31:21 +01:00
Benjamin Peterson
ce79852077
use the static identifier api for looking up special methods
...
I had to move the static identifier code from unicodeobject.h to object.h in
order for this to work.
2012-01-22 11:24:29 -05:00
Sandro Tosi
cd8991255c
Issue #13835 : fixes to What's new 3.3; patch by July Tikhonov
2012-01-22 12:16:04 +01:00
Gregory P. Smith
0648458b84
Fix a unittest error seen on NetBSD 5.
2012-01-21 22:06:09 -08:00
Gregory P. Smith
886455cc4e
Fix a unittest error seen on NetBSD 5.
2012-01-21 22:05:10 -08:00
Gregory P. Smith
08c1278ab8
Fix FreeBSD, NetBSD and OpenBSD behavior of the issue #8052 fix.
2012-01-21 21:06:22 -08:00
Gregory P. Smith
4842efcf97
Fix FreeBSD, NetBSD and OpenBSD behavior of the issue #8052 fix.
2012-01-21 21:01:24 -08:00
Gregory P. Smith
1577cf758b
Improve the test for dirfd(). Some systems #define it rather than
...
have it as a library function.
2012-01-21 18:21:56 -08:00
Gregory P. Smith
df300d5062
Improve the test for dirfd(), some systems #define it rather than have
...
an actual function.
2012-01-21 18:20:15 -08:00
Gregory P. Smith
d45382db0b
bugfix for *BSD platforms. (oops messed up #define)
2012-01-21 15:20:37 -08:00
Gregory P. Smith
61f0da8c02
bugfix for issue 8052 fixes on *BSD platforms.
2012-01-21 15:20:08 -08:00
Gregory P. Smith
e9b7cab1da
Another issue #8052 bugfix (related to previous commit).
...
"oops" while rearranging the #defines.
2012-01-21 15:19:11 -08:00
Gregory P. Smith
e3f7848bc5
Bugfix for issue #8052 fix on *BSD variants.
...
Many lack readdir64, use readdir. Only use readdir64 on solaris where
it is required to work around a solaris bug.
2012-01-21 15:16:17 -08:00
Gregory P. Smith
33b24f7e7c
A Misc/NEWS entry for issue 8052.
2012-01-21 14:50:56 -08:00
Gregory P. Smith
9564e4cbf8
Add a Misc/NEWS entry for issue 8052.
2012-01-21 14:50:11 -08:00
Gregory P. Smith
d635af5a61
Fixes issue #8052 : The posix subprocess module's close_fds behavior was
...
suboptimal by closing all possible file descriptors rather than just
the open ones in the child process before exec().
It now closes only the open fds when it is possible to safely determine what
those are.
2012-01-21 14:39:29 -08:00
Gregory P. Smith
8facece99a
Fixes issue #8052 : The posix subprocess module's close_fds behavior was
...
suboptimal by closing all possible file descriptors rather than just
the open ones in the child process before exec().
It now closes only the open fds when it is possible to safely determine what
those are.
2012-01-21 14:01:08 -08:00
Gregory P. Smith
e961bd4934
Avoid the compiler warning about the unused return value.
2012-01-21 12:51:30 -08:00
Gregory P. Smith
12fdca59bb
Avoid the compiler warning about the unused return value.
2012-01-21 12:31:25 -08:00
Antoine Pitrou
1fde8a36ef
Issue #12922 : fix the TextIOBase documentation to include a description of seek() and tell() methods.
2012-01-21 20:22:40 +01:00
Antoine Pitrou
f49d152ab2
Issue #12922 : fix the TextIOBase documentation to include a description of seek() and tell() methods.
2012-01-21 20:20:49 +01:00
Victor Stinner
a4ac600d6f
Issue #13706 : Support non-ASCII fill characters
2012-01-21 15:50:49 +01:00
Sandro Tosi
a2a9071754
merge with 3.2
2012-01-21 11:00:03 +01:00
Sandro Tosi
41b2404dab
fix typo; thanks to Justin Watt from docs@
2012-01-21 10:59:37 +01:00
Senthil Kumaran
3242577a08
merge from 3.2
2012-01-21 11:55:40 +08:00
Senthil Kumaran
3800ea9f65
Fix Issue6631 - Disallow relative file paths in urllib urlopen
2012-01-21 11:52:48 +08:00
Benjamin Peterson
77fc1f3c06
add another test case
2012-01-20 11:01:06 -05:00
Łukasz Langa
d6d2cd2632
phony merge of 76077971ee1f from 3.2
2012-01-20 15:55:27 +01:00
Łukasz Langa
002890861f
#13760 : picklability tests for configparser exceptions
2012-01-20 15:53:10 +01:00
Łukasz Langa
e7851956de
#13760 : picklability tests for configparser exceptions
2012-01-20 14:57:55 +01:00
Vinay Sajip
5d116b758a
Closes #13807 : Merged fix from 3.2.
2012-01-20 11:31:46 +00:00
Vinay Sajip
315a62befc
Closes #13807 : Merged fix from 3.1.
2012-01-20 11:27:36 +00:00
Vinay Sajip
889bb2969d
Closes #13807 : Now checks for sys.stderr being there before writing to it.
2012-01-20 11:23:02 +00:00
Meador Inge
2396c0a28f
Issue #12949 : Document the kwonlyargcount argument for the PyCode_New C API function.
2012-01-19 22:24:55 -06:00
Meador Inge
a3443d985e
Issue #12949 : Document the kwonlyargcount argument for the PyCode_New C API function.
2012-01-19 22:06:31 -06:00
Victor Stinner
2dd254d17a
Issue #10278 : Be more explicit in tests than wallclock() is monotonic (cannot
...
go backward)
2012-01-20 02:24:18 +01:00
Eric V. Smith
d25cfe66f5
Improve exception text. Closes issue 13811.
2012-01-19 20:04:28 -05:00
Benjamin Peterson
cff9237d57
check after comments, too ( #13832 )
2012-01-19 17:46:13 -05:00