]>
granicus.if.org Git - python/log
Brian Curtin [Wed, 1 Feb 2012 21:14:00 +0000 (15:14 -0600)]
Add a hint that CSD == Service Pack.
People searcing for the way to get a "service pack" will never find that we
provide it here, and people that find this function won't know what CSD is
until they run the function. On top of this, they won't know what the value
means unless they really have a service pack installed.
CSD, or Customer Service Diagnostics, is apparently no longer used, and was
rarely used term at that. Most references to it online are from
universities making Windows 2000 and XP service packs available to students.
Terry Jan Reedy [Tue, 31 Jan 2012 07:57:29 +0000 (02:57 -0500)]
whitespace
Terry Jan Reedy [Tue, 31 Jan 2012 07:26:32 +0000 (02:26 -0500)]
#13506 Add '' to path for interactive interpreter by adding with_cwd parameter
to PyShell.PyShell.transfer_path() and changing elsewhere as needed.
Original patches by Marco Scataglini and Roger Serwy.
Gregory P. Smith [Mon, 30 Jan 2012 23:17:33 +0000 (15:17 -0800)]
Fix zip_import.c's read_directory() to use appropriate types for the values
being read from the header vs the values being used by fseek and ftell
(Py_ssize_t for those) and how they are computed. Py_ssize_t is used for
actual file offsets so that files greater than 2gigs could be supported.
Updates the Py_BuildValue format string to match (including several existing
wrong 'i's that should have been 'l's).
Benjamin Peterson [Mon, 30 Jan 2012 01:16:37 +0000 (20:16 -0500)]
ready types returned from PyType_FromSpec
Benjamin Peterson [Mon, 30 Jan 2012 01:13:18 +0000 (20:13 -0500)]
adjust declaration
Antoine Pitrou [Sun, 29 Jan 2012 17:36:34 +0000 (18:36 +0100)]
Issue #13848: open() and the FileIO constructor now check for NUL characters in the file name.
Patch by Hynek Schlawack.
Georg Brandl [Sun, 29 Jan 2012 14:38:47 +0000 (15:38 +0100)]
Fix #13900: resolve self-referential description of a parameter.
Benjamin Peterson [Sun, 29 Jan 2012 01:33:21 +0000 (20:33 -0500)]
remove tests from really old regex module
Antoine Pitrou [Sat, 28 Jan 2012 21:01:59 +0000 (22:01 +0100)]
Issue #13806: The size check in audioop decompression functions was too strict and could reject valid compressed data.
Patch by Oleg Plakhotnyuk.
Antoine Pitrou [Sat, 28 Jan 2012 16:38:34 +0000 (17:38 +0100)]
Issue #13895: fix test_ssl hanging under Ubuntu
Charles-François Natali [Sat, 28 Jan 2012 10:36:04 +0000 (11:36 +0100)]
Issue #13894: Skip test_threading.CRLockTests if _CRLock isn't available. Patch
by Matt Joiner.
Mark Dickinson [Fri, 27 Jan 2012 21:16:01 +0000 (21:16 +0000)]
Issue #13889: Add missing _Py_SET_53BIT_PRECISION_* calls around uses of dtoa.c functions in float round.
Antoine Pitrou [Fri, 27 Jan 2012 16:33:01 +0000 (17:33 +0100)]
Fix intermittent test_ssl failure.
Benjamin Peterson [Fri, 27 Jan 2012 14:14:01 +0000 (09:14 -0500)]
note that get() is not affected by default_factory (closes #13887)
Antoine Pitrou [Fri, 27 Jan 2012 13:07:29 +0000 (14:07 +0100)]
Fix error handling in examples of C API use.
Antoine Pitrou [Fri, 27 Jan 2012 09:52:37 +0000 (10:52 +0100)]
Issue #13812: When a multiprocessing Process child raises an exception, flush stderr after printing the exception traceback.
Antoine Pitrou [Fri, 27 Jan 2012 09:02:55 +0000 (10:02 +0100)]
Clarify that ssl.OP_ALL can be different from OpenSSL's SSL_OP_ALL.
Antoine Pitrou [Fri, 27 Jan 2012 08:50:45 +0000 (09:50 +0100)]
Issue #13885: CVE-2011-3389: the _ssl module would always disable the CBC IV attack countermeasure.
Antoine Pitrou [Fri, 27 Jan 2012 08:48:47 +0000 (09:48 +0100)]
Issue #13885: CVE-2011-3389: the _ssl module would always disable the CBC IV attack countermeasure.
Brett Cannon [Thu, 26 Jan 2012 23:36:08 +0000 (18:36 -0500)]
merge
Brett Cannon [Thu, 26 Jan 2012 23:29:06 +0000 (18:29 -0500)]
Issue #13883: Document all platforms PYTHONCASEOK works on.
Meador Inge [Thu, 26 Jan 2012 14:44:00 +0000 (08:44 -0600)]
- Issue #13840: Fix ctypes.create_string_buffer exception message and docs.
Raymond Hettinger [Thu, 26 Jan 2012 08:14:16 +0000 (00:14 -0800)]
Issue 13870: Fix out of date comment.
Georg Brandl [Wed, 25 Jan 2012 21:36:25 +0000 (22:36 +0100)]
#13852: some small doc fixes.
Benjamin Peterson [Wed, 25 Jan 2012 21:30:18 +0000 (16:30 -0500)]
kill extra word
Benjamin Peterson [Wed, 25 Jan 2012 21:29:03 +0000 (16:29 -0500)]
say bitwise (because I have no idea what a bit-string is)
Vinay Sajip [Wed, 25 Jan 2012 17:41:13 +0000 (17:41 +0000)]
Closes #13859: Replaced reference to StandardError with reference to Exception. Thanks to Matt Joiner for spotting this and submitting a patch.
Antoine Pitrou [Wed, 25 Jan 2012 17:01:45 +0000 (18:01 +0100)]
Port import fixes from 2.7.
Antoine Pitrou [Wed, 25 Jan 2012 02:00:57 +0000 (03:00 +0100)]
Port remaining test fixes, and fix test_importlib too.
Antoine Pitrou [Wed, 25 Jan 2012 00:35:26 +0000 (01:35 +0100)]
Make test work under 32-bit systems, and when invoked through Lib/test/regrtest.py
(rather than `-m test.regrtest`)
Antoine Pitrou [Tue, 24 Jan 2012 16:44:06 +0000 (17:44 +0100)]
Issue #11235: Fix OverflowError when trying to import a source file whose modification time doesn't fit in a 32-bit timestamp.
Benjamin Peterson [Tue, 24 Jan 2012 14:07:06 +0000 (09:07 -0500)]
merge heads
Antoine Pitrou [Tue, 24 Jan 2012 07:59:28 +0000 (08:59 +0100)]
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).
Georg Brandl [Mon, 23 Jan 2012 19:19:33 +0000 (20:19 +0100)]
#13816: fix two minor style issues. Thanks to Justin Wehnes for the patch.
Benjamin Peterson [Mon, 23 Jan 2012 01:04:46 +0000 (20:04 -0500)]
fix declaration style
Georg Brandl [Sun, 22 Jan 2012 20:31:21 +0000 (21:31 +0100)]
Fix #13834: strip() strips leading and trailing whitespace.
Gregory P. Smith [Sun, 22 Jan 2012 06:05:10 +0000 (22:05 -0800)]
Fix a unittest error seen on NetBSD 5.
Gregory P. Smith [Sun, 22 Jan 2012 05:01:24 +0000 (21:01 -0800)]
Fix FreeBSD, NetBSD and OpenBSD behavior of the issue #8052 fix.
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'