]>
granicus.if.org Git - python/log
Éric Araujo [Sun, 23 Oct 2011 02:37:51 +0000 (04:37 +0200)]
Note that the #
1548891 fix indirectly fixes shlex (#6988, #1170)
Antoine Pitrou [Sat, 22 Oct 2011 19:26:01 +0000 (21:26 +0200)]
Issue #
1548891 : The cStringIO.StringIO() constructor now encodes unicode
arguments with the system default encoding just like the write() method
does, instead of converting it to a raw buffer.
Antoine Pitrou [Fri, 21 Oct 2011 20:22:43 +0000 (22:22 +0200)]
Oops, forgot issue number
Antoine Pitrou [Fri, 21 Oct 2011 20:22:04 +0000 (22:22 +0200)]
Add test for fix of issue #
1730114 .
Florent Xicluna [Thu, 20 Oct 2011 21:21:58 +0000 (23:21 +0200)]
Issue #9168: now smtpd is able to bind privileged port.
Ezio Melotti [Thu, 20 Oct 2011 16:49:29 +0000 (19:49 +0300)]
#13233: fix typo.
Ezio Melotti [Thu, 20 Oct 2011 16:43:24 +0000 (19:43 +0300)]
Merge heads.
Senthil Kumaran [Thu, 20 Oct 2011 16:32:59 +0000 (00:32 +0800)]
News entry for Issue12529 and Issue12604
Ezio Melotti [Thu, 20 Oct 2011 16:31:08 +0000 (19:31 +0300)]
#13219: clarify section about character sets in the re documentation.
Senthil Kumaran [Wed, 19 Oct 2011 18:13:23 +0000 (02:13 +0800)]
Fix Issue 12604 - Use a proper no-op macro expansion for VTRACE macro in _sre.c
Senthil Kumaran [Wed, 19 Oct 2011 17:38:35 +0000 (01:38 +0800)]
Fix closes Issue6090 - Raise a ValueError, instead of failing with unrelated
exceptions, when a document with timestamp earlier than 1980 is provided to
zipfile. Patch contributed by Petri Lehtinen.
Senthil Kumaran [Wed, 19 Oct 2011 16:52:24 +0000 (00:52 +0800)]
Fix closes Issue12529 - cgi.parse_header failure on double quotes and
semicolons. Patch by Ben Darnell and Petri Lehtinen.
Ezio Melotti [Wed, 19 Oct 2011 07:39:35 +0000 (10:39 +0300)]
Remove duplication.
Łukasz Langa [Tue, 18 Oct 2011 15:16:00 +0000 (17:16 +0200)]
Fixes #10860: Handle empty port after port delimiter in httplib
Thanks, Shawn Ligocki!
3.x version will come as a separate patch.
Ezio Melotti [Tue, 18 Oct 2011 10:02:11 +0000 (13:02 +0300)]
#12277: add missing comma.
Nadeem Vawda [Mon, 17 Oct 2011 17:33:38 +0000 (19:33 +0200)]
Issue #13194: zlib.compressobj().copy() and zlib.decompressobj().copy() are now available on Windows.
Mark Hammond [Mon, 17 Oct 2011 00:35:06 +0000 (11:35 +1100)]
normalize whitespace in Lib/distutils/msvc9compiler.py
Mark Hammond [Mon, 17 Oct 2011 00:05:36 +0000 (11:05 +1100)]
Issue #7833: Ext. modules built using distutils on Windows no longer get a manifest
Benjamin Peterson [Sat, 15 Oct 2011 17:43:21 +0000 (13:43 -0400)]
PyEval_CallObject requires a tuple of args (closes #13186)
Éric Araujo [Fri, 14 Oct 2011 16:15:31 +0000 (18:15 +0200)]
Increase test coverage for distutils.filelist (#11751).
Patch by Justin Love.
Éric Araujo [Fri, 14 Oct 2011 16:05:56 +0000 (18:05 +0200)]
Update dead references from py.org/dev/faq to the devguide (#13176)
Nadeem Vawda [Thu, 13 Oct 2011 11:52:46 +0000 (13:52 +0200)]
Issue #13159: Replace FileIO's quadratic-time buffer growth algorithm with a linear-time one.
Also fix the builtin file class and the bz2 module, which used the same algorithm.
Charles-François Natali [Wed, 12 Oct 2011 20:29:09 +0000 (22:29 +0200)]
Issue #13156: Add an entry in Misc/NEWS.
Charles-François Natali [Wed, 12 Oct 2011 19:10:02 +0000 (21:10 +0200)]
Merge.
Charles-François Natali [Wed, 12 Oct 2011 19:07:54 +0000 (21:07 +0200)]
Issue #13156: revert changeset
f6feed6ec3f9 , which was only relevant for native
TLS implementations, and fails with the ad-hoc TLS implementation when a thread
doesn't have an auto thread state (e.g. a thread created outside of Python
calling into a subinterpreter).
Ezio Melotti [Sun, 9 Oct 2011 21:25:47 +0000 (00:25 +0300)]
Fix/improve markup in whatsnew/2.7.
Ezio Melotti [Sun, 9 Oct 2011 20:56:51 +0000 (23:56 +0300)]
#13138: add missing versionadded. Patch by Andreas Stührk.
Raymond Hettinger [Sun, 9 Oct 2011 16:32:43 +0000 (17:32 +0100)]
Clean-up and improve the priority queue example in the heapq docs.
Larry Hastings [Sun, 9 Oct 2011 12:03:44 +0000 (13:03 +0100)]
Issue #13053: Added section on migrating from CObject to Capsule
to howto/cporting.rst.
Éric Araujo [Sun, 9 Oct 2011 05:11:19 +0000 (07:11 +0200)]
Fix distutils’ check and register Unicode handling (#13114).
The check command was fixed by Kirill Kuzminykh.
The register command was using StringIO.getvalue, which uses “''.join”
and thus coerces to str using the default encoding (ASCII), so I changed
the code to use one extra intermediary list and correctly encode to
UTF-8.
Éric Araujo [Sun, 9 Oct 2011 04:33:54 +0000 (06:33 +0200)]
Branch merge
Antoine Pitrou [Sat, 8 Oct 2011 17:41:34 +0000 (19:41 +0200)]
Fix a missing encoding argument when opening a text file in some of iobench's subtests.
(found by Georg)
Éric Araujo [Sat, 8 Oct 2011 00:49:12 +0000 (02:49 +0200)]
Fix test_sysconfig when prefix != exec-prefix (#9100).
Reported by Zsolt Cserna.
Éric Araujo [Sat, 8 Oct 2011 00:15:55 +0000 (02:15 +0200)]
Make C code in one distutils test comply with ISO C (#10359).
Patch by Hallvard B Furuseth.
Éric Araujo [Sat, 8 Oct 2011 00:15:04 +0000 (02:15 +0200)]
Fix a typo and a broken link (part of #10536).
Found by Franz Glasner in #2504.
Ned Deily [Fri, 7 Oct 2011 19:01:18 +0000 (12:01 -0700)]
Issue #7367: Ensure test directory always gets removed.
Antoine Pitrou [Fri, 7 Oct 2011 15:03:01 +0000 (17:03 +0200)]
Issue #12823: remove broken link and replace it with another resource.
Ned Deily [Thu, 6 Oct 2011 21:29:49 +0000 (14:29 -0700)]
Issue #7425 and Issue #7367: add NEWS items.
Ned Deily [Thu, 6 Oct 2011 21:17:47 +0000 (14:17 -0700)]
Issue #7367: Fix pkgutil.walk_paths to skip directories whose
contents cannot be read.
Ned Deily [Thu, 6 Oct 2011 21:17:44 +0000 (14:17 -0700)]
Issue #7425: Prevent pydoc -k failures due to module import errors.
(Backport to 2.7 of existing 3.x fix)
Ned Deily [Thu, 6 Oct 2011 21:17:41 +0000 (14:17 -0700)]
Issue #7367: Add test case to test_pkgutil for walking path with
an unreadable directory.
Ned Deily [Thu, 6 Oct 2011 21:17:34 +0000 (14:17 -0700)]
Issue #7425: Refactor test_pydoc test case for '-k' behavior and add
new test cases for importing bad packages and unreadable packages dirs.
Charles-François Natali [Thu, 6 Oct 2011 17:09:45 +0000 (19:09 +0200)]
Issue #13070: Fix a crash when a TextIOWrapper caught in a reference cycle
would be finalized after the reference to its underlying BufferedRWPair's
writer got cleared by the GC.
Éric Araujo [Thu, 6 Oct 2011 11:19:34 +0000 (13:19 +0200)]
Branch merge
Amaury Forgeot d'Arc [Wed, 5 Oct 2011 20:34:51 +0000 (22:34 +0200)]
Enable the only tests for sys.gettrace
Senthil Kumaran [Wed, 5 Oct 2011 15:52:49 +0000 (23:52 +0800)]
Issue13073 - Address review comments and add versionchanged information in the docs.
Éric Araujo [Wed, 5 Oct 2011 00:35:09 +0000 (02:35 +0200)]
Fix typo and case in a recently added test
Éric Araujo [Wed, 5 Oct 2011 00:34:28 +0000 (02:34 +0200)]
Fix markup used in the documentation of sys.prefix and sys.exec_prefix.
- Using the file role with {placeholders} is IMO clearer than fake
Python code.
- The fact that sys.version[:3] gives '2.7' is a CPython detail and
should not be advertised (see #9442), even if some stdlib modules
currently rely on that detail.
Éric Araujo [Wed, 5 Oct 2011 00:25:58 +0000 (02:25 +0200)]
Move doc of sys.dont_write_bytecode to make all attributes sorted again
Antoine Pitrou [Tue, 4 Oct 2011 12:45:32 +0000 (14:45 +0200)]
Try to fix linking failures under Windows
Antoine Pitrou [Tue, 4 Oct 2011 11:55:37 +0000 (13:55 +0200)]
Remove all other uses of the C tolower()/toupper() which could break with a Turkish locale.
(except in the strop module, which is deprecated anyway)
Antoine Pitrou [Tue, 4 Oct 2011 11:38:04 +0000 (13:38 +0200)]
Issue #13099: Fix sqlite3.Cursor.lastrowid under a Turkish locale.
Reported and diagnosed by Thomas Kluyver.
Antoine Pitrou [Tue, 4 Oct 2011 10:00:13 +0000 (12:00 +0200)]
Avoid testing stuff that's been fixed in 2.7 on older Pythons
Antoine Pitrou [Tue, 4 Oct 2011 07:34:48 +0000 (09:34 +0200)]
Issue #7689: Allow pickling of dynamically created classes when their
metaclass is registered with copyreg. Patch by Nicolas M. Thiéry and
Craig Citro.
Meador Inge [Tue, 4 Oct 2011 02:34:04 +0000 (21:34 -0500)]
Issue #12881: ctypes: Fix segfault with large structure field names.
Senthil Kumaran [Sun, 2 Oct 2011 23:37:58 +0000 (07:37 +0800)]
update 2.7 - Document message_body arg in HTTPConnection.endheaders
Ezio Melotti [Sun, 2 Oct 2011 09:22:13 +0000 (12:22 +0300)]
#13076: fix links to datetime.time.
R David Murray [Sat, 1 Oct 2011 20:49:25 +0000 (16:49 -0400)]
#4147: minidom's toprettyxml no longer adds whitespace to text nodes.
Patch by Dan Kenigsberg.
Antoine Pitrou [Sat, 1 Oct 2011 17:30:58 +0000 (19:30 +0200)]
Issue #13034: When decoding some SSL certificates, the subjectAltName extension could be unreported.
Charles-François Natali [Thu, 29 Sep 2011 17:43:01 +0000 (19:43 +0200)]
Issue #13058: ossaudiodev: fix a file descriptor leak on error. Patch by Thomas
Jarosch.
Senthil Kumaran [Wed, 28 Sep 2011 23:52:46 +0000 (07:52 +0800)]
Doc fix. Mathematically correct sentence.
Meador Inge [Wed, 28 Sep 2011 01:35:28 +0000 (20:35 -0500)]
Issue #13013: ctypes: Fix a reference leak in PyCArrayType_from_ctype.
Thanks to Suman Saha for finding the bug and providing a patch.
Mark Dickinson [Sat, 24 Sep 2011 08:01:16 +0000 (09:01 +0100)]
Backport issue #12973 itertools fix from 3.x.
Victor Stinner [Fri, 23 Sep 2011 17:37:03 +0000 (19:37 +0200)]
Issue #7732: Fix a crash on importing a module if a directory has the same name
than a Python module (e.g. "__init__.py"): don't close the file twice.
PyFile_FromFile() does also close the file if PyString_FromString() failed. It
did already close the file on fill_file_fields() error (e.g. if the file is a
directory).
Victor Stinner [Thu, 22 Sep 2011 23:15:32 +0000 (01:15 +0200)]
Issue #12931: xmlrpclib now encodes Unicode URI to ISO-8859-1, instead of
failing with a UnicodeDecodeError.
Charles-François Natali [Wed, 21 Sep 2011 20:02:27 +0000 (22:02 +0200)]
Fix a race condition in test_socket.ThreadableTest: the client is reported
ready before having been set up.
Charles-François Natali [Wed, 21 Sep 2011 16:44:49 +0000 (18:44 +0200)]
Issue #12981: test_multiprocessing: catch ImportError when importing
multiprocessing.reduction, which may not be available (e.g. if the OS doesn't
support FD passing over Unix domain sockets).
Jesus Cea [Wed, 21 Sep 2011 01:47:39 +0000 (03:47 +0200)]
Close #13022: _multiprocessing.recvfd() doesn't check that file descriptor was actually received
Mark Dickinson [Mon, 19 Sep 2011 18:23:55 +0000 (19:23 +0100)]
Backport issue #12973 list_repeat fix from 3.x.
Mark Dickinson [Mon, 19 Sep 2011 15:38:08 +0000 (16:38 +0100)]
Issue #12973: Fix int.__pow__ overflow checks that invoked undefined behaviour, thereby producing incorrect results on Clang.
Jesus Cea [Mon, 19 Sep 2011 14:57:18 +0000 (16:57 +0200)]
Close #13007: whichdb should recognize gdbm 1.9 magic numbers
Georg Brandl [Sun, 18 Sep 2011 05:40:05 +0000 (07:40 +0200)]
Fix bug in heapq priority queue example.
Georg Brandl [Sat, 17 Sep 2011 18:36:28 +0000 (20:36 +0200)]
Add info from the docstring for random.gammavariate() to the docs.
Ned Deily [Thu, 15 Sep 2011 21:07:31 +0000 (14:07 -0700)]
Issue #12935: Correct typo in findertools.
Stefan Krah [Thu, 15 Sep 2011 20:56:00 +0000 (22:56 +0200)]
Use bitwise instead of logical or for flags.
Victor Stinner [Thu, 15 Sep 2011 17:45:53 +0000 (19:45 +0200)]
Fix the import machinery if there is an error on sys.path or sys.meta_path
find_module() now raises a RuntimeError, instead of ImportError, on an error on
sys.path or sys.meta_path because load_package() and import_submodule() returns
None and clear the exception if a ImportError occurred.
Stefan Krah [Wed, 14 Sep 2011 13:19:42 +0000 (15:19 +0200)]
Backport fix for issue #11149.
Senthil Kumaran [Mon, 12 Sep 2011 22:42:21 +0000 (06:42 +0800)]
Port the fix for Issue12924 (missing quote_plus) to 2.7 branch.
Amaury Forgeot d'Arc [Mon, 12 Sep 2011 19:19:53 +0000 (21:19 +0200)]
Remove trailing spaces
Amaury Forgeot d'Arc [Mon, 12 Sep 2011 18:12:09 +0000 (20:12 +0200)]
Issue #12483: ctypes: Fix a crash when the destruction of a callback
object triggers the garbage collector.
Éric Araujo [Mon, 12 Sep 2011 15:47:48 +0000 (17:47 +0200)]
Branch merge
Éric Araujo [Sat, 10 Sep 2011 03:39:45 +0000 (05:39 +0200)]
Fix determination of Metadata version (#8933). Patch by Filip Gruszczyński.
Éric Araujo [Sat, 10 Sep 2011 03:37:33 +0000 (05:37 +0200)]
Slight cleanup in distutils test_dist.
I have tests to add in this file and it’s always nice to start from a
clean base. I’ve also changed a test that used to write an invalid
config file ('[global]command_packages = etc.' on one line), but the
test passes before and after this change, so either it magically works
or the test is poorly written. Sigh.
Jesus Cea [Sat, 10 Sep 2011 02:35:18 +0000 (04:35 +0200)]
NEWS
Jesus Cea [Sat, 10 Sep 2011 02:04:09 +0000 (04:04 +0200)]
Close #12950: multiprocessing "test_fd_transfer" fails under OpenIndiana
Jesus Cea [Fri, 9 Sep 2011 20:15:16 +0000 (22:15 +0200)]
Fix issue #12948: multiprocessing test failures can hang the buildbots
Jesus Cea [Fri, 9 Sep 2011 18:26:57 +0000 (20:26 +0200)]
Close issue #12948: multiprocessing test failures can hang the buildbots
Éric Araujo [Fri, 9 Sep 2011 17:20:27 +0000 (19:20 +0200)]
Port a few markup edits from 3.x
Jesus Cea [Fri, 9 Sep 2011 16:50:59 +0000 (18:50 +0200)]
Issue #12333: fix test_distutils failures under Solaris and derivatives. Patch by Antoine Pitrou
Vinay Sajip [Tue, 6 Sep 2011 13:06:24 +0000 (14:06 +0100)]
Closes #12906: Fixed bug in YAML configuration.
Victor Stinner [Mon, 5 Sep 2011 20:33:55 +0000 (22:33 +0200)]
Update sys.platform doc for #12326.
Backport from Python 3.2 (
e11b4c945f7e ).
Victor Stinner [Mon, 5 Sep 2011 19:38:05 +0000 (21:38 +0200)]
Issue #12326: Remove plat-linux3 directory
sys.platform is now always 'linux2' on Linux (even on Linux 3)
Senthil Kumaran [Mon, 5 Sep 2011 16:23:10 +0000 (00:23 +0800)]
merge from 3.2. Fix closes Issue11155 - Correct the multiprocessing.Queue.put's arg (replace 'item' with 'obj') in the docs. Patch by Westley Martínez.
Éric Araujo [Mon, 5 Sep 2011 15:45:48 +0000 (17:45 +0200)]
Branch merge
Lars Gustäbel [Mon, 5 Sep 2011 15:04:18 +0000 (17:04 +0200)]
Issue #12841: Fix tarfile extraction of non-existent uids/gids.
tarfile unnecessarily checked the existence of numerical user and group ids on
extraction. If one of them did not exist the respective id of the current user
(i.e. root) was used for the file and ownership information was lost. (Patch
by Sebastien Luttringer)
Éric Araujo [Fri, 2 Sep 2011 22:47:07 +0000 (00:47 +0200)]
Warn instead of crashing because of invalid path in MANIFEST.in (#8286).
sdist used to crash with a full traceback dump instead of printing a
nice warning with the faulty line number.
Éric Araujo [Fri, 2 Sep 2011 22:28:43 +0000 (00:28 +0200)]
Enable catching WARN-level logging messages in distutils' test_sdist
Sandro Tosi [Fri, 2 Sep 2011 19:23:55 +0000 (21:23 +0200)]
Give credit to Adam
Amaury Forgeot d'Arc [Fri, 2 Sep 2011 18:32:23 +0000 (20:32 +0200)]
Issue #12764: Fix a crash in ctypes when the name of a Structure field is not
a string.
Sandro Tosi [Fri, 2 Sep 2011 18:04:20 +0000 (20:04 +0200)]
#12781: Mention SO_REUSEADDR flag near socket examples