]>
granicus.if.org Git - python/log
Andrew Svetlov [Thu, 9 Aug 2012 12:23:49 +0000 (15:23 +0300)]
Issue #15501: Document exception classes in subprocess module.
Initial patch by Anton Barkovsky.
Benjamin Peterson [Tue, 7 Aug 2012 18:57:47 +0000 (11:57 -0700)]
make documented file() kw names and actual ones agree (closes #15572)
Patch by Daniel Ellis.
R David Murray [Mon, 6 Aug 2012 20:09:09 +0000 (16:09 -0400)]
#15554: clarify splitlines/split differences.
Patch by Chris Jerdonek.
Ned Deily [Sun, 5 Aug 2012 21:42:45 +0000 (14:42 -0700)]
Issue #15560: Fix building _sqlite3 extension on OS X with an SDK.
Vinay Sajip [Sat, 4 Aug 2012 22:40:21 +0000 (23:40 +0100)]
Issue #15541: Correct anomaly in logging.exception. Thanks to Ned Batchelder for the report.
Andrew Svetlov [Sat, 4 Aug 2012 18:45:23 +0000 (21:45 +0300)]
Issue #13052: Fix IDLE crashing when replace string in Search/Replace dialog ended with '\'.
Patch by Roger Serwy.
Sandro Tosi [Sat, 4 Aug 2012 17:42:06 +0000 (19:42 +0200)]
add missing period; thanks to Gaston Fiore from docs@
Antoine Pitrou [Fri, 3 Aug 2012 22:55:38 +0000 (00:55 +0200)]
Make TextIOWrapper's documentation clearer by copying the newline argument's description from open().
Jesus Cea [Fri, 3 Aug 2012 13:51:11 +0000 (15:51 +0200)]
#15512: Declarations reorganization
Jesus Cea [Fri, 3 Aug 2012 13:48:56 +0000 (15:48 +0200)]
#15512: Remove remnants of debugging code
Jesus Cea [Fri, 3 Aug 2012 12:48:23 +0000 (14:48 +0200)]
Closes #15469: Correct __sizeof__ support for deque
Jesus Cea [Fri, 3 Aug 2012 12:25:53 +0000 (14:25 +0200)]
Closes #15512: Correct __sizeof__ support for parser
Antoine Pitrou [Thu, 2 Aug 2012 18:37:12 +0000 (20:37 +0200)]
Issue #15538: Fix compilation of the getnameinfo() / getaddrinfo() emulation code.
Patch by Philipp Hagemeister.
Eli Bendersky [Thu, 2 Aug 2012 00:00:33 +0000 (03:00 +0300)]
Issue #15231: update PyPI upload doc to say --no-raw passed to rst2html.py
Martin v. Löwis [Wed, 1 Aug 2012 08:05:27 +0000 (10:05 +0200)]
Issue #8847: Disable COMDAT folding in Windows PGO builds.
Andrew Svetlov [Tue, 31 Jul 2012 16:51:27 +0000 (19:51 +0300)]
Issue #9803: Don't close IDLE on saving if breakpoint is open.
Patch by Roger Serwy.
Andrew Svetlov [Mon, 30 Jul 2012 17:04:53 +0000 (20:04 +0300)]
Issue #12288: Consider '0' and '0.0' as valid initialvalue for tkinter SimpleDialog.
Ned Deily [Mon, 30 Jul 2012 11:07:49 +0000 (04:07 -0700)]
Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs.
Ned Deily [Mon, 30 Jul 2012 10:28:22 +0000 (03:28 -0700)]
Issue #14018: Update the OS X IDLE Tcl/Tk warning check to include
the Apple-supplied Tck/Tk versions shipped with OS X 10.7 and 10.8.
They are not as buggy as the 10.6 version but can still easily crash.
Antoine Pitrou [Sun, 29 Jul 2012 22:01:06 +0000 (00:01 +0200)]
Issue #15489: Add a __sizeof__ implementation for BytesIO objects.
Patch by Serhiy Storchaka.
Antoine Pitrou [Sun, 29 Jul 2012 17:02:46 +0000 (19:02 +0200)]
Issue #15487: Add a __sizeof__ implementation for buffered I/O objects.
Patch by Serhiy Storchaka.
Martin v. Löwis [Sun, 29 Jul 2012 14:30:50 +0000 (16:30 +0200)]
Issue #15467: Move helpers for __sizeof__ tests into test_support.
Patch by Serhiy Storchaka.
Meador Inge [Sun, 29 Jul 2012 02:58:44 +0000 (21:58 -0500)]
Issue #15402: Simplify Struct.__sizeof__ and make tests more precise.
Richard Oudkerk [Fri, 27 Jul 2012 13:05:46 +0000 (14:05 +0100)]
Issue #6056: Make multiprocessing use setblocking(True) on the sockets it uses.
Original patch by J Derek Wilson.
Vinay Sajip [Fri, 27 Jul 2012 09:52:18 +0000 (10:52 +0100)]
Improved cookbook entry and fixed typo.
Andrew Svetlov [Thu, 26 Jul 2012 14:19:40 +0000 (17:19 +0300)]
Issue #15041: Update "see also" list in tkinter documentation.
Antoine Pitrou [Wed, 25 Jul 2012 20:38:33 +0000 (22:38 +0200)]
Mention the *limit* argument of TextIO.readline().
Vinay Sajip [Wed, 25 Jul 2012 18:12:35 +0000 (19:12 +0100)]
Issue #15445: Updated logging configuration documentation to highlight potential security risk posed by listen() in certain scenarios.
Martin v. Löwis [Wed, 25 Jul 2012 08:56:22 +0000 (10:56 +0200)]
Issue #15318: Prevent writing to sys.stdin.
Patch by Roger Serwy and myself.
R David Murray [Tue, 24 Jul 2012 18:24:42 +0000 (14:24 -0400)]
#15232: make NEWS entry more accurate.
Jesus Cea [Mon, 23 Jul 2012 16:39:51 +0000 (18:39 +0200)]
Rollback an incorrect Doc/ACKS.txt entry
Jesus Cea [Mon, 23 Jul 2012 16:14:45 +0000 (18:14 +0200)]
Better test for Issue #15402: Add a __sizeof__ method to struct.Struct
Meador Inge [Mon, 23 Jul 2012 14:27:00 +0000 (09:27 -0500)]
Issue #15402: Add a __sizeof__ method to struct.Struct.
Initial patch by Serhiy Storchaka.
Senthil Kumaran [Mon, 23 Jul 2012 02:36:03 +0000 (19:36 -0700)]
Issue #15250: Document that filecmp.dircmp compares files shallowly. Patch contributed by Chris Jerdonek.
R David Murray [Mon, 23 Jul 2012 01:55:12 +0000 (21:55 -0400)]
#15232: correctly mangle From lines in MIME preamble and epilogue
Gregory P. Smith [Sun, 22 Jul 2012 04:23:00 +0000 (21:23 -0700)]
merge heads
Gregory P. Smith [Sun, 22 Jul 2012 04:22:16 +0000 (21:22 -0700)]
Consistently raise a TypeError when a non str is passed to hashlib.new
regardless of which of the two implementations of new is used.
R David Murray [Sun, 22 Jul 2012 02:54:34 +0000 (22:54 -0400)]
#13922: argparse no longer incorrectly strips '--' after the first one.
Patch by Jeff Knupp.
R David Murray [Sun, 22 Jul 2012 02:35:00 +0000 (22:35 -0400)]
#12353: argparse now correctly handles null argument values.
Patch by Torsten Landschoff.
R David Murray [Sat, 21 Jul 2012 21:06:28 +0000 (17:06 -0400)]
#14391: clarify docstring discussion of Action's 'type' argument's value.
R David Murray [Sat, 21 Jul 2012 18:37:29 +0000 (14:37 -0400)]
#15342: Add clarifying sentence to posixpath.join docstring.
This sentence appears as a clarifying note in the HTML docs, and seems
worth having in the docstring since it covers a very common use case
that isn't otherwise obvious. Thanks to Yongzhi Pan for the suggestion.
Georg Brandl [Sat, 21 Jul 2012 14:48:16 +0000 (16:48 +0200)]
Fix typo introduced in
79d54fba49b3 .
Raymond Hettinger [Sat, 21 Jul 2012 00:47:59 +0000 (17:47 -0700)]
Fix whitespace
Antoine Pitrou [Fri, 20 Jul 2012 22:52:06 +0000 (00:52 +0200)]
Issue #14579: Fix error handling bug in the utf-16 decoder.
Patch by Serhiy Storchaka.
Vinay Sajip [Fri, 20 Jul 2012 08:48:46 +0000 (09:48 +0100)]
Issue #15399: Added versionchanged for processName.
Meador Inge [Thu, 19 Jul 2012 04:51:05 +0000 (23:51 -0500)]
Issue #6493: Fix handling of c_uint32 bitfields with width of 32 on Windows.
R David Murray [Wed, 18 Jul 2012 23:44:08 +0000 (19:44 -0400)]
Closes #9254: backport __import__ docstring/doc mentions of importlib.
Patch by Éric Araujo.
Meador Inge [Wed, 18 Jul 2012 22:48:34 +0000 (17:48 -0500)]
remove unused variable
Meador Inge [Wed, 18 Jul 2012 21:32:37 +0000 (16:32 -0500)]
Issue #15368: fixing variable typo.
Meador Inge [Wed, 18 Jul 2012 19:09:04 +0000 (14:09 -0500)]
Issue #15368: make bytecode generation deterministic.
R David Murray [Tue, 17 Jul 2012 02:31:32 +0000 (22:31 -0400)]
#15375: remove duplicated word 'child'
Gregory P. Smith [Mon, 16 Jul 2012 20:36:01 +0000 (13:36 -0700)]
Fix the with_poll tests for platforms without poll. missing import.
Raymond Hettinger [Mon, 16 Jul 2012 07:11:05 +0000 (00:11 -0700)]
Issue 15337: help() shown as undocumented
Gregory P. Smith [Mon, 16 Jul 2012 05:16:06 +0000 (22:16 -0700)]
Fixes Issue #14635: telnetlib will use poll() rather than select() when possible
to avoid failing due to the select() file descriptor limit.
Contributed by Akintayo Holder and under the Google contributor agreement.
Benjamin Peterson [Sun, 15 Jul 2012 00:53:55 +0000 (17:53 -0700)]
allow any number to be returned from __length_hint__ (closes #15354)
Antoine Pitrou [Fri, 13 Jul 2012 20:46:41 +0000 (22:46 +0200)]
Try other approach to fix issue #15334.
Ezio Melotti [Fri, 13 Jul 2012 19:40:25 +0000 (21:40 +0200)]
#15345: fix SyntaxError in argparse tutorial example. Patch by Simon Hayward.
Antoine Pitrou [Fri, 13 Jul 2012 19:08:41 +0000 (21:08 +0200)]
Issue #15334: skip test_dynamic_key when run in non-interactive mode.
Patch by Jeremy Kloth.
Antoine Pitrou [Fri, 13 Jul 2012 18:54:42 +0000 (20:54 +0200)]
Issue #15338: skip test_UNC_path when the current user doesn't have enough permissions to access the path.
Martin v. Löwis [Wed, 11 Jul 2012 07:19:16 +0000 (09:19 +0200)]
Use _RPCFile.write properly.
Martin v. Löwis [Wed, 11 Jul 2012 06:49:58 +0000 (08:49 +0200)]
Don't use TextIOBase implementations in _RPCFile.
Martin v. Löwis [Wed, 11 Jul 2012 06:32:05 +0000 (08:32 +0200)]
Issue #15319: Revert wrapping of sys.stdin. Patch by Serhiy Storchaka.
Terry Jan Reedy [Mon, 9 Jul 2012 21:57:13 +0000 (17:57 -0400)]
Issue 13532: Allow bytearrays to be written also.
Martin v. Löwis [Mon, 9 Jul 2012 19:07:41 +0000 (21:07 +0200)]
Widen test to support unicode.
Martin v. Löwis [Mon, 9 Jul 2012 19:01:49 +0000 (21:01 +0200)]
- Issue #13532: Check that arguments to sys.stdout.write are strings.
Terry Jan Reedy [Sun, 8 Jul 2012 21:35:26 +0000 (17:35 -0400)]
Issue #13557: Clarify effect of giving two different namespaces to exec or
execfile().
Senthil Kumaran [Sun, 8 Jul 2012 09:22:44 +0000 (02:22 -0700)]
merge heads.
Senthil Kumaran [Sun, 8 Jul 2012 09:20:27 +0000 (02:20 -0700)]
revert the changes done in
d931a3b64fd6 - buildbot failure.
The fix for issue14826 might need to address toBytes and test_url_encoding in
test_cookielib.py before it is brought back in.
Senthil Kumaran [Sun, 8 Jul 2012 08:14:53 +0000 (01:14 -0700)]
Fix the buildbot failure - msg164973
Senthil Kumaran [Sun, 8 Jul 2012 00:37:53 +0000 (17:37 -0700)]
Fix issue14826 - make urllib.request.Request quoted url consistent with URLOpener open method.
Patch contributed by Stephen Thorne.
Georg Brandl [Fri, 6 Jul 2012 19:36:48 +0000 (21:36 +0200)]
Fix leftover quote.
Antoine Pitrou [Fri, 6 Jul 2012 16:48:24 +0000 (18:48 +0200)]
Issue #15247: FileIO now raises an error when given a file descriptor pointing to a directory.
Senthil Kumaran [Thu, 5 Jul 2012 02:50:29 +0000 (19:50 -0700)]
Fix closes issue # 15033 - Return the proper exitcode for failure when modules are invoked using -m switch. Patch contributed by Jeff Knupp
Jesus Cea [Tue, 3 Jul 2012 11:07:58 +0000 (13:07 +0200)]
Issue #1677: Unused variable warning in Non-Windows
Jesus Cea [Tue, 3 Jul 2012 11:06:45 +0000 (13:06 +0200)]
Backed out changeset
7ccc2cea6969
Jesus Cea [Tue, 3 Jul 2012 11:04:55 +0000 (13:04 +0200)]
Issue #1667: Unused variable warning in Non-Windows
Éric Araujo [Tue, 3 Jul 2012 05:23:46 +0000 (01:23 -0400)]
Create ~/.pypirc securely (#13512).
There was a window between the write and the chmod where the user’s
password would be exposed, depending on default permissions. Philip
Jenvey’s patch fixes it.
Éric Araujo [Tue, 3 Jul 2012 05:13:40 +0000 (01:13 -0400)]
Branch merge
Éric Araujo [Tue, 3 Jul 2012 05:12:42 +0000 (01:12 -0400)]
Ignore .nfs* files in distutils (#7719).
These files are created by some NFS clients a file is edited and removed
concurrently (see added link in doc for more info). If such a file is
removed between distutils calls listdir and copy, it will get confused.
Other special files are ignored in sdist (namely VCS directories), but
this has to be filtered out earlier.
Raymond Hettinger [Tue, 3 Jul 2012 04:08:45 +0000 (21:08 -0700)]
Make it easier to search for the grouper() recipe.
Éric Araujo [Mon, 2 Jul 2012 21:46:56 +0000 (17:46 -0400)]
Use source role to get links to files
Éric Araujo [Mon, 2 Jul 2012 21:46:40 +0000 (17:46 -0400)]
Adapt mentions of future changes in doc
Éric Araujo [Mon, 2 Jul 2012 21:45:10 +0000 (17:45 -0400)]
Avoid SyntaxError in script using print function
Raymond Hettinger [Mon, 2 Jul 2012 03:00:09 +0000 (20:00 -0700)]
The StopIteration API applies to both tokenize() and generate_tokens()
Antoine Pitrou [Sun, 1 Jul 2012 22:01:22 +0000 (00:01 +0200)]
Issue #15212: fix typo in compiler module (rename SC_GLOBAL_EXPLICT to SC_GLOBAL_EXPLICIT).
Patch by Arfrever.
Georg Brandl [Sun, 1 Jul 2012 07:47:54 +0000 (09:47 +0200)]
Make call of os.getppid() conditional: it is not available on Windows.
Georg Brandl [Sun, 1 Jul 2012 07:40:16 +0000 (09:40 +0200)]
Remove an unneeded footnote.
Stefan Krah [Sat, 30 Jun 2012 16:46:02 +0000 (18:46 +0200)]
Issue #15170: Quote the variable that expands to the current directory.
Mark Dickinson [Sat, 30 Jun 2012 16:19:35 +0000 (17:19 +0100)]
Closes #14591: Random.jumpahead could produce an invalid MT state on 64-bit machines.
Tim Golden [Fri, 29 Jun 2012 21:10:28 +0000 (22:10 +0100)]
Merged
Antoine Pitrou [Fri, 29 Jun 2012 19:53:29 +0000 (21:53 +0200)]
Backed out changeset
ee51e3aef302 - it broke the test suite
Senthil Kumaran [Fri, 29 Jun 2012 18:07:27 +0000 (11:07 -0700)]
urlparse cleanup. rename keywords used as variables
Tim Golden [Fri, 29 Jun 2012 17:20:44 +0000 (18:20 +0100)]
Issue #1677: Handle better a race condition between the interactive interpreter and
the Ctrl-C signal handler on Windows
Petri Lehtinen [Fri, 29 Jun 2012 12:09:12 +0000 (15:09 +0300)]
#5346: Preserve permissions of mbox, MMDF and Babyl mailbox files on flush()
Petri Lehtinen [Fri, 29 Jun 2012 10:43:37 +0000 (13:43 +0300)]
#9559: Don't call _pre_mailbox_hook more than once
Senthil Kumaran [Fri, 29 Jun 2012 04:07:32 +0000 (21:07 -0700)]
urlparse docs clean up
Antoine Pitrou [Thu, 28 Jun 2012 23:58:26 +0000 (01:58 +0200)]
Issue #5067: improve some json error messages.
Patch by Serhiy Storchaka.
Amaury Forgeot d'Arc [Thu, 28 Jun 2012 23:42:46 +0000 (01:42 +0200)]
Issue #15219: Fix a reference leak when hashlib.new() is called with
invalid parameters.
Petri Lehtinen [Thu, 28 Jun 2012 10:48:17 +0000 (13:48 +0300)]
#9559: Append data to single-file mailbox files if messages are only added
If messages were only added, a new file is no longer created and
renamed over the old file when flush() is called on an mbox, MMDF or
Babyl mailbox.
Antoine Pitrou [Wed, 27 Jun 2012 16:23:40 +0000 (18:23 +0200)]
Regrtest option "-n" doesn't exist in 2.7.