]>
granicus.if.org Git - python/log
Antoine Pitrou [Wed, 15 Feb 2012 01:51:43 +0000 (02:51 +0100)]
Issue #13020: Fix a reference leak when allocating a structsequence object fails.
Patch by Suman Saha.
Antoine Pitrou [Wed, 15 Feb 2012 01:42:46 +0000 (02:42 +0100)]
Issue #13015: Fix a possible reference leak in defaultdict.__repr__.
Patch by Suman Saha.
Meador Inge [Tue, 14 Feb 2012 04:22:06 +0000 (22:22 -0600)]
Issue #13979: Fix ctypes.util.find_library ldconfig regex
Gregory P. Smith [Tue, 14 Feb 2012 00:45:47 +0000 (16:45 -0800)]
re.escape os.sep so that \ is interpreted properly in the regex.
Gregory P. Smith [Tue, 14 Feb 2012 00:28:54 +0000 (16:28 -0800)]
Issue #13930: fix a / to use os.sep so that the test works on Windows.
Nadeem Vawda [Mon, 13 Feb 2012 19:33:51 +0000 (21:33 +0200)]
Issue #13193: Fix distutils.filelist tests to always use / as path separator.
Ezio Melotti [Mon, 13 Feb 2012 18:36:55 +0000 (20:36 +0200)]
Fix an index, add more tests, avoid raising errors for unknown declarations, and clean up comments.
Senthil Kumaran [Mon, 13 Feb 2012 15:17:45 +0000 (23:17 +0800)]
shutil copy module reference doc fix.
Ezio Melotti [Mon, 13 Feb 2012 14:28:54 +0000 (16:28 +0200)]
#13993: HTMLParser is now able to handle broken end tags.
Ezio Melotti [Mon, 13 Feb 2012 14:10:44 +0000 (16:10 +0200)]
#13960: HTMLParser is now able to handle broken comments.
Gregory P. Smith [Sun, 12 Feb 2012 23:59:35 +0000 (15:59 -0800)]
fix whitespace normalization before pushing.
Gregory P. Smith [Sun, 12 Feb 2012 23:51:21 +0000 (15:51 -0800)]
Issue #13930: Adds ability for 2to3 to write its output to a different
directory tree instead of overwriting the input files. Adds three command
line options: -o/--output-dir, -W/--write-unchanged-files and --add-suffix.
Feature backports into stable release branches for 2to3 are allowed by
a special exemption:
http://mail.python.org/pipermail/python-dev/2011-December/115089.html
Petri Lehtinen [Sun, 12 Feb 2012 19:11:38 +0000 (21:11 +0200)]
Add myself to Misc/ACKS
Petri Lehtinen [Sun, 12 Feb 2012 19:03:02 +0000 (21:03 +0200)]
Fix sqlite3.Connection.iterdump on tables/fields with reserved names or quotes
Closes #9750
Florent Xicluna [Sun, 12 Feb 2012 13:49:03 +0000 (14:49 +0100)]
Typo in Misc/NEWS.
Éric Araujo [Sun, 12 Feb 2012 03:54:43 +0000 (04:54 +0100)]
Update mention of Subversion repo in the FAQ
Éric Araujo [Sun, 12 Feb 2012 03:41:36 +0000 (04:41 +0100)]
Fix distutils.filelist.FileList under Windows (#13193).
The code used to call os.path.join to build a regex but without escaping
the backslash, which lead to test failures on Windows. Antoine Pitrou
fixed it in
557a973709de by enhancing the code to accept both / and \,
with proper escaping, but in my opinion this goes against the distutils
feature freeze, hence this change.
Ned Deily [Sat, 11 Feb 2012 19:40:24 +0000 (20:40 +0100)]
Issue #13994: Earler partial revert of Distutils enhancements in 2.7
has left two versions of customize_compiler, the original in
distutils.sysconfig and another copy in distutils.ccompiler, with some
parts of distutils calling one and others using the other.
Complete the revert back to only having one in distutils.sysconfig as
is the case in 3.x.
Benjamin Peterson [Fri, 10 Feb 2012 13:46:54 +0000 (08:46 -0500)]
this is only a borrowed ref in Brett's branch
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.)
É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.
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.
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.
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.
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.
Benjamin Peterson [Mon, 6 Feb 2012 16:28:45 +0000 (11:28 -0500)]
bltinmod is borrowed, so it shouldn't be decrefed
Ned Deily [Sun, 5 Feb 2012 23:55:50 +0000 (00:55 +0100)]
Issue #10881: Fix test_site failures with OS X framework builds.
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.
Terry Jan Reedy [Sun, 5 Feb 2012 19:30:43 +0000 (14:30 -0500)]
#13933 refine patch using 'new' builtin
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).
Georg Brandl [Sun, 5 Feb 2012 08:25:22 +0000 (09:25 +0100)]
Closes #13944: fix capitalization of class name.
Meador Inge [Sun, 5 Feb 2012 06:27:40 +0000 (00:27 -0600)]
Issue #12142: Fixed reference cycle when importing ctypes
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.
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)
Antoine Pitrou [Sat, 4 Feb 2012 15:44:21 +0000 (16:44 +0100)]
Fix failing test on big-endian machines (issue #13806).
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.
Benjamin Peterson [Sat, 4 Feb 2012 00:22:31 +0000 (19:22 -0500)]
put returns on their own lines
Benjamin Peterson [Sat, 4 Feb 2012 00:07:30 +0000 (19:07 -0500)]
remove unused import
Ned Deily [Fri, 3 Feb 2012 22:13:03 +0000 (23:13 +0100)]
Issue #13861: Prevent test_apropos* test case failures in test_pydoc.
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.
Charles-François Natali [Thu, 2 Feb 2012 19:36:47 +0000 (20:36 +0100)]
Merge.
Petri Lehtinen [Thu, 2 Feb 2012 19:11:28 +0000 (21:11 +0200)]
Document absoluteness of sys.executable
Closes #13402.
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.
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.
Raymond Hettinger [Thu, 2 Feb 2012 08:52:33 +0000 (00:52 -0800)]
Clean-up docs for input()
Raymond Hettinger [Thu, 2 Feb 2012 08:48:46 +0000 (00:48 -0800)]
Add pure python equivalent code for reduce().
Raymond Hettinger [Thu, 2 Feb 2012 03:00:09 +0000 (19:00 -0800)]
Clarify the note for UserList
Raymond Hettinger [Wed, 1 Feb 2012 21:41:11 +0000 (13:41 -0800)]
Use validate SQL in the example (this was confusing to readers)
Raymond Hettinger [Wed, 1 Feb 2012 21:32:45 +0000 (13:32 -0800)]
Show the import in the sqlite3 example
Brian Curtin [Wed, 1 Feb 2012 21:22:50 +0000 (15:22 -0600)]
merge.
Brian Curtin [Wed, 1 Feb 2012 21:17:39 +0000 (15:17 -0600)]
Petri Lehtinen [Wed, 1 Feb 2012 20:20:12 +0000 (22:20 +0200)]
sqlite3: Handle strings with embedded zeros correctly
Closes #13676.
Raymond Hettinger [Wed, 1 Feb 2012 16:55:21 +0000 (08:55 -0800)]
Use xrange in the example
Raymond Hettinger [Wed, 1 Feb 2012 16:54:14 +0000 (08:54 -0800)]
fix whitespace
Raymond Hettinger [Wed, 1 Feb 2012 16:52:44 +0000 (08:52 -0800)]
Add a usage note
Terry Jan Reedy [Tue, 31 Jan 2012 07:55:32 +0000 (02:55 -0500)]
whitespace3
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.
Georg Brandl [Sun, 29 Jan 2012 14:38:47 +0000 (15:38 +0100)]
Fix #13900: resolve self-referential description of a parameter.
Benjamin Peterson [Sun, 29 Jan 2012 01:33:21 +0000 (20:33 -0500)]
remove tests from really old regex module
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.
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.
Antoine Pitrou [Fri, 27 Jan 2012 16:33:01 +0000 (17:33 +0100)]
Fix intermittent test_ssl failure.
Benjamin Peterson [Fri, 27 Jan 2012 14:14:01 +0000 (09:14 -0500)]
note that get() is not affected by default_factory (closes #13887)
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.
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.
Brett Cannon [Thu, 26 Jan 2012 23:32:24 +0000 (18:32 -0500)]
Issue #13883: Document all platforms PYTHONCASEOK works on.
Benjamin Peterson [Wed, 25 Jan 2012 21:43:54 +0000 (16:43 -0500)]
merge heads
Benjamin Peterson [Wed, 25 Jan 2012 21:43:26 +0000 (16:43 -0500)]
forgot to resolve this conflict...
Georg Brandl [Wed, 25 Jan 2012 21:36:25 +0000 (22:36 +0100)]
#13852: some small doc fixes.
Benjamin Peterson [Wed, 25 Jan 2012 21:30:18 +0000 (16:30 -0500)]
kill extra word
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)
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.
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)
Antoine Pitrou [Wed, 25 Jan 2012 13:39:21 +0000 (14:39 +0100)]
Temporary debug for Windows buildbots.
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).
Antoine Pitrou [Wed, 25 Jan 2012 01:49:47 +0000 (02:49 +0100)]
Skip test failure under OpenIndiana
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`)
Florent Xicluna [Tue, 24 Jan 2012 20:05:10 +0000 (21:05 +0100)]
Issue #12501: merge the discordant NEWS entries.
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.
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.
Łukasz Langa [Mon, 23 Jan 2012 16:30:53 +0000 (17:30 +0100)]
Fixes #4686. Reverts redundant picklability code from r74544.
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.
Ezio Melotti [Sat, 21 Jan 2012 14:40:03 +0000 (16:40 +0200)]
Move a space.
Sandro Tosi [Sat, 21 Jan 2012 09:59:12 +0000 (10:59 +0100)]
fix typo; thanks to Justin Watt from docs@
Georg Brandl [Sat, 21 Jan 2012 07:58:22 +0000 (08:58 +0100)]
Fix conf.py for Sphinx 1.0.
Terry Jan Reedy [Sat, 21 Jan 2012 05:32:23 +0000 (00:32 -0500)]
whitespace
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
Senthil Kumaran [Sat, 21 Jan 2012 03:45:12 +0000 (11:45 +0800)]
NEWS entry for Issue6631
Senthil Kumaran [Sat, 21 Jan 2012 03:43:02 +0000 (11:43 +0800)]
Fix Issue6631 - Disallow relative files paths in urllib*.open()
Łukasz Langa [Fri, 20 Jan 2012 16:02:08 +0000 (17:02 +0100)]
Fixes #13760: picklability of ConfigParser exceptions
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.
Sandro Tosi [Thu, 19 Jan 2012 21:22:35 +0000 (22:22 +0100)]
Issue #13605: more meaningful example + fixes
Sandro Tosi [Thu, 19 Jan 2012 20:59:34 +0000 (21:59 +0100)]
Issue #13605: add documentation for nargs=argparse.REMAINDER
Sandro Tosi [Thu, 19 Jan 2012 10:28:15 +0000 (11:28 +0100)]
Issue #11948: clarify modules search path
Meador Inge [Thu, 19 Jan 2012 06:17:44 +0000 (00:17 -0600)]
Issue #2134: Clarify token.OP handling rationale in tokenize documentation.
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.
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.
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
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
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