Georg Brandl
6c89a79d55
#13852 : some small doc fixes.
2012-01-25 22:36:25 +01:00
Benjamin Peterson
b4b0b354dd
kill extra word
2012-01-25 16:30:18 -05:00
Benjamin Peterson
e9fca253d0
say bitwise (because I have no idea what a bit-string is)
2012-01-25 16:29:03 -05:00
Vinay Sajip
a50c284076
Closes #13859 : Replaced reference to StandardError with reference to Exception. Thanks to Matt Joiner for spotting this and submitting a patch.
2012-01-25 17:41:13 +00:00
Antoine Pitrou
33d15f7c85
Port import fixes from 2.7.
2012-01-25 18:01:45 +01:00
Antoine Pitrou
dd21f68963
Port remaining test fixes, and fix test_importlib too.
2012-01-25 03:00:57 +01:00
Antoine Pitrou
05f29b7a3a
Make test work under 32-bit systems, and when invoked through Lib/test/regrtest.py
...
(rather than `-m test.regrtest`)
2012-01-25 01:35:26 +01:00
Antoine Pitrou
2be60afb7e
Issue #11235 : Fix OverflowError when trying to import a source file whose modification time doesn't fit in a 32-bit timestamp.
2012-01-24 17:44:06 +01:00
Benjamin Peterson
7fa5a99b06
merge heads
2012-01-24 09:07:06 -05: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
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
91eef984fd
fix declaration style
2012-01-22 20:04:46 -05:00
Georg Brandl
beca27a394
Fix #13834 : strip() strips leading and trailing whitespace.
2012-01-22 21:31:21 +01:00
Gregory P. Smith
886455cc4e
Fix a unittest error seen on NetBSD 5.
2012-01-21 22:05:10 -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
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
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
9564e4cbf8
Add a Misc/NEWS entry for issue 8052.
2012-01-21 14:50:11 -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
12fdca59bb
Avoid the compiler warning about the unused return value.
2012-01-21 12:31:25 -08: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
Sandro Tosi
41b2404dab
fix typo; thanks to Justin Watt from docs@
2012-01-21 10:59:37 +01:00
Senthil Kumaran
3800ea9f65
Fix Issue6631 - Disallow relative file paths in urllib urlopen
2012-01-21 11:52:48 +08:00
Łukasz Langa
002890861f
#13760 : picklability tests for configparser exceptions
2012-01-20 15:53:10 +01: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
a3443d985e
Issue #12949 : Document the kwonlyargcount argument for the PyCode_New C API function.
2012-01-19 22:06:31 -06:00
Sandro Tosi
da8e11ac71
Issue #13605 : more meaningful example + fixes
2012-01-19 22:23:00 +01:00
Sandro Tosi
16bd0b4463
Issue #13605 : add documentation for nargs=argparse.REMAINDER
2012-01-19 21:59:55 +01:00
Sandro Tosi
f0229aa51c
Issue #11948 : clarify modules search path
2012-01-19 11:29:26 +01:00
Meador Inge
972cfb9169
Issue #2134 : Clarify token.OP handling rationale in tokenize documentation.
2012-01-19 00:22:22 -06:00
Antoine Pitrou
1b468af7be
Issue #13722 : Avoid silencing ImportErrors when initializing the codecs registry.
2012-01-18 22:30:21 +01:00
Antoine Pitrou
55f217f22d
Fix refleaks in test_capi
...
(this was easier than I thought!)
2012-01-18 21:23:13 +01:00
Antoine Pitrou
6c40eb7f42
Fix the builtin module initialization code to store the init function for future reinitialization.
2012-01-18 20:16:09 +01:00
Antoine Pitrou
0c60381749
Add part of test_inspect test from 2.7
2012-01-18 17:40:18 +01:00
Antoine Pitrou
fc1b6f0078
Fix the _io module leaking references when a sub-interpreter is created.
2012-01-18 16:13:56 +01:00
Antoine Pitrou
1c7ade5284
Fix leaking a RuntimeError objects when creating sub-interpreters
2012-01-18 16:13:31 +01:00
Antoine Pitrou
2fabface50
Fix a memory leak when initializing the standard I/O streams.
2012-01-18 15:14:46 +01:00
Nadeem Vawda
892b0b928d
Issue #13781 : Fix GzipFile to work with os.fdopen()'d file objects.
2012-01-18 09:25:58 +02:00
Jesus Cea
031605ad99
And yet another emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name
2012-01-18 05:04:49 +01:00
Jesus Cea
1aa1cf3548
Yet another emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name
2012-01-18 04:49:26 +01:00
Ezio Melotti
acd5f7bceb
#13665 : s/string/bytes/ in error message.
2012-01-18 05:42:39 +02:00
Jesus Cea
6e35d417f7
Emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name
2012-01-18 04:27:37 +01:00
Jesus Cea
8874fd6bb0
Closes #13803 : Under Solaris, distutils doesn't include bitness in the directory name
2012-01-18 03:58:42 +01:00
Antoine Pitrou
2f828f2c88
Test running of code in a sub-interpreter
...
(prelude to issue #6531 ).
2012-01-18 00:21:11 +01:00
Antoine Pitrou
03757ec4a5
Issue #13589 : Fix some serialization primitives in the aifc module.
...
Patch by Oleg Plakhotnyuk.
2012-01-17 17:13:04 +01:00
Georg Brandl
c77bb65deb
Remove "documenting" latex document.
2012-01-16 21:40:12 +01:00
Sandro Tosi
32ee44ffb4
Issue: #12409 : remove obsolete susp-entries
2012-01-16 18:02:09 +01:00
Éric Araujo
f2fbb9cf42
Improve interlinking of archiving/compression modules docs.
...
- Remove duplicated list of links to the other modules from each
module’s doc (people can already go up to library/archiving and
there they can see the list).
- Link to shutil high-level operations.
Reviewed by Nadeem Vawda in #6715 .
2012-01-16 16:55:55 +01:00