]> granicus.if.org Git - python/log
python
12 years agoMerge typo fix.
Ezio Melotti [Tue, 16 Oct 2012 18:51:06 +0000 (21:51 +0300)]
Merge typo fix.

12 years agoFix typo.
Ezio Melotti [Tue, 16 Oct 2012 18:50:33 +0000 (21:50 +0300)]
Fix typo.

12 years agoBump autoconf from 2.68 to 2.69.
Trent Nelson [Tue, 16 Oct 2012 15:51:08 +0000 (11:51 -0400)]
Bump autoconf from 2.68 to 2.69.

12 years agoMerge issue #15819: tweak logic in previous commit.
Trent Nelson [Tue, 16 Oct 2012 15:09:31 +0000 (11:09 -0400)]
Merge issue #15819: tweak logic in previous commit.

12 years agoMerge issue #15819: tweak logic in previous commit.
Trent Nelson [Tue, 16 Oct 2012 15:07:31 +0000 (11:07 -0400)]
Merge issue #15819: tweak logic in previous commit.

12 years agoIssue #15819: tweak logic in previous commit (617591e7d708).
Trent Nelson [Tue, 16 Oct 2012 15:04:04 +0000 (11:04 -0400)]
Issue #15819: tweak logic in previous commit (617591e7d708).

12 years agoMerge concurrent.futures dict comp tweak from 3.3
Nick Coghlan [Tue, 16 Oct 2012 13:14:38 +0000 (23:14 +1000)]
Merge concurrent.futures dict comp tweak from 3.3

12 years agoA dict comprehension is much prettier (thanks Antoine)
Nick Coghlan [Tue, 16 Oct 2012 13:14:03 +0000 (23:14 +1000)]
A dict comprehension is much prettier (thanks Antoine)

12 years agoMerge heads.
Trent Nelson [Tue, 16 Oct 2012 12:56:46 +0000 (08:56 -0400)]
Merge heads.

12 years agoMerge heads.
Trent Nelson [Tue, 16 Oct 2012 12:56:41 +0000 (08:56 -0400)]
Merge heads.

12 years agoMerge issue #15819: additional fixes for out-of-tree builds from read-only src.
Trent Nelson [Tue, 16 Oct 2012 12:53:13 +0000 (08:53 -0400)]
Merge issue #15819: additional fixes for out-of-tree builds from read-only src.

Specifically, make sure the 'Object', 'Python' and 'Include' directories
in the build directory take precedence over the source directory if we're
an out-of-tree build.

Fix typeslots.inc so that it gets generated into the build directory.

In addition, for 3.3, make sure importlib.h gets generated into the
build directory.

12 years agoMerge issue #15819: additional fixes for out-of-tree builds from read-only src.
Trent Nelson [Tue, 16 Oct 2012 12:51:24 +0000 (08:51 -0400)]
Merge issue #15819: additional fixes for out-of-tree builds from read-only src.

Specifically, make sure the 'Object', 'Python' and 'Include' directories
in the build directory take precedence over the source directory if we're
an out-of-tree build.

Fix typeslots.inc so that it gets generated into the build directory.

In addition, for 3.3, make sure importlib.h gets generated into the
build directory.

12 years agoMerge concurrent.futures example changes from 3.3
Nick Coghlan [Tue, 16 Oct 2012 12:51:11 +0000 (22:51 +1000)]
Merge concurrent.futures example changes from 3.3

12 years agoTweak the threaded example in concurrent.futures
Nick Coghlan [Tue, 16 Oct 2012 12:50:04 +0000 (22:50 +1000)]
Tweak the threaded example in concurrent.futures

12 years agoIssue #15819: additional fixes for out-of-tree builds from read-only src.
Trent Nelson [Tue, 16 Oct 2012 12:41:32 +0000 (08:41 -0400)]
Issue #15819: additional fixes for out-of-tree builds from read-only src.

Specifically, make sure the 'Object', 'Python' and 'Include' directories
in the build directory take precedence over the source directory if we're
an out-of-tree build.

Fix typeslots.inc so that it gets generated into the build directory.

12 years agoMerge issue #15298: ensure _sysconfigdata is generated in build directory,
Trent Nelson [Tue, 16 Oct 2012 12:17:11 +0000 (08:17 -0400)]
Merge issue #15298: ensure _sysconfigdata is generated in build directory,
not source directory.

Patch by: Richard Oudkerk (sbt).

12 years agoIssue #15298: ensure _sysconfigdata is generated in build directory,
Trent Nelson [Tue, 16 Oct 2012 12:13:12 +0000 (08:13 -0400)]
Issue #15298: ensure _sysconfigdata is generated in build directory,
not source directory.

Patch by Richard Oudkerk (sbt).

12 years agoMerge issue #15833: don't raise an exception if importlib can't write
Trent Nelson [Tue, 16 Oct 2012 12:03:21 +0000 (08:03 -0400)]
Merge issue #15833: don't raise an exception if importlib can't write
byte-compiled files.

This fixes a regression introduced by 3.3.

Patch by Charles-François Natali.

12 years agoMerge heads.
Trent Nelson [Tue, 16 Oct 2012 11:48:34 +0000 (07:48 -0400)]
Merge heads.

12 years agoIssue #15833: don't raise an exception if importlib can't write byte-compiled
Trent Nelson [Tue, 16 Oct 2012 11:47:34 +0000 (07:47 -0400)]
Issue #15833: don't raise an exception if importlib can't write byte-compiled
files.

This fixes a regression introduced by 3.3.  Patch by Charles-François Natali.

12 years agoMerge issue #15936: Reformat text for os.random to follow Larry Hastings suggestion
Andrew Svetlov [Tue, 16 Oct 2012 10:52:53 +0000 (13:52 +0300)]
Merge issue #15936: Reformat text for os.random to follow Larry Hastings suggestion

12 years agoIssue #15936: Reformat text for os.random to follow Larry Hastings suggestion
Andrew Svetlov [Tue, 16 Oct 2012 10:52:25 +0000 (13:52 +0300)]
Issue #15936: Reformat text for os.random to follow Larry Hastings suggestion

12 years agoMerge issue #15936: Add link from os.urandom to random.SystemRandom
Andrew Svetlov [Tue, 16 Oct 2012 10:15:35 +0000 (13:15 +0300)]
Merge issue #15936: Add link from os.urandom to random.SystemRandom

12 years agoIssue #15936: Add link from os.urandom to random.SystemRandom
Andrew Svetlov [Tue, 16 Oct 2012 10:15:06 +0000 (13:15 +0300)]
Issue #15936: Add link from os.urandom to random.SystemRandom

12 years agoCloses #16244: Merged change from 3.3.
Vinay Sajip [Tue, 16 Oct 2012 09:33:30 +0000 (10:33 +0100)]
Closes #16244: Merged change from 3.3.

12 years agoIssue #16244: Merged change from 3.2.
Vinay Sajip [Tue, 16 Oct 2012 09:32:13 +0000 (10:32 +0100)]
Issue #16244: Merged change from 3.2.

12 years agoIssue #16244: Remove file mode overrides.
Vinay Sajip [Tue, 16 Oct 2012 09:28:31 +0000 (10:28 +0100)]
Issue #16244: Remove file mode overrides.

12 years agoIssue #16225: Merge from 3.3: Add additional note to tutorial about looping.
Chris Jerdonek [Tue, 16 Oct 2012 02:47:32 +0000 (19:47 -0700)]
Issue #16225: Merge from 3.3: Add additional note to tutorial about looping.

12 years agoIssue #16225: Merge from 3.2: Add additional note to tutorial about looping.
Chris Jerdonek [Tue, 16 Oct 2012 02:46:34 +0000 (19:46 -0700)]
Issue #16225: Merge from 3.2: Add additional note to tutorial about looping.

12 years agoIssue #16225: Add additional note to tutorial about changing sequence while looping.
Chris Jerdonek [Tue, 16 Oct 2012 02:44:47 +0000 (19:44 -0700)]
Issue #16225: Add additional note to tutorial about changing sequence while looping.

12 years agologging's SocketHandler: get rid of some legacy code and use the newer socket.create_...
Giampaolo Rodola' [Mon, 15 Oct 2012 14:57:37 +0000 (16:57 +0200)]
logging's SocketHandler: get rid of some legacy code and use the newer socket.create_connection() utility function

12 years agoIssue #16234: Modify sha3's block_size method to return NotImplemented.
Christian Heimes [Sun, 14 Oct 2012 20:16:27 +0000 (22:16 +0200)]
Issue #16234: Modify sha3's block_size method to return NotImplemented.
This makes the sha3 types unusable from the hmac module. HMAC-SHA3 hasn't been specified yet.

12 years agoIssue #15721: make _tkinter module pep384 compatible.
Andrew Svetlov [Sun, 14 Oct 2012 13:54:35 +0000 (16:54 +0300)]
Issue #15721: make _tkinter module pep384 compatible.

12 years agoUpdate comment: SPARC requires proper alignment
Christian Heimes [Sun, 14 Oct 2012 12:36:09 +0000 (14:36 +0200)]
Update comment: SPARC requires proper alignment

12 years agoget 64bit platforms without uint64 right again
Christian Heimes [Sun, 14 Oct 2012 02:17:50 +0000 (04:17 +0200)]
get 64bit platforms without uint64 right again

12 years agomerge
Christian Heimes [Sun, 14 Oct 2012 00:53:40 +0000 (02:53 +0200)]
merge

12 years agoForce 32bit Keccak implementation on SPARC. It look like the Solaris CC compiler...
Christian Heimes [Sun, 14 Oct 2012 00:52:01 +0000 (02:52 +0200)]
Force 32bit Keccak implementation on SPARC. It look like the Solaris CC compiler doesn't like the address alignment.

12 years agoClean up some warnings in test suite output.
Nadeem Vawda [Sat, 13 Oct 2012 23:42:32 +0000 (01:42 +0200)]
Clean up some warnings in test suite output.

12 years agoKeccak: fromBytesToWord() and fromWordToBytes() are required on 64bit big endian...
Christian Heimes [Sat, 13 Oct 2012 22:59:29 +0000 (00:59 +0200)]
Keccak: fromBytesToWord() and fromWordToBytes() are required on 64bit big endian platforms

12 years agomerge heads
Benjamin Peterson [Sat, 13 Oct 2012 15:58:23 +0000 (11:58 -0400)]
merge heads

12 years agoWhen not optimized function stack sizes are much larger and may cause this test to...
Benjamin Peterson [Sat, 13 Oct 2012 15:46:44 +0000 (11:46 -0400)]
When not optimized function stack sizes are much larger and may cause this test to fail.

12 years agoIssue #16206: Merge dict documentation improvements from 3.3.
Chris Jerdonek [Sat, 13 Oct 2012 10:26:10 +0000 (03:26 -0700)]
Issue #16206: Merge dict documentation improvements from 3.3.

Improve the documentation of the dict constructor.  This change includes
replacing the single-line signature documentation with a more complete
multiple-line signature.

12 years agoIssue #16206: Merge dict documentation improvements from 3.2.
Chris Jerdonek [Sat, 13 Oct 2012 10:25:18 +0000 (03:25 -0700)]
Issue #16206: Merge dict documentation improvements from 3.2.

Improve the documentation of the dict constructor.  This change includes
replacing the single-line signature documentation with a more complete
multiple-line signature.

12 years agoIssue #16206: Improve the documentation of the dict constructor.
Chris Jerdonek [Sat, 13 Oct 2012 10:22:33 +0000 (03:22 -0700)]
Issue #16206: Improve the documentation of the dict constructor.

This change includes replacing the single-line signature documentation
with a more complete multiple-line signature.

12 years agoMerge from 3.3: Undo changes accidentally reverted in de8787029fe4.
Chris Jerdonek [Sat, 13 Oct 2012 03:31:50 +0000 (20:31 -0700)]
Merge from 3.3: Undo changes accidentally reverted in de8787029fe4.

12 years agoUndo changes accidentally reverted in de8787029fe4.
Chris Jerdonek [Sat, 13 Oct 2012 03:28:26 +0000 (20:28 -0700)]
Undo changes accidentally reverted in de8787029fe4.

12 years agolzma module: Rewrap docstrings at 72 columns, as per PEP 8.
Nadeem Vawda [Sat, 13 Oct 2012 02:26:49 +0000 (04:26 +0200)]
lzma module: Rewrap docstrings at 72 columns, as per PEP 8.

12 years agomerge 3.3
Benjamin Peterson [Fri, 12 Oct 2012 16:05:09 +0000 (12:05 -0400)]
merge 3.3

12 years agomerge heads
Benjamin Peterson [Fri, 12 Oct 2012 16:05:01 +0000 (12:05 -0400)]
merge heads

12 years agomerge 3.2
Benjamin Peterson [Fri, 12 Oct 2012 16:04:32 +0000 (12:04 -0400)]
merge 3.2

12 years agomerge 3.2
Benjamin Peterson [Fri, 12 Oct 2012 16:02:06 +0000 (12:02 -0400)]
merge 3.2

12 years agoskip if __doc__ is gone
Benjamin Peterson [Fri, 12 Oct 2012 15:44:19 +0000 (11:44 -0400)]
skip if __doc__ is gone

12 years agoskip if __doc__ is gone
Benjamin Peterson [Fri, 12 Oct 2012 15:44:19 +0000 (11:44 -0400)]
skip if __doc__ is gone

12 years agofix to work if __doc__ is removed
Benjamin Peterson [Fri, 12 Oct 2012 15:44:10 +0000 (11:44 -0400)]
fix to work if __doc__ is removed

12 years agofix to work if __doc__ is removed
Benjamin Peterson [Fri, 12 Oct 2012 15:44:10 +0000 (11:44 -0400)]
fix to work if __doc__ is removed

12 years agomove more variable declarations to the top of blocks
Benjamin Peterson [Fri, 12 Oct 2012 15:40:01 +0000 (11:40 -0400)]
move more variable declarations to the top of blocks

12 years agomove declaration to top of block
Benjamin Peterson [Fri, 12 Oct 2012 15:37:56 +0000 (11:37 -0400)]
move declaration to top of block

12 years agoceval cleanup
Benjamin Peterson [Fri, 12 Oct 2012 15:34:51 +0000 (11:34 -0400)]
ceval cleanup

- Make many variables local to the opcode; Kill u, v, w, and x.
- Force every opcode to end with DISPATCH or jump to error handling.
- Simplify error handling.
- Check error statuses in more places.

Closes #16191.

12 years agoRemove uses of % with str.format.
Brett Cannon [Fri, 12 Oct 2012 14:00:34 +0000 (10:00 -0400)]
Remove uses of % with str.format.

12 years agoMerge __next__ method link fixes with 3.3.
Ezio Melotti [Fri, 12 Oct 2012 10:46:37 +0000 (13:46 +0300)]
Merge __next__ method link fixes with 3.3.

12 years agoMerge __next__ method link fixes with 3.2.
Ezio Melotti [Fri, 12 Oct 2012 10:45:38 +0000 (13:45 +0300)]
Merge __next__ method link fixes with 3.2.

12 years agoFix links to the __next__ method.
Ezio Melotti [Fri, 12 Oct 2012 10:42:08 +0000 (13:42 +0300)]
Fix links to the __next__ method.

12 years agoMerge doctest fixes in functional howto with 3.3.
Ezio Melotti [Fri, 12 Oct 2012 10:30:25 +0000 (13:30 +0300)]
Merge doctest fixes in functional howto with 3.3.

12 years agoMerge doctest fixes in functional howto with 3.2.
Ezio Melotti [Fri, 12 Oct 2012 10:25:54 +0000 (13:25 +0300)]
Merge doctest fixes in functional howto with 3.2.

12 years agoMake doctests pass in the functional howto.
Ezio Melotti [Fri, 12 Oct 2012 10:24:19 +0000 (13:24 +0300)]
Make doctests pass in the functional howto.

12 years agoMerge functional howto improvements with 3.3.
Ezio Melotti [Fri, 12 Oct 2012 10:23:52 +0000 (13:23 +0300)]
Merge functional howto improvements with 3.3.

12 years agoMerge functional howto improvements with 3.2.
Ezio Melotti [Fri, 12 Oct 2012 10:23:32 +0000 (13:23 +0300)]
Merge functional howto improvements with 3.2.

12 years agoImprove markup in functional.rst, and fix a couple of errors.
Ezio Melotti [Fri, 12 Oct 2012 09:42:51 +0000 (12:42 +0300)]
Improve markup in functional.rst, and fix a couple of errors.

12 years agoMerge link additions/fixes with 3.3.
Ezio Melotti [Fri, 12 Oct 2012 08:02:39 +0000 (11:02 +0300)]
Merge link additions/fixes with 3.3.

12 years agoFix and add more links.
Ezio Melotti [Fri, 12 Oct 2012 07:59:14 +0000 (10:59 +0300)]
Fix and add more links.

12 years agoMerge from 3.3: Add and adjust some string-related links in the docs.
Chris Jerdonek [Fri, 12 Oct 2012 01:59:34 +0000 (18:59 -0700)]
Merge from 3.3: Add and adjust some string-related links in the docs.

12 years agoAdd and adjust some string-related links in the docs.
Chris Jerdonek [Fri, 12 Oct 2012 01:57:48 +0000 (18:57 -0700)]
Add and adjust some string-related links in the docs.

12 years agoMerge from 3.3: Fix link to str.format() in docs.
Chris Jerdonek [Fri, 12 Oct 2012 01:49:52 +0000 (18:49 -0700)]
Merge from 3.3: Fix link to str.format() in docs.

12 years agoMerge from 3.2: Fix link to str.format() in docs.
Chris Jerdonek [Fri, 12 Oct 2012 01:49:02 +0000 (18:49 -0700)]
Merge from 3.2: Fix link to str.format() in docs.

12 years agoFix link to str.format() in docs.
Chris Jerdonek [Fri, 12 Oct 2012 01:47:54 +0000 (18:47 -0700)]
Fix link to str.format() in docs.

12 years agoIssue #16199: Merge 2to3 typo fix from 3.3 (and resolve previous merge).
Chris Jerdonek [Thu, 11 Oct 2012 23:13:45 +0000 (16:13 -0700)]
Issue #16199: Merge 2to3 typo fix from 3.3 (and resolve previous merge).

12 years agoIssue #16199: Merge 2to3 typo fix from 3.2.
Chris Jerdonek [Thu, 11 Oct 2012 23:01:00 +0000 (16:01 -0700)]
Issue #16199: Merge 2to3 typo fix from 3.2.

12 years agoIssue #16199: Fix typo in 2to3 docs. Thanks to Mark Lawrence for the report.
Chris Jerdonek [Thu, 11 Oct 2012 22:59:32 +0000 (15:59 -0700)]
Issue #16199: Fix typo in 2to3 docs. Thanks to Mark Lawrence for the report.

12 years agoMerge 3.2
Brian Curtin [Thu, 11 Oct 2012 21:12:47 +0000 (16:12 -0500)]
Merge 3.2

12 years agoMerge 3.2
Brian Curtin [Thu, 11 Oct 2012 21:11:37 +0000 (16:11 -0500)]
Merge 3.2

12 years agoFix #16176. Properly identify Windows 8 via platform.platform()
Brian Curtin [Thu, 11 Oct 2012 21:07:52 +0000 (16:07 -0500)]
Fix #16176. Properly identify Windows 8 via platform.platform()

Add handling of the 6.2 release line, aka Windows 8 and Windows 2012 Server.

12 years agoCloses #15776: pyvenv now works with existing directories.
Vinay Sajip [Thu, 11 Oct 2012 16:22:45 +0000 (17:22 +0100)]
Closes #15776: pyvenv now works with existing directories.

12 years agocode smell. remove pdb
Senthil Kumaran [Thu, 11 Oct 2012 07:11:26 +0000 (00:11 -0700)]
code smell. remove pdb

12 years agoAutomated merge with ssh://hg.python.org/cpython
Senthil Kumaran [Thu, 11 Oct 2012 06:16:29 +0000 (23:16 -0700)]
Automated merge with ssh://hg.python.org/cpython

12 years agoIssue #16088: BaseHTTPRequestHandler's send_error method includes a
Senthil Kumaran [Thu, 11 Oct 2012 06:16:21 +0000 (23:16 -0700)]
Issue #16088: BaseHTTPRequestHandler's send_error method includes a
Content-Length header.  Patch by Antoine Pitrou.

12 years agoMerge from 3.3: Fix placement of shell=True warning in subprocess.Popen() docs.
Chris Jerdonek [Thu, 11 Oct 2012 05:54:55 +0000 (22:54 -0700)]
Merge from 3.3: Fix placement of shell=True warning in subprocess.Popen() docs.

12 years agoMerge from 3.2: Fix placement of shell=True warning in subprocess.Popen() docs.
Chris Jerdonek [Thu, 11 Oct 2012 05:53:35 +0000 (22:53 -0700)]
Merge from 3.2: Fix placement of shell=True warning in subprocess.Popen() docs.

12 years agoFix placement of shell=True warning in subprocess.Popen() docs.
Chris Jerdonek [Thu, 11 Oct 2012 05:52:22 +0000 (22:52 -0700)]
Fix placement of shell=True warning in subprocess.Popen() docs.

12 years agoIssue #16115: Merge subprocess.Popen() documentation improvements from 3.3.
Chris Jerdonek [Thu, 11 Oct 2012 00:49:00 +0000 (17:49 -0700)]
Issue #16115: Merge subprocess.Popen() documentation improvements from 3.3.

12 years agoIssue #16115: Merge subprocess.Popen() documentation improvements from 3.2.
Chris Jerdonek [Thu, 11 Oct 2012 00:47:55 +0000 (17:47 -0700)]
Issue #16115: Merge subprocess.Popen() documentation improvements from 3.2.

12 years agoIssue #16115: Make further improvements to subprocess.Popen() documentation.
Chris Jerdonek [Thu, 11 Oct 2012 00:46:18 +0000 (17:46 -0700)]
Issue #16115: Make further improvements to subprocess.Popen() documentation.

12 years agoCloses #16135: Removal of OS/2 support (distutils) (II)
Jesus Cea [Wed, 10 Oct 2012 23:56:01 +0000 (01:56 +0200)]
Closes #16135: Removal of OS/2 support (distutils) (II)

12 years agoCloses #16135: Removal of OS/2 support (distutils)
Jesus Cea [Wed, 10 Oct 2012 23:20:12 +0000 (01:20 +0200)]
Closes #16135: Removal of OS/2 support (distutils)

12 years agoMerge fix for issue #15111.
Brett Cannon [Wed, 10 Oct 2012 23:18:37 +0000 (19:18 -0400)]
Merge fix for issue #15111.

12 years agoCloses issue #15111: Calling __import__ with a module specified in
Brett Cannon [Wed, 10 Oct 2012 23:03:46 +0000 (19:03 -0400)]
Closes issue #15111: Calling __import__ with a module specified in
fromlist which causes its own ImportError (e.g. the module tries to
import a non-existent module) should have that exception propagate.

12 years agomerge heads
Benjamin Peterson [Wed, 10 Oct 2012 18:10:44 +0000 (14:10 -0400)]
merge heads

12 years agoadd some missing DISPATCH()
Benjamin Peterson [Wed, 10 Oct 2012 18:10:33 +0000 (14:10 -0400)]
add some missing DISPATCH()

12 years agoIssue #12947: Merge doctest documentation change from 3.3.
Chris Jerdonek [Wed, 10 Oct 2012 15:36:43 +0000 (08:36 -0700)]
Issue #12947: Merge doctest documentation change from 3.3.

12 years agoIssue #12947: Remove doctest directives from the doctest examples in the "Option...
Chris Jerdonek [Wed, 10 Oct 2012 15:34:38 +0000 (08:34 -0700)]
Issue #12947: Remove doctest directives from the doctest examples in the "Option Flag" section.

The doctest examples that illustrate the use of doctest option flags
independent of doctest directives should not display doctest directives.

12 years agomerge 3.3
Georg Brandl [Wed, 10 Oct 2012 14:56:22 +0000 (16:56 +0200)]
merge 3.3