Gregory P. Smith [Sun, 22 Jan 2012 02:20:15 +0000 (18:20 -0800)]
Improve the test for dirfd(), some systems #define it rather than have
an actual function.
Gregory P. Smith [Sat, 21 Jan 2012 23:19:11 +0000 (15:19 -0800)]
Another issue #8052 bugfix (related to previous commit).
"oops" while rearranging the #defines.
Gregory P. Smith [Sat, 21 Jan 2012 23:16:17 +0000 (15:16 -0800)]
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.
Gregory P. Smith [Sat, 21 Jan 2012 22:50:11 +0000 (14:50 -0800)]
Add a Misc/NEWS entry for issue 8052.
Gregory P. Smith [Sat, 21 Jan 2012 22:01:08 +0000 (14:01 -0800)]
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.
Gregory P. Smith [Sat, 21 Jan 2012 20:31:25 +0000 (12:31 -0800)]
Avoid the compiler warning about the unused return value.
Antoine Pitrou [Sat, 21 Jan 2012 19:20:49 +0000 (20:20 +0100)]
Issue #12922: fix the TextIOBase documentation to include a description of seek() and tell() methods.
Sandro Tosi [Sat, 21 Jan 2012 09:59:37 +0000 (10:59 +0100)]
fix typo; thanks to Justin Watt from docs@
Senthil Kumaran [Sat, 21 Jan 2012 03:52:48 +0000 (11:52 +0800)]
Fix Issue6631 - Disallow relative file paths in urllib urlopen
Łukasz Langa [Fri, 20 Jan 2012 14:53:10 +0000 (15:53 +0100)]
#13760: picklability tests for configparser exceptions
Vinay Sajip [Fri, 20 Jan 2012 11:27:36 +0000 (11:27 +0000)]
Closes #13807: Merged fix from 3.1.
Vinay Sajip [Fri, 20 Jan 2012 11:23:02 +0000 (11:23 +0000)]
Closes #13807: Now checks for sys.stderr being there before writing to it.
Meador Inge [Fri, 20 Jan 2012 04:06:31 +0000 (22:06 -0600)]
Issue #12949: Document the kwonlyargcount argument for the PyCode_New C API function.
Sandro Tosi [Thu, 19 Jan 2012 21:23:00 +0000 (22:23 +0100)]
Issue #13605: more meaningful example + fixes
Sandro Tosi [Thu, 19 Jan 2012 20:59:55 +0000 (21:59 +0100)]
Issue #13605: add documentation for nargs=argparse.REMAINDER
Sandro Tosi [Thu, 19 Jan 2012 10:29:26 +0000 (11:29 +0100)]
Issue #11948: clarify modules search path
Meador Inge [Thu, 19 Jan 2012 06:22:22 +0000 (00:22 -0600)]
Issue #2134: Clarify token.OP handling rationale in tokenize documentation.
Antoine Pitrou [Wed, 18 Jan 2012 21:30:21 +0000 (22:30 +0100)]
Issue #13722: Avoid silencing ImportErrors when initializing the codecs registry.
Antoine Pitrou [Wed, 18 Jan 2012 20:23:13 +0000 (21:23 +0100)]
Fix refleaks in test_capi
(this was easier than I thought!)
Antoine Pitrou [Wed, 18 Jan 2012 19:16:09 +0000 (20:16 +0100)]
Fix the builtin module initialization code to store the init function for future reinitialization.
Antoine Pitrou [Wed, 18 Jan 2012 16:40:18 +0000 (17:40 +0100)]
Add part of test_inspect test from 2.7
Antoine Pitrou [Wed, 18 Jan 2012 15:13:56 +0000 (16:13 +0100)]
Fix the _io module leaking references when a sub-interpreter is created.
Antoine Pitrou [Wed, 18 Jan 2012 15:13:31 +0000 (16:13 +0100)]
Fix leaking a RuntimeError objects when creating sub-interpreters
Antoine Pitrou [Wed, 18 Jan 2012 14:14:46 +0000 (15:14 +0100)]
Fix a memory leak when initializing the standard I/O streams.
Nadeem Vawda [Wed, 18 Jan 2012 07:25:58 +0000 (09:25 +0200)]
Issue #13781: Fix GzipFile to work with os.fdopen()'d file objects.
Jesus Cea [Wed, 18 Jan 2012 04:04:49 +0000 (05:04 +0100)]
And yet another emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name
Jesus Cea [Wed, 18 Jan 2012 03:49:26 +0000 (04:49 +0100)]
Yet another emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name
Ezio Melotti [Wed, 18 Jan 2012 03:42:39 +0000 (05:42 +0200)]
#13665: s/string/bytes/ in error message.
Jesus Cea [Wed, 18 Jan 2012 03:27:37 +0000 (04:27 +0100)]
Emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name
Jesus Cea [Wed, 18 Jan 2012 02:58:42 +0000 (03:58 +0100)]
Closes #13803: Under Solaris, distutils doesn't include bitness in the directory name
Antoine Pitrou [Tue, 17 Jan 2012 23:21:11 +0000 (00:21 +0100)]
Test running of code in a sub-interpreter
(prelude to issue #6531).
Antoine Pitrou [Tue, 17 Jan 2012 16:13:04 +0000 (17:13 +0100)]
Issue #13589: Fix some serialization primitives in the aifc module.
Patch by Oleg Plakhotnyuk.
Georg Brandl [Mon, 16 Jan 2012 20:40:12 +0000 (21:40 +0100)]
Remove "documenting" latex document.
Sandro Tosi [Mon, 16 Jan 2012 17:02:09 +0000 (18:02 +0100)]
Issue: #12409: remove obsolete susp-entries
Gregory P. Smith [Mon, 16 Jan 2012 10:05:55 +0000 (02:05 -0800)]
regenerate configure using autoconf. includes the dirfd test.
Gregory P. Smith [Mon, 16 Jan 2012 10:05:23 +0000 (02:05 -0800)]
Test for the dirfd library function (for use in some upcoming
changes).
Terry Jan Reedy [Mon, 16 Jan 2012 08:20:27 +0000 (03:20 -0500)]
#6528 None, True, False are keywords in 3.x. Patch by Roger Serwy.
Ezio Melotti [Mon, 16 Jan 2012 06:42:32 +0000 (08:42 +0200)]
#13715: fix typo in unicodedata doc. Patch by Eli Collins.
Ezio Melotti [Mon, 16 Jan 2012 06:28:54 +0000 (08:28 +0200)]
#13695: fix a couple of typos in the doc.
Benjamin Peterson [Mon, 16 Jan 2012 02:28:00 +0000 (21:28 -0500)]
explain why we need this grammar file (closes #13766)
Meador Inge [Mon, 16 Jan 2012 01:15:36 +0000 (19:15 -0600)]
Issue #13629: Renumber the tokens in token.h to match the _PyParser_TokenNames indexes.
Terry Jan Reedy [Mon, 16 Jan 2012 00:03:23 +0000 (19:03 -0500)]
#13039 allow proper deletion of '>>> ' in IDLE editor windows.
Patch by Roger Serwy.
Gregory P. Smith [Sat, 14 Jan 2012 23:31:34 +0000 (15:31 -0800)]
Consolidate the occurrances of the prime used as the multiplier when hashing
to a single #define instead of having several copies in several files.
This excludes the Modules/ tree (datetime and expat both have a copy
for their own purposes with no need for it to be the same).
Sandro Tosi [Sat, 14 Jan 2012 21:23:27 +0000 (22:23 +0100)]
remove 'Documenting Python' and its references, it's now on devguide
Gregory P. Smith [Sat, 14 Jan 2012 20:46:17 +0000 (12:46 -0800)]
Mention the additional way to use the lvl parameter and when it changed.
Meador Inge [Sat, 14 Jan 2012 17:50:33 +0000 (11:50 -0600)]
Issue #13786: Remove unimplemented 'trace' long option from regrtest.py.
Meador Inge [Sat, 14 Jan 2012 15:32:41 +0000 (09:32 -0600)]
Issue #13725: Add a NEWS entry.
Meador Inge [Sat, 14 Jan 2012 15:12:55 +0000 (09:12 -0600)]
Issue #13725: regrtest does not recognize -d flag.
Patch by Erno Tukia.
Senthil Kumaran [Sat, 14 Jan 2012 13:07:31 +0000 (21:07 +0800)]
Fix issue13726: -S accepts an argument just as --start.
Senthil Kumaran [Sat, 14 Jan 2012 11:09:04 +0000 (19:09 +0800)]
Fix Issue #13642: Unquote before b64encoding user:password during Basic Authentication.
Senthil Kumaran [Sat, 14 Jan 2012 10:38:28 +0000 (18:38 +0800)]
Adding the -o option for Issue13726
Senthil Kumaran [Sat, 14 Jan 2012 10:26:27 +0000 (18:26 +0800)]
Issue13726 - Fix the ambiguous -S flag in regrtest. It is -o/--slow for printing the 10 slowest test.
Terry Jan Reedy [Sat, 14 Jan 2012 04:43:13 +0000 (23:43 -0500)]
#13730 grammar fix
Antoine Pitrou [Fri, 13 Jan 2012 18:41:42 +0000 (19:41 +0100)]
Issue #13764: remove outdated script Misc/build.sh
Antoine Pitrou [Thu, 12 Jan 2012 21:36:48 +0000 (22:36 +0100)]
test_strlit was never run
Terry Jan Reedy [Thu, 12 Jan 2012 19:49:02 +0000 (14:49 -0500)]
#11633 At least 2 people prefer earlier revision.
Antoine Pitrou [Thu, 12 Jan 2012 07:06:19 +0000 (08:06 +0100)]
Issue #13724: improve documentation for socket.create_connection.
Benjamin Peterson [Thu, 12 Jan 2012 02:00:16 +0000 (21:00 -0500)]
fold into one if statement
Terry Jan Reedy [Wed, 11 Jan 2012 19:54:34 +0000 (14:54 -0500)]
Minor correction. #11418
Terry Jan Reedy [Wed, 11 Jan 2012 19:09:49 +0000 (14:09 -0500)]
Closes #11633 Clarify print buffering.
Terry Jan Reedy [Wed, 11 Jan 2012 08:29:42 +0000 (03:29 -0500)]
#13754 String returned if less than *or equal to* x 3
Close *13753 'seq' now 'iterable'
Antoine Pitrou [Tue, 10 Jan 2012 22:45:54 +0000 (23:45 +0100)]
Remove unused certificate from the test directory.
Senthil Kumaran [Tue, 10 Jan 2012 17:29:08 +0000 (01:29 +0800)]
Issue9637 - Explain in getproxies_environment that <scheme>_proxy environ variable case does not matter.
Terry Jan Reedy [Mon, 9 Jan 2012 23:20:09 +0000 (18:20 -0500)]
#11906 Make test_argparse work interactively by removing extra space
in comparison string that argparse does not add when program name is blank.
Antoine Pitrou [Mon, 9 Jan 2012 20:43:18 +0000 (21:43 +0100)]
Issue #13747: fix SSL compatibility table.
Antoine Pitrou [Mon, 9 Jan 2012 20:35:11 +0000 (21:35 +0100)]
Issue #13747: fix documentation error about the default SSL version.
Ross Lagerwall [Sun, 8 Jan 2012 06:29:40 +0000 (08:29 +0200)]
Issue #12364: Fix a hang in concurrent.futures.ProcessPoolExecutor.
Sandro Tosi [Sat, 7 Jan 2012 17:34:07 +0000 (18:34 +0100)]
Py_SetPythonHome() can be called before Py_Initialize(); thanks to Cody Smith from docs@
Charles-François Natali [Sat, 7 Jan 2012 17:24:56 +0000 (18:24 +0100)]
Issue #13502: threading: Fix a race condition in Event.wait() that made it
return False when the event was set and cleared right after.
Sandro Tosi [Sat, 7 Jan 2012 16:56:58 +0000 (17:56 +0100)]
clarify recv* are blocking operations; thanks to Chris Kogelnik from docs@
Antoine Pitrou [Fri, 6 Jan 2012 19:06:15 +0000 (20:06 +0100)]
Update printout of SSL certificate examples for 3.2+.
Sandro Tosi [Thu, 5 Jan 2012 18:48:56 +0000 (19:48 +0100)]
Issue #12042: a queue is only used to retrive results; preliminary patch by Jordan Stadler
Sandro Tosi [Thu, 5 Jan 2012 18:06:25 +0000 (19:06 +0100)]
Issue #11984: remove reference to parser, it's not showing symbol usage anymore
Lars Gustäbel [Thu, 5 Jan 2012 17:48:06 +0000 (18:48 +0100)]
Issue #12926: Fix a bug in tarfile's link extraction.
On platforms that do not support (symbolic) links, tarfile offers a
work-around and extracts a link in an archive as the regular file the link is
pointing to. On other platforms, this code was accidentally executed even
after the link had been successfully extracted which failed due to the already
existing link.
Vinay Sajip [Thu, 5 Jan 2012 11:45:31 +0000 (11:45 +0000)]
Closes #13699. Skipped two tests if Python is optimised.
Sandro Tosi [Wed, 4 Jan 2012 22:25:04 +0000 (23:25 +0100)]
Issue #10772: add count and help argparse action; patch by Marc Sibson
Senthil Kumaran [Wed, 4 Jan 2012 05:46:59 +0000 (13:46 +0800)]
Issue13696 - Fix 302 Redirection for Relative urls.
Antoine Pitrou [Wed, 4 Jan 2012 01:53:44 +0000 (02:53 +0100)]
Add a subsection explaning cipher selection.
Benjamin Peterson [Tue, 3 Jan 2012 22:47:22 +0000 (16:47 -0600)]
fix formatting
Benjamin Peterson [Tue, 3 Jan 2012 22:30:37 +0000 (16:30 -0600)]
exception support is correct now (closes #13705)
Benjamin Peterson [Tue, 3 Jan 2012 22:24:39 +0000 (16:24 -0600)]
merge 3.1
Benjamin Peterson [Tue, 3 Jan 2012 22:23:11 +0000 (16:23 -0600)]
fix this to not depend on dictionary order
Antoine Pitrou [Tue, 3 Jan 2012 21:49:56 +0000 (22:49 +0100)]
Merge
Antoine Pitrou [Tue, 3 Jan 2012 21:46:48 +0000 (22:46 +0100)]
Issue #13636: Weak ciphers are now disabled by default in the ssl module
(except when SSLv2 is explicitly asked for).
Sandro Tosi [Tue, 3 Jan 2012 21:35:54 +0000 (22:35 +0100)]
Issue #6031: improve serve_forever() description
Sandro Tosi [Tue, 3 Jan 2012 17:37:03 +0000 (18:37 +0100)]
Issue #9349: add argparse.SUPPRESS to help doc
Charles-François Natali [Mon, 2 Jan 2012 14:47:29 +0000 (15:47 +0100)]
Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch by
Vilmos Nebehaj.
Sandro Tosi [Sun, 1 Jan 2012 21:53:08 +0000 (22:53 +0100)]
Issue #13594: various fixes to aifc module; patch by Oleg Plakhotnyuk
Sandro Tosi [Sun, 1 Jan 2012 17:04:37 +0000 (18:04 +0100)]
Issue #13680: add lowecase compression type to write header; patch by Oleg Plakhotnyuk
Sandro Tosi [Sun, 1 Jan 2012 11:55:20 +0000 (12:55 +0100)]
Issue #13690: add re.DEBUG; patch by Filip Gruszczyński
Sandro Tosi [Sun, 1 Jan 2012 11:17:15 +0000 (12:17 +0100)]
Issue #13683: raise with no exception in scope throws a RuntimeError; fix by Ramchandra Apte
Ned Deily [Sun, 1 Jan 2012 09:09:19 +0000 (01:09 -0800)]
Update copyright dates in Mac plists.
Benjamin Peterson [Sun, 1 Jan 2012 04:42:45 +0000 (22:42 -0600)]
merge heads
Benjamin Peterson [Sun, 1 Jan 2012 04:42:26 +0000 (22:42 -0600)]
add another year to glorious PSF IP
Sandro Tosi [Sat, 31 Dec 2011 17:46:50 +0000 (18:46 +0100)]
fix some broken URLs
Eli Bendersky [Sat, 31 Dec 2011 05:20:26 +0000 (07:20 +0200)]
Some formatting & grammar fixes for the multiprocessing doc
Benjamin Peterson [Sat, 31 Dec 2011 05:08:09 +0000 (23:08 -0600)]
indicate msg is an argument
Antoine Pitrou [Fri, 30 Dec 2011 20:25:15 +0000 (21:25 +0100)]
Fix no-op tests in importlib.
Benjamin Peterson [Fri, 30 Dec 2011 19:47:25 +0000 (13:47 -0600)]
use booleans
Benjamin Peterson [Tue, 27 Dec 2011 21:16:34 +0000 (15:16 -0600)]
propgate error in other conditions