]> granicus.if.org Git - python/log
python
11 years agoMerge 3.4.0a3 release changes.
Larry Hastings [Mon, 30 Sep 2013 00:13:32 +0000 (01:13 +0100)]
Merge 3.4.0a3 release changes.

11 years agoPost-version release cleanup.
Larry Hastings [Mon, 30 Sep 2013 00:09:55 +0000 (01:09 +0100)]
Post-version release cleanup.

11 years agoIssue #5845: In site.py, only load readline history from ~/.python_history if no...
Antoine Pitrou [Sun, 29 Sep 2013 20:18:38 +0000 (22:18 +0200)]
Issue #5845: In site.py, only load readline history from ~/.python_history if no history has been read already.  This avoids double writes to the history file at shutdown.

11 years agorename some more tests to avoid duplicate names (#19123)
Benjamin Peterson [Sun, 29 Sep 2013 19:18:43 +0000 (15:18 -0400)]
rename some more tests to avoid duplicate names (#19123)

11 years agomerge heads
Benjamin Peterson [Sun, 29 Sep 2013 19:00:35 +0000 (15:00 -0400)]
merge heads

11 years agomerge 3.3
Benjamin Peterson [Sun, 29 Sep 2013 18:59:19 +0000 (14:59 -0400)]
merge 3.3

11 years agomerge heads
Benjamin Peterson [Sun, 29 Sep 2013 18:56:10 +0000 (14:56 -0400)]
merge heads

11 years agomerge 3.3
Benjamin Peterson [Sun, 29 Sep 2013 18:49:26 +0000 (14:49 -0400)]
merge 3.3

11 years agoremove unused imports
Benjamin Peterson [Sun, 29 Sep 2013 18:49:17 +0000 (14:49 -0400)]
remove unused imports

11 years agoIssue #19128: Remove nonfunctional, unused Mac help indexing tool from repo.
Ned Deily [Sun, 29 Sep 2013 18:46:50 +0000 (11:46 -0700)]
Issue #19128: Remove nonfunctional, unused Mac help indexing tool from repo.

11 years agoProperly initialize all fields of a SSL object after allocation.
Antoine Pitrou [Sun, 29 Sep 2013 17:53:45 +0000 (19:53 +0200)]
Properly initialize all fields of a SSL object after allocation.

11 years agoProperly initialize all fields of a SSL object after allocation.
Antoine Pitrou [Sun, 29 Sep 2013 17:52:45 +0000 (19:52 +0200)]
Properly initialize all fields of a SSL object after allocation.

11 years agoIssue #19095: SSLSocket.getpeercert() now raises ValueError when the SSL handshake...
Antoine Pitrou [Sun, 29 Sep 2013 17:50:53 +0000 (19:50 +0200)]
Issue #19095: SSLSocket.getpeercert() now raises ValueError when the SSL handshake hasn't been done.

11 years agoIssue #19130: mention historic VS 2008 build dir, too
Christian Heimes [Sun, 29 Sep 2013 17:10:18 +0000 (19:10 +0200)]
Issue #19130: mention historic VS 2008 build dir, too

11 years agoIssue #19130: mention historic VS 2008 build dir, too
Christian Heimes [Sun, 29 Sep 2013 17:10:07 +0000 (19:10 +0200)]
Issue #19130: mention historic VS 2008 build dir, too

11 years agoIssue #19130: Correct PCbuild/readme.txt, Python 3.3 and 3.4 require VS 2010
Christian Heimes [Sun, 29 Sep 2013 17:05:23 +0000 (19:05 +0200)]
Issue #19130: Correct PCbuild/readme.txt, Python 3.3 and 3.4 require VS 2010

11 years agoIssue #19130: Correct PCbuild/readme.txt, Python 3.3 and 3.4 require VS 2010
Christian Heimes [Sun, 29 Sep 2013 17:02:35 +0000 (19:02 +0200)]
Issue #19130: Correct PCbuild/readme.txt, Python 3.3 and 3.4 require VS 2010

11 years agoMerge.
Richard Oudkerk [Sun, 29 Sep 2013 16:33:04 +0000 (17:33 +0100)]
Merge.

11 years agoIssue #19112: avoid using function defined in method.
Richard Oudkerk [Sun, 29 Sep 2013 16:29:56 +0000 (17:29 +0100)]
Issue #19112: avoid using function defined in method.

11 years agomerge 3.3 (#19127)
Benjamin Peterson [Sun, 29 Sep 2013 15:15:49 +0000 (11:15 -0400)]
merge 3.3 (#19127)

11 years agoremove duplicate method (closes #19127)
Benjamin Peterson [Sun, 29 Sep 2013 15:15:31 +0000 (11:15 -0400)]
remove duplicate method (closes #19127)

11 years agomerge 3.3 (#19114)
Benjamin Peterson [Sun, 29 Sep 2013 15:13:50 +0000 (11:13 -0400)]
merge 3.3 (#19114)

11 years agocondense two tests with the same name (closes #19114)
Benjamin Peterson [Sun, 29 Sep 2013 15:13:27 +0000 (11:13 -0400)]
condense two tests with the same name (closes #19114)

11 years agomerge 3.3 (#19112)
Benjamin Peterson [Sun, 29 Sep 2013 15:11:10 +0000 (11:11 -0400)]
merge 3.3 (#19112)

11 years agomove helper function into its test method (closes #19112)
Benjamin Peterson [Sun, 29 Sep 2013 15:08:04 +0000 (11:08 -0400)]
move helper function into its test method (closes #19112)

11 years agomerge 3.3 (#19117)
Benjamin Peterson [Sun, 29 Sep 2013 14:53:59 +0000 (10:53 -0400)]
merge 3.3 (#19117)

11 years agofix duplicate test names in test_dis (closes #19117)
Benjamin Peterson [Sun, 29 Sep 2013 14:53:49 +0000 (10:53 -0400)]
fix duplicate test names in test_dis (closes #19117)

11 years agomerge 3.3 (#19118)
Benjamin Peterson [Sun, 29 Sep 2013 14:51:08 +0000 (10:51 -0400)]
merge 3.3 (#19118)

11 years agoremove duplicate test_mkd (closes #19118)
Benjamin Peterson [Sun, 29 Sep 2013 14:51:00 +0000 (10:51 -0400)]
remove duplicate test_mkd (closes #19118)

11 years agomerge 3.3 (#19116)
Benjamin Peterson [Sun, 29 Sep 2013 14:50:24 +0000 (10:50 -0400)]
merge 3.3 (#19116)

11 years agocombine two tests to avoid duplicate names (closes #19116)
Benjamin Peterson [Sun, 29 Sep 2013 14:50:15 +0000 (10:50 -0400)]
combine two tests to avoid duplicate names (closes #19116)

11 years agomerge 3.3 (#19126)
Benjamin Peterson [Sun, 29 Sep 2013 14:48:39 +0000 (10:48 -0400)]
merge 3.3 (#19126)

11 years agofix duplicate test name (closes #19126)
Benjamin Peterson [Sun, 29 Sep 2013 14:48:19 +0000 (10:48 -0400)]
fix duplicate test name (closes #19126)

11 years agomerge 3.3 (#19125)
Benjamin Peterson [Sun, 29 Sep 2013 14:47:04 +0000 (10:47 -0400)]
merge 3.3 (#19125)

11 years agofix test to run and test that smtpd does support ELHO (closes #19125)
Benjamin Peterson [Sun, 29 Sep 2013 14:46:31 +0000 (10:46 -0400)]
fix test to run and test that smtpd does support ELHO (closes #19125)

11 years agodelete duplicate test (closes #19123)
Benjamin Peterson [Sun, 29 Sep 2013 14:39:51 +0000 (10:39 -0400)]
delete duplicate test (closes #19123)

11 years agomerge 3.3 (#19122)
Benjamin Peterson [Sun, 29 Sep 2013 14:02:28 +0000 (10:02 -0400)]
merge 3.3 (#19122)

11 years agoremove duplicate test from test_import (closes #19122)
Benjamin Peterson [Sun, 29 Sep 2013 14:01:40 +0000 (10:01 -0400)]
remove duplicate test from test_import (closes #19122)

11 years agoIssue #4366: Fix building extensions on all platforms when --enable-shared is used.
Antoine Pitrou [Sat, 28 Sep 2013 23:49:07 +0000 (01:49 +0200)]
Issue #4366: Fix building extensions on all platforms when --enable-shared is used.

11 years agoIssue #4366: Fix building extensions on all platforms when --enable-shared is used.
Antoine Pitrou [Sat, 28 Sep 2013 23:48:40 +0000 (01:48 +0200)]
Issue #4366: Fix building extensions on all platforms when --enable-shared is used.

11 years agoAdded tag v3.4.0a3 for changeset dd9cdf90a507
Larry Hastings [Sat, 28 Sep 2013 22:51:14 +0000 (23:51 +0100)]
Added tag v3.4.0a3 for changeset dd9cdf90a507

11 years agoVersion bump to 3.4.0a3. v3.4.0a3
Larry Hastings [Sat, 28 Sep 2013 22:51:00 +0000 (23:51 +0100)]
Version bump to 3.4.0a3.

11 years agoUpdated pydoc topics.py for 3.4a3 release.
Larry Hastings [Sat, 28 Sep 2013 22:43:34 +0000 (23:43 +0100)]
Updated pydoc topics.py for 3.4a3 release.

11 years agomerge 3.3 (#19115)
Benjamin Peterson [Sat, 28 Sep 2013 19:13:10 +0000 (15:13 -0400)]
merge 3.3 (#19115)

11 years agofix duplicate test names (closes #19115)
Benjamin Peterson [Sat, 28 Sep 2013 19:12:37 +0000 (15:12 -0400)]
fix duplicate test names (closes #19115)

Patch by Xavier de Gaye.

11 years agoIssue #18950: Fix miscellaneous bugs in the sunau module.
Serhiy Storchaka [Sat, 28 Sep 2013 18:24:43 +0000 (21:24 +0300)]
Issue #18950: Fix miscellaneous bugs in the sunau module.

Au_read.readframes() now updates current file position and reads correct
number of frames from multichannel stream.  Au_write.writeframesraw() now
correctly updates current file position.  Au_read.getnframes() now returns an
integer (as in Python 2).  Au_read and Au_write now correctly works with file
object if start file position is not a zero.

11 years agoIssue #18950: Fix miscellaneous bugs in the sunau module.
Serhiy Storchaka [Sat, 28 Sep 2013 18:21:39 +0000 (21:21 +0300)]
Issue #18950: Fix miscellaneous bugs in the sunau module.

Au_read.readframes() now updates current file position and reads correct
number of frames from multichannel stream.  Au_write.writeframesraw() now
correctly updates current file position.  Au_read.getnframes() now returns an
integer (as in Python 2).  Au_read and Au_write now correctly works with file
object if start file position is not a zero.

11 years agoClose #18596: Support address sanity checking in clang/GCC
Nick Coghlan [Sat, 28 Sep 2013 14:28:55 +0000 (00:28 +1000)]
Close #18596: Support address sanity checking in clang/GCC

This patch appropriately marks known false alarms in the
small object allocator when address sanity checking is
enabled (patch contributed by Dhiru Kholia).

11 years agoClose #18990: remove root attribute from XMLPullParser
Nick Coghlan [Sat, 28 Sep 2013 13:50:35 +0000 (23:50 +1000)]
Close #18990: remove root attribute from XMLPullParser

- this was an internal implementation detail for iterparse
- this has been changed to use a new private method instead
- XMLPullParser.close docs are now more explicit about not
  returning a root element and instead direct users towards
  read_events
- also added missing docstrings and clarified some details
  related to exactly *when* events are consumed from the
  internal queue

(Initial patch by Stefan Behnel)

11 years agoIssue19030: fixed comment that was still referring to a changed descriptor.
Ethan Furman [Sat, 28 Sep 2013 06:02:02 +0000 (23:02 -0700)]
Issue19030: fixed comment that was still referring to a changed descriptor.

11 years agoClose #19011: Add documentation on some of the non-standard Enum behavior.
Ethan Furman [Sat, 28 Sep 2013 05:58:06 +0000 (22:58 -0700)]
Close #19011:  Add documentation on some of the non-standard Enum behavior.

Issues such as iterating and containment on Enum classes, why Enum member
instances do not show up on other Enum members, and how __new__ should
be used.

11 years agoIssue #19053: ZipExtFile.read1() with non-zero argument no more returns empty
Serhiy Storchaka [Fri, 27 Sep 2013 19:14:31 +0000 (22:14 +0300)]
Issue #19053: ZipExtFile.read1() with non-zero argument no more returns empty
bytes until end of data.

11 years agoIssue #19053: ZipExtFile.read1() with non-zero argument no more returns empty
Serhiy Storchaka [Fri, 27 Sep 2013 19:11:57 +0000 (22:11 +0300)]
Issue #19053: ZipExtFile.read1() with non-zero argument no more returns empty
bytes until end of data.

11 years agoUpdated test_logging so that errors don't occur in the absence of threading.
Vinay Sajip [Fri, 27 Sep 2013 18:08:24 +0000 (19:08 +0100)]
Updated test_logging so that errors don't occur in the absence of threading.

11 years agoStreamlined logging tests by moving common code to a helper function.
Vinay Sajip [Fri, 27 Sep 2013 17:41:12 +0000 (18:41 +0100)]
Streamlined logging tests by moving common code to a helper function.

11 years agologging: added support for Unix domain sockets to SocketHandler and DatagramHandler.
Vinay Sajip [Fri, 27 Sep 2013 17:18:28 +0000 (18:18 +0100)]
logging: added support for Unix domain sockets to SocketHandler and DatagramHandler.

11 years agoFix .hgtouch to list the dependencies for auto-generated AST code correctly.
Eli Bendersky [Fri, 27 Sep 2013 15:48:19 +0000 (08:48 -0700)]
Fix .hgtouch to list the dependencies for auto-generated AST code correctly.

Issue #19016

11 years agomerge 3.3
Benjamin Peterson [Fri, 27 Sep 2013 13:11:31 +0000 (09:11 -0400)]
merge 3.3

11 years agolet this work with system Python 2.5
Benjamin Peterson [Fri, 27 Sep 2013 13:11:21 +0000 (09:11 -0400)]
let this work with system Python 2.5

11 years agomerge 3.3
Benjamin Peterson [Fri, 27 Sep 2013 03:43:11 +0000 (23:43 -0400)]
merge 3.3

11 years agofix my absurd spelling
Benjamin Peterson [Fri, 27 Sep 2013 03:42:53 +0000 (23:42 -0400)]
fix my absurd spelling

11 years agomerge 3.3 (#19098)
Benjamin Peterson [Fri, 27 Sep 2013 02:21:41 +0000 (22:21 -0400)]
merge 3.3 (#19098)

11 years agodon't scale compiler stack frames if the recursion limit is huge (closes #19098)
Benjamin Peterson [Fri, 27 Sep 2013 02:17:45 +0000 (22:17 -0400)]
don't scale compiler stack frames if the recursion limit is huge (closes #19098)

11 years agoMove open outside try/finally
Eli Bendersky [Thu, 26 Sep 2013 16:35:39 +0000 (09:35 -0700)]
Move open outside try/finally

11 years agoDon't use fancy new Python features like 'with' - some bots don't have them
Eli Bendersky [Thu, 26 Sep 2013 13:41:36 +0000 (06:41 -0700)]
Don't use fancy new Python features like 'with' - some bots don't have them
and can't bootstrap the parser.

11 years agoNormalize whitespace
Eli Bendersky [Thu, 26 Sep 2013 13:32:22 +0000 (06:32 -0700)]
Normalize whitespace

11 years agoSmall fixes in Parser/asdl.py - no change in functionality.
Eli Bendersky [Thu, 26 Sep 2013 13:31:32 +0000 (06:31 -0700)]
Small fixes in Parser/asdl.py - no change in functionality.

1. Make it work when invoked directly from the command-line. It was failing
   due to a couple of stale function/class usages in the __main__ section.
2. Close the parsed file in the parse() function after opening it.

11 years agoClose #19030: improvements to inspect and Enum.
Ethan Furman [Wed, 25 Sep 2013 14:14:41 +0000 (07:14 -0700)]
Close #19030: improvements to inspect and Enum.

inspect.getmembers and inspect.classify_class_attrs now search the metaclass
mro for types.DynamicClassAttributes (what use to be called
enum._RouteClassAttributeToGetattr); in part this means that these two
functions no longer rely solely on dir().

Besides now returning more accurate information, these improvements also
allow a more helpful help() on Enum classes.

11 years agoFix minor typo.
Georg Brandl [Wed, 25 Sep 2013 07:04:23 +0000 (09:04 +0200)]
Fix minor typo.

11 years agoNull merge (tkinter.Tkapp.merge() was removed in 3.4).
Serhiy Storchaka [Mon, 23 Sep 2013 20:24:38 +0000 (23:24 +0300)]
Null merge (tkinter.Tkapp.merge() was removed in 3.4).

11 years agoIssue #19028: Fixed tkinter.Tkapp.merge() for non-string arguments.
Serhiy Storchaka [Mon, 23 Sep 2013 20:20:07 +0000 (23:20 +0300)]
Issue #19028: Fixed tkinter.Tkapp.merge() for non-string arguments.

11 years agoIssue #18996: TestCase.assertEqual() now more cleverly shorten differing
Serhiy Storchaka [Mon, 23 Sep 2013 20:07:00 +0000 (23:07 +0300)]
Issue #18996: TestCase.assertEqual() now more cleverly shorten differing
strings in error report.

11 years agoIssue #19034: repr() for tkinter.Tcl_Obj now exposes string reperesentation.
Serhiy Storchaka [Mon, 23 Sep 2013 19:49:02 +0000 (22:49 +0300)]
Issue #19034: repr() for tkinter.Tcl_Obj now exposes string reperesentation.

11 years agoClose #19025: Better error message when trying to delete an Enum member.
Ethan Furman [Sun, 22 Sep 2013 23:18:19 +0000 (16:18 -0700)]
Close #19025: Better error message when trying to delete an Enum member.

Also slight code reorg for PEP 8 guidelines.

11 years agoIssue #18978: Update docs to reflect explicitly the ability to set the attribute...
Jason R. Coombs [Sun, 22 Sep 2013 13:33:45 +0000 (09:33 -0400)]
Issue #18978: Update docs to reflect explicitly the ability to set the attribute at the class level.

11 years agoClose #18978: Merge changes.
Jason R. Coombs [Sun, 22 Sep 2013 14:06:24 +0000 (10:06 -0400)]
Close #18978: Merge changes.

11 years agoUpdate NEWS
Jason R. Coombs [Sun, 22 Sep 2013 13:40:06 +0000 (09:40 -0400)]
Update NEWS

11 years agoClose #18626: add a basic CLI for the inspect module
Nick Coghlan [Sun, 22 Sep 2013 12:46:49 +0000 (22:46 +1000)]
Close #18626: add a basic CLI for the inspect module

11 years agoAvoid inconsistent use of 'finalizer'
Nick Coghlan [Sun, 22 Sep 2013 11:32:12 +0000 (21:32 +1000)]
Avoid inconsistent use of 'finalizer'

11 years agoClose #19047: weakref doc cleanups
Nick Coghlan [Sun, 22 Sep 2013 11:26:30 +0000 (21:26 +1000)]
Close #19047: weakref doc cleanups

- be clear finalizers survive automatically
- update for PEP 442 __del__ changes
- mention module cleanup changes and weakref.finalize in What's New

11 years agomerge with 3.3
Georg Brandl [Sun, 22 Sep 2013 09:46:51 +0000 (11:46 +0200)]
merge with 3.3

11 years agoCloses #19043: remove detailed listing of versions from license files
Georg Brandl [Sun, 22 Sep 2013 09:45:52 +0000 (11:45 +0200)]
Closes #19043: remove detailed listing of versions from license files

Since all versions since 2.2 are under the same licensing terms,
this saves the release manager from touching the two files for
very new minor release.

11 years agoMerge from 3.3
Nick Coghlan [Sun, 22 Sep 2013 09:38:44 +0000 (19:38 +1000)]
Merge from 3.3

11 years agoFix comment in test_gdb
Nick Coghlan [Sun, 22 Sep 2013 09:38:16 +0000 (19:38 +1000)]
Fix comment in test_gdb

11 years agoNote that LINEAR_PROBES can be set to zero.
Raymond Hettinger [Sun, 22 Sep 2013 03:17:31 +0000 (20:17 -0700)]
Note that LINEAR_PROBES can be set to zero.

11 years agoMinor beautification. Put updates and declarations in a more logical order.
Raymond Hettinger [Sat, 21 Sep 2013 22:39:49 +0000 (15:39 -0700)]
Minor beautification.  Put updates and declarations in a more logical order.

11 years agotest_gdb: skip pretty-printing of sets with gdb < 7.3
Antoine Pitrou [Sat, 21 Sep 2013 22:14:27 +0000 (00:14 +0200)]
test_gdb: skip pretty-printing of sets with gdb < 7.3
(should fix the failures on OpenIndiana)

11 years agotest_gdb: dump gdb version in verbose mode
Antoine Pitrou [Sat, 21 Sep 2013 21:56:17 +0000 (23:56 +0200)]
test_gdb: dump gdb version in verbose mode

11 years agoWhen LINEAR_PROBES=0, let the compiler remove the dead code on its own.
Raymond Hettinger [Sat, 21 Sep 2013 21:07:18 +0000 (14:07 -0700)]
When LINEAR_PROBES=0, let the compiler remove the dead code on its own.

11 years agoMake the linear probe sequence clearer.
Raymond Hettinger [Sat, 21 Sep 2013 21:02:55 +0000 (14:02 -0700)]
Make the linear probe sequence clearer.

11 years agoMerge heads
Serhiy Storchaka [Fri, 20 Sep 2013 20:28:27 +0000 (23:28 +0300)]
Merge heads

11 years agoIssue #3015: Fixed tkinter with wantobject=False. Any Tcl command call
Serhiy Storchaka [Fri, 20 Sep 2013 20:24:20 +0000 (23:24 +0300)]
Issue #3015: Fixed tkinter with wantobject=False.  Any Tcl command call
returned empty string.

11 years agoIssue #3015: Fixed tkinter with wantobject=False. Any Tcl command call
Serhiy Storchaka [Fri, 20 Sep 2013 20:21:44 +0000 (23:21 +0300)]
Issue #3015: Fixed tkinter with wantobject=False.  Any Tcl command call
returned empty string.

11 years agoAdd a comment making it explicit that itertools.tee() is already 64bit-safe (issue...
Antoine Pitrou [Fri, 20 Sep 2013 20:19:22 +0000 (22:19 +0200)]
Add a comment making it explicit that itertools.tee() is already 64bit-safe (issue #19049)

11 years agoNull merge
Serhiy Storchaka [Fri, 20 Sep 2013 18:26:56 +0000 (21:26 +0300)]
Null merge

11 years agoIssue #18050: Fixed an incompatibility of the re module with Python 3.3.0
Serhiy Storchaka [Fri, 20 Sep 2013 18:24:39 +0000 (21:24 +0300)]
Issue #18050: Fixed an incompatibility of the re module with Python 3.3.0
binaries.

11 years agoUpdate internal comments to say _something_ about the "API ID".
Tim Peters [Fri, 20 Sep 2013 02:06:37 +0000 (21:06 -0500)]
Update internal comments to say _something_ about the "API ID".

Best I can tell, the possible values for this aren't documented anywhere.

11 years agoCorrecting the mistake in 678e3c0d2d99
Senthil Kumaran [Thu, 19 Sep 2013 07:10:17 +0000 (00:10 -0700)]
Correcting the mistake in 678e3c0d2d99

Merge from 3.3
Addresses Issue #18553: isatty is not Unix only.

11 years agoCorrecting the mistake in 14ba90816930
Senthil Kumaran [Thu, 19 Sep 2013 07:08:56 +0000 (00:08 -0700)]
Correcting the mistake in 14ba90816930

Addresses Issue #18553: isatty is not Unix only.

11 years agoMerge #14984: only import pwd on POSIX.
R David Murray [Wed, 18 Sep 2013 12:59:47 +0000 (08:59 -0400)]
Merge #14984: only import pwd on POSIX.

Since we have fine grained import locks in 3.4, I moved the
import to where it is actually needed.