]>
granicus.if.org Git - python/log
Antoine Pitrou [Fri, 7 Oct 2011 14:16:31 +0000 (16:16 +0200)]
Issue #13063: the Windows error ERROR_NO_DATA (numbered 232 and described
as "The pipe is being closed") is now mapped to POSIX errno EPIPE
(previously EINVAL).
Ned Deily [Thu, 6 Oct 2011 21:31:14 +0000 (14:31 -0700)]
Issue #7367: add NEWS item.
Ned Deily [Thu, 6 Oct 2011 21:19:08 +0000 (14:19 -0700)]
Issue #7367: Fix pkgutil.walk_paths to skip directories whose
contents cannot be read.
Ned Deily [Thu, 6 Oct 2011 21:19:06 +0000 (14:19 -0700)]
Issue #7367: Add test case to test_pkgutil for walking path with
an unreadable directory.
Ned Deily [Thu, 6 Oct 2011 21:19:03 +0000 (14:19 -0700)]
Issue #7425: Refactor test_pydoc test case for '-k' behavior and add
new test cases for importing bad packages and unreadable packages dirs.
Antoine Pitrou [Thu, 6 Oct 2011 16:57:27 +0000 (18:57 +0200)]
Issue #12911: Fix memory consumption when calculating the repr() of huge tuples or lists.
This introduces a small private API for this common pattern.
The issue has been discovered thanks to Martin's huge-mem buildbot.
Éric Araujo [Thu, 6 Oct 2011 11:10:34 +0000 (13:10 +0200)]
Branch merge
Amaury Forgeot d'Arc [Wed, 5 Oct 2011 20:36:05 +0000 (22:36 +0200)]
Enable the only tests for sys.gettrace
Charles-François Natali [Wed, 5 Oct 2011 17:53:43 +0000 (19:53 +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.
Senthil Kumaran [Wed, 5 Oct 2011 16:32:02 +0000 (00:32 +0800)]
Issue13104 - Fix urllib.request.thishost() utility function.
Senthil Kumaran [Wed, 5 Oct 2011 15:26:49 +0000 (23:26 +0800)]
Issue #13073 - Address the review comments made by Ezio.
Éric Araujo [Tue, 4 Oct 2011 23:29:22 +0000 (01:29 +0200)]
Fix typo and case in a recently added test
Éric Araujo [Tue, 4 Oct 2011 23:28:24 +0000 (01:28 +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 '3.2' is a CPython detail and
should not be advertised (see #9442), even if some stdlib modules
currently rely on that detail.
Éric Araujo [Tue, 4 Oct 2011 23:17:38 +0000 (01:17 +0200)]
Move doc of sys.dont_write_bytecode to make all attributes sorted again
Charles-François Natali [Tue, 4 Oct 2011 21:35:47 +0000 (23:35 +0200)]
os.geteuid() may not be available...
Charles-François Natali [Tue, 4 Oct 2011 18:40:58 +0000 (20:40 +0200)]
Issue #11956: Always skip test_import.test_unwritable_directory when run as
root, since the semantics varies across Unix variants.
Charles-François Natali [Tue, 4 Oct 2011 17:17:26 +0000 (19:17 +0200)]
Issue #11956: Skip test_import.test_unwritable_directory on FreeBSD when run as
root (directory permissions are ignored).
Antoine Pitrou [Tue, 4 Oct 2011 12:43:47 +0000 (14:43 +0200)]
Try to fix linking failures under Windows
Antoine Pitrou [Tue, 4 Oct 2011 11:50:21 +0000 (13:50 +0200)]
Remove all other uses of the C tolower()/toupper() which could break with a Turkish locale.
Antoine Pitrou [Tue, 4 Oct 2011 11:35:28 +0000 (13:35 +0200)]
Issue #13099: Fix sqlite3.Cursor.lastrowid under a Turkish locale.
Reported and diagnosed by Thomas Kluyver.
Antoine Pitrou [Tue, 4 Oct 2011 10:26:34 +0000 (12:26 +0200)]
Add John to ACKS
Antoine Pitrou [Tue, 4 Oct 2011 10:26:20 +0000 (12:26 +0200)]
Issue #13087: BufferedReader.seek() now always raises UnsupportedOperation
if the underlying raw stream is unseekable, even if the seek could be
satisfied using the internal buffer. Patch by John O'Connor.
Antoine Pitrou [Tue, 4 Oct 2011 08:22:36 +0000 (10:22 +0200)]
Start fixing test_bigmem:
- bigmemtest is replaced by precisionbigmemtest
- add a poor man's watchdog thread to print memory consumption
Antoine Pitrou [Tue, 4 Oct 2011 07:23:04 +0000 (09:23 +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:44:22 +0000 (21:44 -0500)]
Issue #12881: ctypes: Fix segfault with large structure field names.
Senthil Kumaran [Sun, 2 Oct 2011 23:27:06 +0000 (07:27 +0800)]
Document message_body arg in HTTPConnection.endheaders
Antoine Pitrou [Sun, 2 Oct 2011 21:33:19 +0000 (23:33 +0200)]
Fix ResourceWarnings in the TIPC socket tests.
Ezio Melotti [Sun, 2 Oct 2011 09:44:50 +0000 (12:44 +0300)]
#13076: fix links to datetime.time and datetime.datetime.
R David Murray [Sat, 1 Oct 2011 20:19:51 +0000 (16:19 -0400)]
#4147: minidom's toprettyxml no longer adds whitespace to text nodes.
Patch by Dan Kenigsberg.
Antoine Pitrou [Sat, 1 Oct 2011 17:20:25 +0000 (19:20 +0200)]
Issue #13034: When decoding some SSL certificates, the subjectAltName extension could be unreported.
Charles-François Natali [Thu, 29 Sep 2011 17:46:37 +0000 (19:46 +0200)]
Issue #13058: ossaudiodev: fix a file descriptor leak on error. Patch by Thomas
Jarosch.
Meador Inge [Wed, 28 Sep 2011 01:45:30 +0000 (20:45 -0500)]
Issue #13013: ctypes: Fix a reference leak in PyCArrayType_from_ctype.
Thanks to Suman Saha for finding the bug and providing a patch.
Martin v. Löwis [Sun, 25 Sep 2011 15:36:11 +0000 (17:36 +0200)]
Depend setobject.o and dictobject.o on stringlib/eq.h.
Mark Dickinson [Sat, 24 Sep 2011 07:56:09 +0000 (08:56 +0100)]
Issue #12973: Fix itertools bug caused by signed integer overflow. Thanks Stefan Krah.
Benjamin Peterson [Fri, 23 Sep 2011 17:41:41 +0000 (13:41 -0400)]
fix compiler compliant about \0 not being an opcode
Victor Stinner [Fri, 23 Sep 2011 16:54:40 +0000 (18:54 +0200)]
Issue #7732: Don't open a directory as a file anymore while importing a
module. Ignore the direcotry if its name matchs the module name (e.g.
"__init__.py") and raise a ImportError instead.
Victor Stinner [Thu, 22 Sep 2011 23:29:44 +0000 (01:29 +0200)]
Issue #12931: Add a test with Unicode URI to test_xmlrpc
Charles-François Natali [Wed, 21 Sep 2011 20:03:58 +0000 (22:03 +0200)]
Fix a race condition in test_socket.ThreadableTest: the client is reported as
ready before having been set up.
Senthil Kumaran [Wed, 21 Sep 2011 18:09:17 +0000 (02:09 +0800)]
Fix closes issue13005 - Remove the mention of 'repeat' method in the operator module documentation.
Charles-François Natali [Wed, 21 Sep 2011 16:48:21 +0000 (18:48 +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:53:25 +0000 (03:53 +0200)]
Close #13022: _multiprocessing.recvfd() doesn't check that file descriptor was actually received
Victor Stinner [Tue, 20 Sep 2011 23:10:29 +0000 (01:10 +0200)]
test_multiprocessing removes temporary files
Victor Stinner [Tue, 20 Sep 2011 23:09:04 +0000 (01:09 +0200)]
test_httplib removes temporary files
Barry Warsaw [Tue, 20 Sep 2011 18:45:44 +0000 (14:45 -0400)]
- Issue #13021: Missing decref on an error path. Thanks to Suman Saha for
finding the bug and providing a patch.
Mark Dickinson [Mon, 19 Sep 2011 18:18:37 +0000 (19:18 +0100)]
Issue #12973: Fix undefined-behaviour-inducing overflow check in list_repeat.
Jesus Cea [Mon, 19 Sep 2011 15:08:18 +0000 (17:08 +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.
Georg Brandl [Sat, 17 Sep 2011 18:20:04 +0000 (20:20 +0200)]
Fix typo.
Victor Stinner [Thu, 15 Sep 2011 17:28:05 +0000 (19:28 +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.
Ned Deily [Wed, 14 Sep 2011 21:49:14 +0000 (14:49 -0700)]
Issue #9871: Prevent IDLE 3 crash when given byte stings
with invalid hex escape sequences, like b'\x0'.
(Original patch by Claudiu Popa.)
Stefan Krah [Wed, 14 Sep 2011 13:14:08 +0000 (15:14 +0200)]
Issue #11149: recent versions of clang require the -fwrapv flag.
Senthil Kumaran [Mon, 12 Sep 2011 23:14:13 +0000 (07:14 +0800)]
Fix issue12938 - Update the docstring of html.escape. Include the information on single quote.
Senthil Kumaran [Mon, 12 Sep 2011 22:40:27 +0000 (06:40 +0800)]
Add the quote_plus call in the test.
Amaury Forgeot d'Arc [Mon, 12 Sep 2011 19:03:36 +0000 (21:03 +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:15:26 +0000 (17:15 +0200)]
Branch merge
Stefan Krah [Mon, 12 Sep 2011 14:22:47 +0000 (16:22 +0200)]
Issue #12963: PyLong_AsSize_t() now returns (size_t)-1 in all error cases.
Éric Araujo [Sat, 10 Sep 2011 22:43:20 +0000 (00:43 +0200)]
Wrap pydoc output under 80 characters
Ezio Melotti [Sat, 10 Sep 2011 07:06:01 +0000 (10:06 +0300)]
#12940: fix cmd example. Patch by Tim Chase.
Jesus Cea [Sat, 10 Sep 2011 02:37:07 +0000 (04:37 +0200)]
NEWS
Jesus Cea [Sat, 10 Sep 2011 02:04:09 +0000 (04:04 +0200)]
Close #12950: multiprocessing "test_fd_transfer" fails under OpenIndiana
Éric Araujo [Fri, 9 Sep 2011 23:51:40 +0000 (01:51 +0200)]
Fix determination of Metadata version (#8933). Patch by Filip Gruszczyński.
Éric Araujo [Fri, 9 Sep 2011 23:34:44 +0000 (01:34 +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.
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:03:41 +0000 (19:03 +0200)]
Fix current name of the Python 3 binary on Unix (#12896).
Also fix some markup and typos.
Vinay Sajip [Tue, 6 Sep 2011 13:07:23 +0000 (14:07 +0100)]
Closes #12906: Fixed bug in YAML configuration.
Benjamin Peterson [Tue, 6 Sep 2011 11:57:26 +0000 (07:57 -0400)]
merge heads
Benjamin Peterson [Tue, 6 Sep 2011 11:55:34 +0000 (07:55 -0400)]
cast to getter
Victor Stinner [Tue, 6 Sep 2011 00:00:05 +0000 (02:00 +0200)]
Fix PyUnicode_AsWideCharString() doc: size doesn't contain the null character
Fix also spelling of the null character.
Victor Stinner [Mon, 5 Sep 2011 21:44:56 +0000 (23:44 +0200)]
Issue #9561: distutils now reads and writes egg-info files using UTF-8
instead of the locale encoding.
Victor Stinner [Mon, 5 Sep 2011 19:38:42 +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:21:30 +0000 (00:21 +0800)]
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:44:07 +0000 (17:44 +0200)]
Branch merge
Lars Gustäbel [Mon, 5 Sep 2011 14:58:14 +0000 (16:58 +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)
Ezio Melotti [Mon, 5 Sep 2011 14:11:06 +0000 (17:11 +0300)]
#12888: Fix a bug in HTMLParser.unescape that prevented it to escape more than 128 entities. Patch by Peter Otten.
Éric Araujo [Sun, 4 Sep 2011 23:53:52 +0000 (01:53 +0200)]
Branch merge
Martin v. Löwis [Sun, 4 Sep 2011 22:14:09 +0000 (00:14 +0200)]
Add 3.2.2 and 3.2.3 UUIDs.
Georg Brandl [Sun, 4 Sep 2011 06:36:22 +0000 (08:36 +0200)]
Post-release version bump.
Georg Brandl [Sun, 4 Sep 2011 06:35:54 +0000 (08:35 +0200)]
Merge with release clone.
Georg Brandl [Sun, 4 Sep 2011 06:10:25 +0000 (08:10 +0200)]
Typo fix.
Georg Brandl [Sat, 3 Sep 2011 16:08:11 +0000 (18:08 +0200)]
Added tag v3.2.2 for changeset
137e45f15c0b
Benjamin Peterson [Sat, 3 Sep 2011 13:26:20 +0000 (09:26 -0400)]
add a __dict__ descr for IOBase (closes #12878)
Éric Araujo [Fri, 2 Sep 2011 22:42:04 +0000 (00:42 +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
Łukasz Langa [Fri, 2 Sep 2011 21:17:39 +0000 (23:17 +0200)]
removed misleading editing leftovers
Sandro Tosi [Fri, 2 Sep 2011 19:24:40 +0000 (21:24 +0200)]
Give credit to Adam
Amaury Forgeot d'Arc [Fri, 2 Sep 2011 18:39:40 +0000 (20:39 +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:06:31 +0000 (20:06 +0200)]
#12781: Mention SO_REUSEADDR flag near socket examples
Éric Araujo [Fri, 2 Sep 2011 15:30:36 +0000 (17:30 +0200)]
Branch merge
Victor Stinner [Thu, 1 Sep 2011 23:00:40 +0000 (01:00 +0200)]
Issue #12636: IDLE reads the coding cookie when executing a Python script.
Victor Stinner [Thu, 1 Sep 2011 22:57:04 +0000 (00:57 +0200)]
IDLE: fix some RessourceWarning, reuse tokenize.open()
Victor Stinner [Thu, 1 Sep 2011 22:11:43 +0000 (00:11 +0200)]
Remove unused variable if Python is build without threads
Éric Araujo [Thu, 1 Sep 2011 21:37:56 +0000 (23:37 +0200)]
Fix typo (was build) and remove redundancy in docstring
Éric Araujo [Thu, 1 Sep 2011 21:10:36 +0000 (23:10 +0200)]
Add links from library/functions to other docs.
Suggested by Terry J. Reedy in #12298.
Éric Araujo [Thu, 1 Sep 2011 21:08:55 +0000 (23:08 +0200)]
Fix a few links in the table of built-in functions (#12298)
Benjamin Peterson [Thu, 1 Sep 2011 20:32:31 +0000 (16:32 -0400)]
make sure to initialize the method wrapper type
Éric Araujo [Thu, 1 Sep 2011 20:06:23 +0000 (22:06 +0200)]
Remove obsolete comment
Antoine Pitrou [Thu, 1 Sep 2011 19:37:43 +0000 (21:37 +0200)]
Issue #12802: the Windows error ERROR_DIRECTORY (numbered 267) is now
mapped to POSIX errno ENOTDIR (previously EINVAL).
Éric Araujo [Thu, 1 Sep 2011 18:00:33 +0000 (20:00 +0200)]
#10454: a few edits to compileall help messages