]> granicus.if.org Git - python/log
python
12 years ago- Issue #14493: Use gvfs-open/xdg-open in Lib/webbrowser.py.
Matthias Klose [Wed, 4 Apr 2012 12:19:04 +0000 (14:19 +0200)]
- Issue #14493: Use gvfs-open/xdg-open in Lib/webbrowser.py.

12 years agoFollowup for issue #14321, remove references to Parser/pgen.stamp
Matthias Klose [Wed, 4 Apr 2012 11:20:55 +0000 (13:20 +0200)]
Followup for issue #14321, remove references to Parser/pgen.stamp

12 years agoFixes and enhancements to _elementtree:
Eli Bendersky [Tue, 3 Apr 2012 19:02:37 +0000 (22:02 +0300)]
Fixes and enhancements to _elementtree:

* Fixed refleak problems when GC collection is run (see messages in
  issue #14065)
* Added weakref support to Element objects

12 years agoIssue #14482: Raise a ValueError, not a NameError, when trying to create
Antoine Pitrou [Tue, 3 Apr 2012 18:13:45 +0000 (20:13 +0200)]
Issue #14482: Raise a ValueError, not a NameError, when trying to create
a multiprocessing Client or Listener with an AF_UNIX type address under
Windows.  Patch by Popa Claudiu.

12 years agoIssue #14482: Raise a ValueError, not a NameError, when trying to create
Antoine Pitrou [Tue, 3 Apr 2012 18:12:23 +0000 (20:12 +0200)]
Issue #14482: Raise a ValueError, not a NameError, when trying to create
a multiprocessing Client or Listener with an AF_UNIX type address under
Windows.  Patch by Popa Claudiu.

12 years agoMerge #14481: fix formatting of example in subprocess docs.
R David Murray [Tue, 3 Apr 2012 12:47:14 +0000 (08:47 -0400)]
Merge #14481: fix formatting of example in subprocess docs.

12 years ago#14481: fix formatting of example in subprocess docs.
R David Murray [Tue, 3 Apr 2012 12:46:48 +0000 (08:46 -0400)]
#14481: fix formatting of example in subprocess docs.

12 years agoIssue #14288: Modify Misc/NEWS
Kristján Valur Jónsson [Tue, 3 Apr 2012 10:59:26 +0000 (10:59 +0000)]
Issue #14288: Modify Misc/NEWS

12 years agoIssue #14288: Serialization support for builtin iterators.
Kristján Valur Jónsson [Tue, 3 Apr 2012 10:49:41 +0000 (10:49 +0000)]
Issue #14288: Serialization support for builtin iterators.

12 years agoMove ChainMap versionadded to be less ambiguous.
Georg Brandl [Tue, 3 Apr 2012 07:16:46 +0000 (09:16 +0200)]
Move ChainMap versionadded to be less ambiguous.

12 years agoIssue #802310: Generate always unique tkinter font names if not directly passed
Andrew Svetlov [Tue, 3 Apr 2012 06:48:07 +0000 (09:48 +0300)]
Issue #802310: Generate always unique tkinter font names if not directly passed

12 years agoreformat code to follow PEP8
Andrew Svetlov [Tue, 3 Apr 2012 06:39:47 +0000 (09:39 +0300)]
reformat code to follow PEP8

12 years agoadd XXX
Benjamin Peterson [Tue, 3 Apr 2012 04:52:18 +0000 (00:52 -0400)]
add XXX

12 years agomerge heads
Benjamin Peterson [Tue, 3 Apr 2012 04:35:44 +0000 (00:35 -0400)]
merge heads

12 years agomerge 3.2
Benjamin Peterson [Tue, 3 Apr 2012 04:35:36 +0000 (00:35 -0400)]
merge 3.2

12 years agofix parse_syntax_error to clean up its resources
Benjamin Peterson [Tue, 3 Apr 2012 04:30:38 +0000 (00:30 -0400)]
fix parse_syntax_error to clean up its resources

12 years agomerge
Brett Cannon [Tue, 3 Apr 2012 00:34:20 +0000 (20:34 -0400)]
merge

12 years agoIf a module injects something into sys.modules as a side-effect of
Brett Cannon [Tue, 3 Apr 2012 00:33:56 +0000 (20:33 -0400)]
If a module injects something into sys.modules as a side-effect of
importation, then respect that injection.

Discovered thanks to Lib/xml/parsers/expat.py injecting
xml.parsers.expat.errors and etree now importing that directly as a
module.

12 years agoExpose clock_settime() as time.clock_settime()
Victor Stinner [Mon, 2 Apr 2012 22:45:07 +0000 (00:45 +0200)]
Expose clock_settime() as time.clock_settime()

12 years agoAdd time.CLOCK_HIGHRES constant, needed on Solaris
Victor Stinner [Mon, 2 Apr 2012 22:31:17 +0000 (00:31 +0200)]
Add time.CLOCK_HIGHRES constant, needed on Solaris

12 years agoMerge.
Stefan Krah [Mon, 2 Apr 2012 18:59:15 +0000 (20:59 +0200)]
Merge.

12 years agoImprove comments.
Stefan Krah [Mon, 2 Apr 2012 18:51:08 +0000 (20:51 +0200)]
Improve comments.

12 years agomerge 3.2
Benjamin Peterson [Mon, 2 Apr 2012 18:25:55 +0000 (14:25 -0400)]
merge 3.2

12 years agoremove uneeded line
Benjamin Peterson [Mon, 2 Apr 2012 18:22:50 +0000 (14:22 -0400)]
remove uneeded line

12 years agoTesting the implicit initialization of the thread local context on first
Stefan Krah [Mon, 2 Apr 2012 17:10:20 +0000 (19:10 +0200)]
Testing the implicit initialization of the thread local context on first
access fails (expectedly) if other modules have already used decimal. The
only option is to remove the test.

12 years agoGuard an LLTRACE variable to silence an unused variable warning.
Brett Cannon [Mon, 2 Apr 2012 16:17:59 +0000 (12:17 -0400)]
Guard an LLTRACE variable to silence an unused variable warning.

12 years agoMerge with 3.2 (Issue #14471)
Kristján Valur Jónsson [Mon, 2 Apr 2012 15:41:06 +0000 (15:41 +0000)]
Merge with 3.2 (Issue #14471)

12 years agomerge 3.2
Benjamin Peterson [Mon, 2 Apr 2012 15:28:49 +0000 (11:28 -0400)]
merge 3.2

12 years agoIssue #14471: Fix a possible buffer overrun in the winreg module.
Kristján Valur Jónsson [Mon, 2 Apr 2012 15:23:29 +0000 (15:23 +0000)]
Issue #14471: Fix a possible buffer overrun in the winreg module.

12 years agoprevent writing to stderr from messing up the exception state (closes #14474)
Benjamin Peterson [Mon, 2 Apr 2012 15:15:17 +0000 (11:15 -0400)]
prevent writing to stderr from messing up the exception state (closes #14474)

12 years agoWhitespace.
Stefan Krah [Mon, 2 Apr 2012 13:10:36 +0000 (15:10 +0200)]
Whitespace.

12 years agoMerge.
Stefan Krah [Mon, 2 Apr 2012 13:04:14 +0000 (15:04 +0200)]
Merge.

12 years agoClear the context flags if a context is initialized from the DefaultContext.
Stefan Krah [Mon, 2 Apr 2012 13:02:21 +0000 (15:02 +0200)]
Clear the context flags if a context is initialized from the DefaultContext.

12 years agoMerge.
Georg Brandl [Mon, 2 Apr 2012 05:52:29 +0000 (07:52 +0200)]
Merge.

12 years agoPost-release update.
Georg Brandl [Mon, 2 Apr 2012 05:51:45 +0000 (07:51 +0200)]
Post-release update.

12 years agomerge 3.2
Benjamin Peterson [Sun, 1 Apr 2012 22:51:37 +0000 (18:51 -0400)]
merge 3.2

12 years agoadjust formatting
Benjamin Peterson [Sun, 1 Apr 2012 22:49:54 +0000 (18:49 -0400)]
adjust formatting

12 years agoremove extraneous condition
Benjamin Peterson [Sun, 1 Apr 2012 22:48:40 +0000 (18:48 -0400)]
remove extraneous condition

12 years agomerge heads
Benjamin Peterson [Sun, 1 Apr 2012 22:48:11 +0000 (18:48 -0400)]
merge heads

12 years agobe consistent with rest of function
Benjamin Peterson [Sun, 1 Apr 2012 22:48:02 +0000 (18:48 -0400)]
be consistent with rest of function

12 years agoFix Overflow exception in the bignum factorial benchmark that is due to
Stefan Krah [Sun, 1 Apr 2012 21:25:34 +0000 (23:25 +0200)]
Fix Overflow exception in the bignum factorial benchmark that is due to
the recent change of the default value for context.Emax.

12 years agoAdd _decimal and _testbuffer modules.
Martin v. Löwis [Sun, 1 Apr 2012 17:55:48 +0000 (19:55 +0200)]
Add _decimal and _testbuffer modules.

12 years agoAdd MASM define to PGI and PGO builds
Martin v. Löwis [Sun, 1 Apr 2012 17:54:33 +0000 (19:54 +0200)]
Add MASM define to PGI and PGO builds

12 years agoIssue #14151: Raise a ValueError, not a NameError, when trying to create
Antoine Pitrou [Sun, 1 Apr 2012 15:25:49 +0000 (17:25 +0200)]
Issue #14151: Raise a ValueError, not a NameError, when trying to create
a multiprocessing Client or Listener with an AF_PIPE type address under
non-Windows platforms.  Patch by Popa Claudiu.

12 years agoIssue #14151: Raise a ValueError, not a NameError, when trying to create
Antoine Pitrou [Sun, 1 Apr 2012 15:19:09 +0000 (17:19 +0200)]
Issue #14151: Raise a ValueError, not a NameError, when trying to create
a multiprocessing Client or Listener with an AF_PIPE type address under
non-Windows platforms.  Patch by Popa Claudiu.

12 years agoRemoving the test of Element that causes ref-leak in GC (issue #14464).
Eli Bendersky [Sun, 1 Apr 2012 14:40:17 +0000 (17:40 +0300)]
Removing the test of Element that causes ref-leak in GC (issue #14464).

I will now continue investigating the cause of the ref-leak, but I wanted
to remove the test so that the refcount test in the buildbots could be clean.
The whole change (adding GC to Element) is not reverted because it improved
the situation (GC works for immediate cycles) and didn't cause regressions
(the test is new and was added together with the fix).

12 years agoIssue #13019: Fix potential reference leaks in bytearray.extend().
Antoine Pitrou [Sun, 1 Apr 2012 14:08:11 +0000 (16:08 +0200)]
Issue #13019: Fix potential reference leaks in bytearray.extend().
Patch by Suman Saha.

12 years agoIssue #13019: Fix potential reference leaks in bytearray.extend().
Antoine Pitrou [Sun, 1 Apr 2012 14:05:46 +0000 (16:05 +0200)]
Issue #13019: Fix potential reference leaks in bytearray.extend().
Patch by Suman Saha.

12 years agoAdded tag v3.3.0a2 for changeset 2f69db52d6de
Georg Brandl [Sun, 1 Apr 2012 11:49:38 +0000 (13:49 +0200)]
Added tag v3.3.0a2 for changeset 2f69db52d6de

12 years agoBump to 3.3.0a2. v3.3.0a2
Georg Brandl [Sun, 1 Apr 2012 11:49:21 +0000 (13:49 +0200)]
Bump to 3.3.0a2.

12 years agoFix markup errors found by "make suspicious".
Georg Brandl [Sun, 1 Apr 2012 11:48:26 +0000 (13:48 +0200)]
Fix markup errors found by "make suspicious".

12 years agoUpdate pydoc topics.
Georg Brandl [Sun, 1 Apr 2012 11:46:44 +0000 (13:46 +0200)]
Update pydoc topics.

12 years agoRemove parens around link.
Georg Brandl [Sun, 1 Apr 2012 11:10:58 +0000 (13:10 +0200)]
Remove parens around link.

12 years agoIssue #14394: Use elaborate phrases that boil down to "one to two orders
Stefan Krah [Sun, 1 Apr 2012 11:07:24 +0000 (13:07 +0200)]
Issue #14394: Use elaborate phrases that boil down to "one to two orders
of magnitude". Provide link to the benchmarks.

12 years agoIssue #14463: Prevent _decimal.so compile failures in OS X installer builds.
Ned Deily [Sun, 1 Apr 2012 09:30:46 +0000 (02:30 -0700)]
Issue #14463: Prevent _decimal.so compile failures in OS X installer builds.

12 years agoIssue #13507: OS X installer builds now build liblzma for the new
Ned Deily [Sun, 1 Apr 2012 07:17:33 +0000 (00:17 -0700)]
Issue #13507: OS X installer builds now build liblzma for the new
lzma module.  (Patch by Nicholas Riley)

12 years agomerge with 3.2
Sandro Tosi [Sat, 31 Mar 2012 23:50:22 +0000 (01:50 +0200)]
merge with 3.2

12 years agofix typo; thanks to Robert Bardos from docs@
Sandro Tosi [Sat, 31 Mar 2012 23:50:00 +0000 (01:50 +0200)]
fix typo; thanks to Robert Bardos from docs@

12 years agoIssue #14300: Under Windows, sockets created using socket.dup() now allow overlapped...
Antoine Pitrou [Sat, 31 Mar 2012 23:14:39 +0000 (01:14 +0200)]
Issue #14300: Under Windows, sockets created using socket.dup() now allow overlapped I/O.
Patch by sbt.

12 years agoIssue #13872: socket.detach() now marks the socket closed (as mirrored in the socket...
Antoine Pitrou [Sat, 31 Mar 2012 23:00:55 +0000 (01:00 +0200)]
Issue #13872: socket.detach() now marks the socket closed (as mirrored in the socket repr()).
Patch by Matt Joiner.

12 years agoIssue #13872: socket.detach() now marks the socket closed (as mirrored in the socket...
Antoine Pitrou [Sat, 31 Mar 2012 23:00:17 +0000 (01:00 +0200)]
Issue #13872: socket.detach() now marks the socket closed (as mirrored in the socket repr()).
Patch by Matt Joiner.

12 years agoNull merge
Antoine Pitrou [Sat, 31 Mar 2012 21:51:25 +0000 (23:51 +0200)]
Null merge

12 years agoIssue #14437: Fix building the _io module under Cygwin.
Antoine Pitrou [Sat, 31 Mar 2012 21:50:31 +0000 (23:50 +0200)]
Issue #14437: Fix building the _io module under Cygwin.

12 years agoFix formatting
Antoine Pitrou [Sat, 31 Mar 2012 19:09:53 +0000 (21:09 +0200)]
Fix formatting

12 years agoIssue #14456: improve documentation of the signal module w.r.t. threads.
Antoine Pitrou [Sat, 31 Mar 2012 19:09:00 +0000 (21:09 +0200)]
Issue #14456: improve documentation of the signal module w.r.t. threads.

12 years agoIssue #14456: improve documentation of the signal module w.r.t. threads.
Antoine Pitrou [Sat, 31 Mar 2012 18:56:21 +0000 (20:56 +0200)]
Issue #14456: improve documentation of the signal module w.r.t. threads.

12 years agoIssue #14406: Fix a race condition when using `concurrent.futures.wait(return_when...
Antoine Pitrou [Sat, 31 Mar 2012 18:25:22 +0000 (20:25 +0200)]
Issue #14406: Fix a race condition when using `concurrent.futures.wait(return_when=ALL_COMPLETED)`.
Patch by Matt Joiner.

12 years agoIssue #14406: Fix a race condition when using `concurrent.futures.wait(return_when...
Antoine Pitrou [Sat, 31 Mar 2012 18:23:30 +0000 (20:23 +0200)]
Issue #14406: Fix a race condition when using `concurrent.futures.wait(return_when=ALL_COMPLETED)`.
Patch by Matt Joiner.

12 years agomerge heads
Sandro Tosi [Sat, 31 Mar 2012 16:46:45 +0000 (18:46 +0200)]
merge heads

12 years agomerge heads
Sandro Tosi [Sat, 31 Mar 2012 16:44:18 +0000 (18:44 +0200)]
merge heads

12 years agofix typo
Andrew Svetlov [Sat, 31 Mar 2012 16:44:18 +0000 (19:44 +0300)]
fix typo

12 years agofix issue #5136: deprecate old unused functions from tkinter.
Andrew Svetlov [Sat, 31 Mar 2012 16:36:39 +0000 (19:36 +0300)]
fix issue #5136: deprecate old unused functions from tkinter.
These functions are not documnted, so no documentation update.

12 years agomerge with 3.2
Sandro Tosi [Sat, 31 Mar 2012 16:35:16 +0000 (18:35 +0200)]
merge with 3.2

12 years agouse unittest.skip; thanks to Chang Min Jeon from docs@
Sandro Tosi [Sat, 31 Mar 2012 16:34:59 +0000 (18:34 +0200)]
use unittest.skip; thanks to Chang Min Jeon from docs@

12 years agoMerge #14434: make tutorial link in 'help' banner version-specific
R David Murray [Sat, 31 Mar 2012 16:08:59 +0000 (12:08 -0400)]
Merge #14434: make tutorial link in 'help' banner version-specific

Without this fix, both 2.7 and 3.x would always point to the "current"
docs...which means that before this fix python 3.2 'help' pointed to the 2.7
tutorial.

12 years ago#14434: make tutorial link in 'help' banner version-specific
R David Murray [Sat, 31 Mar 2012 16:06:35 +0000 (12:06 -0400)]
#14434: make tutorial link in 'help' banner version-specific

Without this fix, both 2.7 and 3.x would always point to the "current"
docs...which means that before this fix python 3.2 'help' pointed to the 2.7
tutorial.

12 years agomerge with 3.2
Sandro Tosi [Sat, 31 Mar 2012 15:44:33 +0000 (17:44 +0200)]
merge with 3.2

12 years agoadd 'safari' to webbrowser browsers table; thanks to Jonathan Eunice from docs@
Sandro Tosi [Sat, 31 Mar 2012 15:23:10 +0000 (17:23 +0200)]
add 'safari' to webbrowser browsers table; thanks to Jonathan Eunice from docs@

12 years agoFix warning when compiling socketmodule.c with VS2010
Kristján Valur Jónsson [Sat, 31 Mar 2012 13:35:00 +0000 (13:35 +0000)]
Fix warning when compiling socketmodule.c with VS2010
VS2010 defineds the old errno constants in addition to the WSA* ones.

12 years agoIssue #14435: Add Misc/NEWS and Misc/ACKS
Kristján Valur Jónsson [Sat, 31 Mar 2012 13:08:11 +0000 (13:08 +0000)]
Issue #14435: Add Misc/NEWS and Misc/ACKS

12 years agoissue #3035: update PendingDeprecationWarning to DeprectionWarning, point deprecation...
Andrew Svetlov [Sat, 31 Mar 2012 11:55:55 +0000 (14:55 +0300)]
issue #3035: update PendingDeprecationWarning to DeprectionWarning, point deprecation in tkinter doc

12 years agoMerge from 3.2
Andrew Svetlov [Sat, 31 Mar 2012 11:20:19 +0000 (14:20 +0300)]
Merge from 3.2

12 years agoupdate NEWS as Terry Reedy proposed
Andrew Svetlov [Sat, 31 Mar 2012 11:10:10 +0000 (14:10 +0300)]
update NEWS as Terry Reedy proposed

12 years agoFix the tests of GC collection in ET.Element according to Benjamin's recommendations
Eli Bendersky [Sat, 31 Mar 2012 10:55:38 +0000 (13:55 +0300)]
Fix the tests of GC collection in ET.Element according to Benjamin's recommendations

12 years agoFix-up a comment
Raymond Hettinger [Sat, 31 Mar 2012 09:19:06 +0000 (02:19 -0700)]
Fix-up a comment

12 years agoFix-up comments and add a sentinel variable for clarity.
Raymond Hettinger [Sat, 31 Mar 2012 04:50:40 +0000 (21:50 -0700)]
Fix-up comments and add a sentinel variable for clarity.

12 years agoNo need to create and destroy links when updating a fixed-sized circular queue.
Raymond Hettinger [Sat, 31 Mar 2012 02:15:18 +0000 (19:15 -0700)]
No need to create and destroy links when updating a fixed-sized circular queue.

12 years agoMerge #10423: clarify options vs args in argparse discussion of optparse
R David Murray [Fri, 30 Mar 2012 22:08:29 +0000 (18:08 -0400)]
Merge #10423: clarify options vs args in argparse discussion of optparse

Patch by Sandro Tosi.

12 years ago#10423: clarify options vs args in argparse discussion of optparse
R David Murray [Fri, 30 Mar 2012 22:07:42 +0000 (18:07 -0400)]
#10423: clarify options vs args in argparse discussion of optparse

Patch by Sandro Tosi.

12 years agoMinor cleanup: add whitespace, add comments, bring function attribute updates together.
Raymond Hettinger [Fri, 30 Mar 2012 20:15:48 +0000 (13:15 -0700)]
Minor cleanup: add whitespace, add comments, bring function attribute updates together.

12 years agoIssue #14065: Added cyclic GC support to ET.Element
Eli Bendersky [Fri, 30 Mar 2012 13:38:33 +0000 (16:38 +0300)]
Issue #14065: Added cyclic GC support to ET.Element

12 years agoMerge.
Stefan Krah [Fri, 30 Mar 2012 12:19:21 +0000 (14:19 +0200)]
Merge.

12 years agoUse abort() rather than exit() to appease tools like rpmlint. abort() is used
Stefan Krah [Fri, 30 Mar 2012 12:12:20 +0000 (14:12 +0200)]
Use abort() rather than exit() to appease tools like rpmlint. abort() is used
in libmpdec to prevent undefined behavior if an invalid context is used. This
cannot occur for the _decimal module since user input for the context is
validated.

12 years agoIssue #14435: Remove special block allocation code from floatobject.c
Kristján Valur Jónsson [Fri, 30 Mar 2012 09:18:15 +0000 (09:18 +0000)]
Issue #14435: Remove special block allocation code from floatobject.c
PyFloatObjects are now allocated using PyObject_MALLOC like all other
internal types, but maintain a limited freelist of objects at hand for
performance.  This will result in more consistent memory usage by Python.

12 years agoIssue #14006: improve the documentation of xml.etree.ElementTree
Eli Bendersky [Fri, 30 Mar 2012 08:44:15 +0000 (11:44 +0300)]
Issue #14006: improve the documentation of xml.etree.ElementTree

Removed the useless explanation of the Element data structure that started the
documentation page. Instead, the documentation now starts with a brief tutorial
skimming some of the capabilities of the module. The tutorial can be followed
by additional topic-specific sections (such as XPath support), and eventually
by a reference that goes over the module's classes and functions, as usual.

12 years agofix typo in glossary
Eli Bendersky [Fri, 30 Mar 2012 08:02:05 +0000 (11:02 +0300)]
fix typo in glossary

12 years agoAdded the "provisional package" glossary term from PEP 411
Eli Bendersky [Fri, 30 Mar 2012 07:52:25 +0000 (10:52 +0300)]
Added the "provisional package" glossary term from PEP 411

12 years agoCloses #14436: merged fix from 3.2.
Vinay Sajip [Thu, 29 Mar 2012 19:18:21 +0000 (20:18 +0100)]
Closes #14436: merged fix from 3.2.

12 years agoCloses #14436: Convert msg + args to string before pickling.
Vinay Sajip [Thu, 29 Mar 2012 19:17:18 +0000 (20:17 +0100)]
Closes #14436: Convert msg + args to string before pickling.

12 years agoMerge with 3.2
Andrew Svetlov [Thu, 29 Mar 2012 16:50:46 +0000 (19:50 +0300)]
Merge with 3.2