]> granicus.if.org Git - python/log
python
13 years agothis is only a borrowed ref in Brett's branch
Benjamin Peterson [Fri, 10 Feb 2012 13:46:54 +0000 (08:46 -0500)]
this is only a borrowed ref in Brett's branch

13 years agoIssue #13590: On OS X 10.7 and 10.6 with Xcode 4.2, building
Ned Deily [Fri, 10 Feb 2012 11:59:06 +0000 (12:59 +0100)]
Issue #13590: On OS X 10.7 and 10.6 with Xcode 4.2, building
Distutils-based packages with C extension modules may fail because
Apple has removed gcc-4.2, the version used to build python.org
64-bit/32-bit Pythons.  If the user does not explicitly override
the default C compiler by setting the CC environment variable,
Distutils will now attempt to compile extension modules with clang
if gcc-4.2 is required but not found. Also as a convenience, if
the user does explicitly set CC, substitute its value as the default
compiler in the Distutils LDSHARED configuration variable for OS X.
(Note, the python.org 32-bit-only Pythons use gcc-4.0 and the 10.4u
SDK, neither of which are available in Xcode 4.  This change does not
attempt to override settings to support their use with Xcode 4.)

13 years agodistutils 2.7’s Extension does not support optional (#13865).
Éric Araujo [Fri, 10 Feb 2012 04:31:28 +0000 (05:31 +0100)]
distutils 2.7’s Extension does not support optional (#13865).

Reported by Miki Tebeka.

13 years agoIssue #9021: Add an introduction to the copy module. Doc changes suggested by Terry...
Senthil Kumaran [Thu, 9 Feb 2012 10:22:01 +0000 (18:22 +0800)]
Issue #9021: Add an introduction to the copy module. Doc changes suggested by Terry Reedy.

13 years agoFix Issue #6005: Examples in the socket library documentation use sendall,
Senthil Kumaran [Thu, 9 Feb 2012 09:43:31 +0000 (17:43 +0800)]
Fix Issue #6005: Examples in the socket library documentation use sendall,
where relevant, instead send method. Patch contributed by Brian Brazil.

13 years agoSkip test_threading.test_reinit_tls_after_fork() on platforms where fork()
Charles-François Natali [Wed, 8 Feb 2012 20:27:56 +0000 (21:27 +0100)]
Skip test_threading.test_reinit_tls_after_fork() on platforms where fork()
can't be called reliably from a worker thread.

13 years agoIssue #10811: Fix recursive usage of cursors. Instead of crashing, raise a Programmin...
Petri Lehtinen [Mon, 9 May 2011 10:24:09 +0000 (12:24 +0200)]
Issue #10811: Fix recursive usage of cursors. Instead of crashing, raise a ProgrammingError now.

13 years agobltinmod is borrowed, so it shouldn't be decrefed
Benjamin Peterson [Mon, 6 Feb 2012 16:28:45 +0000 (11:28 -0500)]
bltinmod is borrowed, so it shouldn't be decrefed

13 years agoIssue #10881: Fix test_site failures with OS X framework builds.
Ned Deily [Sun, 5 Feb 2012 23:55:50 +0000 (00:55 +0100)]
Issue #10881: Fix test_site failures with OS X framework builds.

13 years agoIssue 964437 Make IDLE help window non-modal.
Terry Jan Reedy [Sun, 5 Feb 2012 20:10:55 +0000 (15:10 -0500)]
Issue 964437 Make IDLE help window non-modal.
Patch by Guilherme Polo and Roger Serwy.

13 years ago#13933 refine patch using 'new' builtin
Terry Jan Reedy [Sun, 5 Feb 2012 19:30:43 +0000 (14:30 -0500)]
#13933 refine patch using 'new' builtin

13 years agoClarify note in BZ2File docs about lack of multi-stream support (issue #1625).
Nadeem Vawda [Sun, 5 Feb 2012 12:27:01 +0000 (14:27 +0200)]
Clarify note in BZ2File docs about lack of multi-stream support (issue #1625).

13 years agoCloses #13944: fix capitalization of class name.
Georg Brandl [Sun, 5 Feb 2012 08:25:22 +0000 (09:25 +0100)]
Closes #13944: fix capitalization of class name.

13 years agoIssue #12142: Fixed reference cycle when importing ctypes
Meador Inge [Sun, 5 Feb 2012 06:27:40 +0000 (00:27 -0600)]
Issue #12142: Fixed reference cycle when importing ctypes

13 years agoIssue #1625: Document BZ2File's lack of support for multi-stream inputs.
Nadeem Vawda [Sat, 4 Feb 2012 21:43:25 +0000 (23:43 +0200)]
Issue #1625: Document BZ2File's lack of support for multi-stream inputs.

13 years agoIssue #13933: IDLE auto-complete did not work with some imported
Ned Deily [Sat, 4 Feb 2012 17:35:23 +0000 (18:35 +0100)]
Issue #13933: IDLE auto-complete did not work with some imported
module, like hashlib.  (Patch by Roger Serwy)

13 years agoFix failing test on big-endian machines (issue #13806).
Antoine Pitrou [Sat, 4 Feb 2012 15:44:21 +0000 (16:44 +0100)]
Fix failing test on big-endian machines (issue #13806).

13 years agoIssue #8184: Fix a potential file descriptor leak when a
Charles-François Natali [Sat, 4 Feb 2012 13:40:25 +0000 (14:40 +0100)]
Issue #8184: Fix a potential file descriptor leak when a
multiprocessing.Connection socket can't be bound.

13 years agoput returns on their own lines
Benjamin Peterson [Sat, 4 Feb 2012 00:22:31 +0000 (19:22 -0500)]
put returns on their own lines

13 years agoremove unused import
Benjamin Peterson [Sat, 4 Feb 2012 00:07:30 +0000 (19:07 -0500)]
remove unused import

13 years agoIssue #13861: Prevent test_apropos* test case failures in test_pydoc.
Ned Deily [Fri, 3 Feb 2012 22:13:03 +0000 (23:13 +0100)]
Issue #13861: Prevent test_apropos* test case failures in test_pydoc.

13 years agoIssue #13901: Prevent test_distutils failures on OS X with --enable-shared.
Ned Deily [Fri, 3 Feb 2012 01:39:49 +0000 (02:39 +0100)]
Issue #13901: Prevent test_distutils failures on OS X with --enable-shared.

13 years agoMerge.
Charles-François Natali [Thu, 2 Feb 2012 19:36:47 +0000 (20:36 +0100)]
Merge.

13 years agoDocument absoluteness of sys.executable
Petri Lehtinen [Thu, 2 Feb 2012 19:11:28 +0000 (21:11 +0200)]
Document absoluteness of sys.executable

Closes #13402.

13 years agoIssue #13817: After fork(), reinit the ad-hoc TLS implementation earlier to fix
Charles-François Natali [Thu, 2 Feb 2012 18:57:19 +0000 (19:57 +0100)]
Issue #13817: After fork(), reinit the ad-hoc TLS implementation earlier to fix
a random deadlock when fork() is called in a multithreaded process in debug
mode, and make PyOS_AfterFork() more robust.

13 years agoIssue #1813: backport changeset that reverts a glibc workaround for the
Stefan Krah [Thu, 2 Feb 2012 15:57:49 +0000 (16:57 +0100)]
Issue #1813: backport changeset that reverts a glibc workaround for the
Fedora buildbot.

13 years agoClean-up docs for input()
Raymond Hettinger [Thu, 2 Feb 2012 08:52:33 +0000 (00:52 -0800)]
Clean-up docs for input()

13 years agoAdd pure python equivalent code for reduce().
Raymond Hettinger [Thu, 2 Feb 2012 08:48:46 +0000 (00:48 -0800)]
Add pure python equivalent code for reduce().

13 years agoClarify the note for UserList
Raymond Hettinger [Thu, 2 Feb 2012 03:00:09 +0000 (19:00 -0800)]
Clarify the note for UserList

13 years agoUse validate SQL in the example (this was confusing to readers)
Raymond Hettinger [Wed, 1 Feb 2012 21:41:11 +0000 (13:41 -0800)]
Use validate SQL in the example (this was confusing to readers)

13 years agoShow the import in the sqlite3 example
Raymond Hettinger [Wed, 1 Feb 2012 21:32:45 +0000 (13:32 -0800)]
Show the import in the sqlite3 example

13 years agomerge.
Brian Curtin [Wed, 1 Feb 2012 21:22:50 +0000 (15:22 -0600)]
merge.

13 years agomerge from fb225c289bf0
Brian Curtin [Wed, 1 Feb 2012 21:17:39 +0000 (15:17 -0600)]
merge from fb225c289bf0

13 years agosqlite3: Handle strings with embedded zeros correctly
Petri Lehtinen [Wed, 1 Feb 2012 20:20:12 +0000 (22:20 +0200)]
sqlite3: Handle strings with embedded zeros correctly

Closes #13676.

13 years agoUse xrange in the example
Raymond Hettinger [Wed, 1 Feb 2012 16:55:21 +0000 (08:55 -0800)]
Use xrange in the example

13 years agofix whitespace
Raymond Hettinger [Wed, 1 Feb 2012 16:54:14 +0000 (08:54 -0800)]
fix whitespace

13 years agoAdd a usage note
Raymond Hettinger [Wed, 1 Feb 2012 16:52:44 +0000 (08:52 -0800)]
Add a usage note

13 years agowhitespace3
Terry Jan Reedy [Tue, 31 Jan 2012 07:55:32 +0000 (02:55 -0500)]
whitespace3

13 years ago#13506 Add '' to path for interactive interpreter by adding with_cwd parameter
Terry Jan Reedy [Tue, 31 Jan 2012 07:09:25 +0000 (02:09 -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.

13 years agoFix #13900: resolve self-referential description of a parameter.
Georg Brandl [Sun, 29 Jan 2012 14:38:47 +0000 (15:38 +0100)]
Fix #13900: resolve self-referential description of a parameter.

13 years agoremove tests from really old regex module
Benjamin Peterson [Sun, 29 Jan 2012 01:33:21 +0000 (20:33 -0500)]
remove tests from really old regex module

13 years agoIssue #13806: The size check in audioop decompression functions was too strict and...
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.

13 years agoIssue #13889: Add missing _Py_SET_53BIT_PRECISION_* calls around uses of dtoa.c funct...
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.

13 years agoFix intermittent test_ssl failure.
Antoine Pitrou [Fri, 27 Jan 2012 16:33:01 +0000 (17:33 +0100)]
Fix intermittent test_ssl failure.

13 years agonote that get() is not affected by default_factory (closes #13887)
Benjamin Peterson [Fri, 27 Jan 2012 14:14:01 +0000 (09:14 -0500)]
note that get() is not affected by default_factory (closes #13887)

13 years agoIssue #13885: CVE-2011-3389: the _ssl module would always disable the CBC IV attack...
Antoine Pitrou [Fri, 27 Jan 2012 08:44:08 +0000 (09:44 +0100)]
Issue #13885: CVE-2011-3389: the _ssl module would always disable the CBC IV attack countermeasure.

13 years agoIssue #13885: CVE-2011-3389: the _ssl module would always disable the CBC IV attack...
Antoine Pitrou [Fri, 27 Jan 2012 08:42:45 +0000 (09:42 +0100)]
Issue #13885: CVE-2011-3389: the _ssl module would always disable the CBC IV attack countermeasure.

13 years agoIssue #13883: Document all platforms PYTHONCASEOK works on.
Brett Cannon [Thu, 26 Jan 2012 23:32:24 +0000 (18:32 -0500)]
Issue #13883: Document all platforms PYTHONCASEOK works on.

13 years agomerge heads
Benjamin Peterson [Wed, 25 Jan 2012 21:43:54 +0000 (16:43 -0500)]
merge heads

13 years agoforgot to resolve this conflict...
Benjamin Peterson [Wed, 25 Jan 2012 21:43:26 +0000 (16:43 -0500)]
forgot to resolve this conflict...

13 years ago#13852: some small doc fixes.
Georg Brandl [Wed, 25 Jan 2012 21:36:25 +0000 (22:36 +0100)]
#13852: some small doc fixes.

13 years agokill extra word
Benjamin Peterson [Wed, 25 Jan 2012 21:30:18 +0000 (16:30 -0500)]
kill extra word

13 years agosay bitwise (because I have no idea what a bit-string is)
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)

13 years agoRemove debug output, fix assert (hopefully) and exercise signedness issues a bit...
Antoine Pitrou [Wed, 25 Jan 2012 14:38:32 +0000 (15:38 +0100)]
Remove debug output, fix assert (hopefully) and exercise signedness issues a bit more.

13 years agoFix temporary debug output (so, time_t is 8 bytes on some Windows builds)
Antoine Pitrou [Wed, 25 Jan 2012 13:57:56 +0000 (14:57 +0100)]
Fix temporary debug output (so, time_t is 8 bytes on some Windows builds)

13 years agoTemporary debug for Windows buildbots.
Antoine Pitrou [Wed, 25 Jan 2012 13:39:21 +0000 (14:39 +0100)]
Temporary debug for Windows buildbots.

13 years agoMake guard more dynamic (apparently the size of a filesystem timestamp may vary under...
Antoine Pitrou [Wed, 25 Jan 2012 02:31:39 +0000 (03:31 +0100)]
Make guard more dynamic (apparently the size of a filesystem timestamp may vary under Windows).

13 years agoSkip test failure under OpenIndiana
Antoine Pitrou [Wed, 25 Jan 2012 01:49:47 +0000 (02:49 +0100)]
Skip test failure under OpenIndiana

13 years agoMake test work under 32-bit systems, and when invoked through Lib/test/regrtest.py
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`)

13 years agoIssue #12501: merge the discordant NEWS entries.
Florent Xicluna [Tue, 24 Jan 2012 20:05:10 +0000 (21:05 +0100)]
Issue #12501: merge the discordant NEWS entries.

13 years agoIssue #11235: Fix OverflowError when trying to import a source file whose modificatio...
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.

13 years ago#13816: fix two minor style issues. Thanks to Justin Wehnes for the patch.
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.

13 years agoFixes #4686. Reverts redundant picklability code from r74544.
Łukasz Langa [Mon, 23 Jan 2012 16:30:53 +0000 (17:30 +0100)]
Fixes #4686. Reverts redundant picklability code from r74544.

13 years agoIssue #12922: fix the TextIOBase documentation to include a description of seek(...
Antoine Pitrou [Sat, 21 Jan 2012 19:27:59 +0000 (20:27 +0100)]
Issue #12922: fix the TextIOBase documentation to include a description of seek() and tell() methods.

13 years agoMove a space.
Ezio Melotti [Sat, 21 Jan 2012 14:40:03 +0000 (16:40 +0200)]
Move a space.

13 years agofix typo; thanks to Justin Watt from docs@
Sandro Tosi [Sat, 21 Jan 2012 09:59:12 +0000 (10:59 +0100)]
fix typo; thanks to Justin Watt from docs@

13 years agoFix conf.py for Sphinx 1.0.
Georg Brandl [Sat, 21 Jan 2012 07:58:22 +0000 (08:58 +0100)]
Fix conf.py for Sphinx 1.0.

13 years agowhitespace
Terry Jan Reedy [Sat, 21 Jan 2012 05:32:23 +0000 (00:32 -0500)]
whitespace

13 years agoIssue13820 as and with really became keywords in 2.6.
Terry Jan Reedy [Sat, 21 Jan 2012 05:24:25 +0000 (00:24 -0500)]
Issue13820 as and with really became keywords in 2.6.
Original rewording by Jim Jewett

13 years agoNEWS entry for Issue6631
Senthil Kumaran [Sat, 21 Jan 2012 03:45:12 +0000 (11:45 +0800)]
NEWS entry for Issue6631

13 years agoFix Issue6631 - Disallow relative files paths in urllib*.open()
Senthil Kumaran [Sat, 21 Jan 2012 03:43:02 +0000 (11:43 +0800)]
Fix Issue6631 - Disallow relative files paths in urllib*.open()

13 years agoFixes #13760: picklability of ConfigParser exceptions
Łukasz Langa [Fri, 20 Jan 2012 16:02:08 +0000 (17:02 +0100)]
Fixes #13760: picklability of ConfigParser exceptions

13 years agoCloses #13807: Now checks for sys.stderr being there before writing to it.
Vinay Sajip [Fri, 20 Jan 2012 11:20:12 +0000 (11:20 +0000)]
Closes #13807: Now checks for sys.stderr being there before writing to it.

13 years agoIssue #13605: more meaningful example + fixes
Sandro Tosi [Thu, 19 Jan 2012 21:22:35 +0000 (22:22 +0100)]
Issue #13605: more meaningful example + fixes

13 years agoIssue #13605: add documentation for nargs=argparse.REMAINDER
Sandro Tosi [Thu, 19 Jan 2012 20:59:34 +0000 (21:59 +0100)]
Issue #13605: add documentation for nargs=argparse.REMAINDER

13 years agoIssue #11948: clarify modules search path
Sandro Tosi [Thu, 19 Jan 2012 10:28:15 +0000 (11:28 +0100)]
Issue #11948: clarify modules search path

13 years agoIssue #2134: Clarify token.OP handling rationale in tokenize documentation.
Meador Inge [Thu, 19 Jan 2012 06:17:44 +0000 (00:17 -0600)]
Issue #2134: Clarify token.OP handling rationale in tokenize documentation.

13 years agoIssue #13781: Fix GzipFile to work with os.fdopen()'d file objects.
Nadeem Vawda [Wed, 18 Jan 2012 22:40:46 +0000 (00:40 +0200)]
Issue #13781: Fix GzipFile to work with os.fdopen()'d file objects.

13 years agoRevert part of 13f56cd8dec1 (issue #1785) to avoid breaking getmembers() with unbound...
Antoine Pitrou [Wed, 18 Jan 2012 16:39:01 +0000 (17:39 +0100)]
Revert part of 13f56cd8dec1 (issue #1785) to avoid breaking getmembers() with unbound methods.
Python 3 isn't affected (unbound methods don't exist).
Thanks to Vincent Pelletier for noticing.

13 years agoYet another emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn...
Jesus Cea [Wed, 18 Jan 2012 03:43:50 +0000 (04:43 +0100)]
Yet another emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name

13 years agoEmergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include...
Jesus Cea [Wed, 18 Jan 2012 03:25:28 +0000 (04:25 +0100)]
Emergency fix for #13803 bootstrap issue: Under Solaris, distutils doesn't include bitness in the directory name

13 years agoCloses #13803: Under Solaris, distutils doesn't include bitness in the directory...
Jesus Cea [Wed, 18 Jan 2012 02:51:38 +0000 (03:51 +0100)]
Closes #13803: Under Solaris, distutils doesn't include bitness in the directory name

13 years agofile.next() doc refers to itself
Sandro Tosi [Tue, 17 Jan 2012 17:57:30 +0000 (18:57 +0100)]
file.next() doc refers to itself

13 years agorevert part of cefe4f38fa0e, as agreed with Éric
Sandro Tosi [Tue, 17 Jan 2012 17:32:02 +0000 (18:32 +0100)]
revert part of cefe4f38fa0e, as agreed with Éric

13 years agoIssue #13589: Fix some serialization primitives in the aifc module.
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.

13 years agoBerkeley DB: Erratic behaviour of "DBEnv->rep_elect()" because a typo
Jesus Cea [Mon, 16 Jan 2012 23:17:10 +0000 (00:17 +0100)]
Berkeley DB: Erratic behaviour of "DBEnv->rep_elect()" because a typo

13 years agoBerkeley DB: Erratic behaviour of "DBEnv->rep_elect()" because a typo
Jesus Cea [Mon, 16 Jan 2012 22:57:34 +0000 (23:57 +0100)]
Berkeley DB: Erratic behaviour of "DBEnv->rep_elect()" because a typo

13 years agoIssue: #12409: remove obsolete susp-entries
Sandro Tosi [Mon, 16 Jan 2012 17:01:55 +0000 (18:01 +0100)]
Issue: #12409: remove obsolete susp-entries

13 years ago#13715: fix typo in unicodedata doc. Patch by Eli Collins.
Ezio Melotti [Mon, 16 Jan 2012 06:42:32 +0000 (08:42 +0200)]
#13715: fix typo in unicodedata doc.  Patch by Eli Collins.

13 years ago#13695: fix a couple of typos in the doc.
Ezio Melotti [Mon, 16 Jan 2012 06:21:24 +0000 (08:21 +0200)]
#13695: fix a couple of typos in the doc.

13 years agoexplain why we need this grammar file (closes #13766)
Benjamin Peterson [Mon, 16 Jan 2012 02:28:00 +0000 (21:28 -0500)]
explain why we need this grammar file (closes #13766)

13 years ago#13039 allow proper deletion of '>>> ' in IDLE editor windows.
Terry Jan Reedy [Mon, 16 Jan 2012 00:02:50 +0000 (19:02 -0500)]
#13039 allow proper deletion of '>>> ' in IDLE editor windows.
Patch by Roger Serwy.

13 years agofix typo; thanks to Jan Heidbrink from docs@
Sandro Tosi [Sun, 15 Jan 2012 15:34:29 +0000 (16:34 +0100)]
fix typo; thanks to Jan Heidbrink from docs@

13 years agoremove 'Documenting Python' and its references, it's now on devguide
Sandro Tosi [Sat, 14 Jan 2012 21:22:54 +0000 (22:22 +0100)]
remove 'Documenting Python' and its references, it's now on devguide

13 years agoFix label names.
Georg Brandl [Sat, 14 Jan 2012 16:06:53 +0000 (17:06 +0100)]
Fix label names.

13 years agohow could I have missed :cmember: in import.rst?
Sandro Tosi [Sat, 14 Jan 2012 15:51:16 +0000 (16:51 +0100)]
how could I have missed :cmember: in import.rst?

13 years agoNone is not a keyword, link file.next() to functions.html#next
Sandro Tosi [Sat, 14 Jan 2012 15:43:14 +0000 (16:43 +0100)]
None is not a keyword, link file.next() to functions.html#next

13 years agoupdate part of sphinxext
Sandro Tosi [Sat, 14 Jan 2012 15:42:21 +0000 (16:42 +0100)]
update part of sphinxext

13 years agoupdate to new C roles and directives
Sandro Tosi [Sat, 14 Jan 2012 15:42:02 +0000 (16:42 +0100)]
update to new C roles and directives

13 years agoupdate Sphinx reference from 0.6.7 to 1.0.7
Sandro Tosi [Sat, 14 Jan 2012 15:41:26 +0000 (16:41 +0100)]
update Sphinx reference from 0.6.7 to 1.0.7