]>
granicus.if.org Git - python/log
R David Murray [Thu, 5 May 2011 01:05:52 +0000 (21:05 -0400)]
#8158: add missing 'description' description to optparse docstring.
Victor Stinner [Wed, 4 May 2011 19:40:36 +0000 (21:40 +0200)]
Issue #11277: oops, fix checksum values of test_zlib on 32 bits
Victor Stinner [Wed, 4 May 2011 19:27:39 +0000 (21:27 +0200)]
Issue #11277: test_zlib tests a buffer of 1 GB on 32 bits
(instead of a buffer of 2 GB)
Ezio Melotti [Wed, 4 May 2011 15:37:50 +0000 (18:37 +0300)]
#11985: update docstring of platform.python_implementation.
Ezio Melotti [Wed, 4 May 2011 12:28:31 +0000 (15:28 +0300)]
#11982: remove now unused function.
Victor Stinner [Wed, 4 May 2011 12:02:11 +0000 (14:02 +0200)]
Issue #11277: fix issue number in a test_zlib comment
Ezio Melotti [Wed, 4 May 2011 11:40:53 +0000 (14:40 +0300)]
#11982: fix json.loads('""') to return u'' rather than ''.
Brian Curtin [Wed, 4 May 2011 03:01:53 +0000 (22:01 -0500)]
Fix #11834. Correct site-packages paths.
Patch by Bryce Verdier.
Brian Curtin [Tue, 3 May 2011 18:36:34 +0000 (13:36 -0500)]
Denote 3.3.0 as the last supported Windows 2000 release.
This corresponds with change
b9390aa12855 to PEP-11.
Ezio Melotti [Tue, 3 May 2011 17:41:48 +0000 (20:41 +0300)]
#11985: document the return value of platform.python_implementation for PyPy.
Victor Stinner [Tue, 3 May 2011 15:25:28 +0000 (17:25 +0200)]
Issue #10276: Fix test_zlib, m may be undefined in the finally block
Victor Stinner [Tue, 3 May 2011 13:19:23 +0000 (15:19 +0200)]
Issue #10276: test_zlib checks that inputs of 2 GB are handled correctly by
crc32() and adler32(). Patch written by Steffen Daode Nurpmeso.
Victor Stinner [Tue, 3 May 2011 13:09:24 +0000 (15:09 +0200)]
Issue #8651: PyArg_Parse*() functions raise an OverflowError if the file
doesn't have PY_SSIZE_T_CLEAN define and the size doesn't fit in an int (length
bigger than 2^31-1 bytes).
Victor Stinner [Tue, 3 May 2011 13:06:11 +0000 (15:06 +0200)]
Issue #8651: Fix "z#" format of PyArg_Parse*() function: the size was not
written if PY_SSIZE_T_CLEAN is defined.
Victor Stinner [Tue, 3 May 2011 12:36:36 +0000 (14:36 +0200)]
(Merge 3.1) Issue #11277: mmap.mmap() calls fcntl(fd, F_FULLFSYNC) on Mac OS X
to get around a mmap bug with sparse files. Patch written by Steffen Daode
Nurpmeso.
Éric Araujo [Mon, 2 May 2011 11:36:18 +0000 (13:36 +0200)]
Branch merge
Éric Araujo [Mon, 2 May 2011 11:09:36 +0000 (13:09 +0200)]
Fix grammar to include both integer types in 2.x
Raymond Hettinger [Mon, 2 May 2011 01:14:49 +0000 (18:14 -0700)]
Fix spelling.
Benjamin Peterson [Sun, 1 May 2011 22:38:17 +0000 (17:38 -0500)]
note abcs of int and float (closes #11977)
Victor Stinner [Sun, 1 May 2011 21:51:11 +0000 (23:51 +0200)]
(Merge 3.1) Issue #9756: credit the author, Andreas Stührk (Trundle)
Victor Stinner [Sun, 1 May 2011 21:43:37 +0000 (23:43 +0200)]
(Merge 3.1) Issue #9756: When calling a method descriptor or a slot wrapper
descriptor, the check of the object type doesn't read the __class__ attribute
anymore. Fix a crash if a class override its __class__ attribute (e.g. a proxy
of the str type).
Georg Brandl [Sun, 1 May 2011 20:36:31 +0000 (22:36 +0200)]
Split combined code/doctest code blocks in two blocks, to enable proper highlighting.
R David Murray [Sun, 1 May 2011 15:12:35 +0000 (11:12 -0400)]
#11971: fix man page; it's -OO not -O0
Patch by Lars Michelsen.
Éric Araujo [Sun, 1 May 2011 00:15:03 +0000 (02:15 +0200)]
Fix wording
Éric Araujo [Sun, 1 May 2011 00:09:37 +0000 (02:09 +0200)]
Branch merge
Éric Araujo [Sun, 1 May 2011 00:02:30 +0000 (02:02 +0200)]
Add docstring to anydbm.open
Éric Araujo [Sun, 1 May 2011 00:05:58 +0000 (02:05 +0200)]
Fix file handle leak
R David Murray [Sat, 30 Apr 2011 21:26:02 +0000 (17:26 -0400)]
#11883: fix email examples by adding 'localhost' to SMTP constructor calls
R David Murray [Sat, 30 Apr 2011 20:34:35 +0000 (16:34 -0400)]
#11901: post-commit review fixes per Georg Brandl
Benjamin Peterson [Sat, 30 Apr 2011 18:14:56 +0000 (13:14 -0500)]
fix function name in example (closes #11966)
Eli Bendersky [Sat, 30 Apr 2011 06:02:12 +0000 (09:02 +0300)]
fix formatting, :c:func: --> :cfunc:
Eli Bendersky [Sat, 30 Apr 2011 05:51:55 +0000 (08:51 +0300)]
Issue #10912: add clarification for PyObject_RichCompareBool comparing identical objects
Brian Curtin [Sat, 30 Apr 2011 03:23:46 +0000 (22:23 -0500)]
Fix #11961. Document STARTUPINFO and creation flag options.
Brian Curtin [Fri, 29 Apr 2011 21:28:52 +0000 (16:28 -0500)]
whitespace fix
Brian Curtin [Fri, 29 Apr 2011 21:21:51 +0000 (16:21 -0500)]
merge
Ezio Melotti [Fri, 29 Apr 2011 04:10:24 +0000 (07:10 +0300)]
#11952: Fix typo in multiprocessing doc.
Łukasz Langa [Thu, 28 Apr 2011 15:40:19 +0000 (17:40 +0200)]
Merged solution for #11786 from 2.6
Łukasz Langa [Thu, 28 Apr 2011 15:27:59 +0000 (17:27 +0200)]
Closes #11786: ConfigParser.[Raw]ConfigParser optionxform().
Senthil Kumaran [Thu, 28 Apr 2011 09:00:19 +0000 (17:00 +0800)]
skip the extractall test on platforms where os.symlink is not available.
Senthil Kumaran [Thu, 28 Apr 2011 07:30:31 +0000 (15:30 +0800)]
Fix closes issue10761: tarfile.extractall failure when symlinked files are present.
Ezio Melotti [Thu, 28 Apr 2011 04:59:33 +0000 (07:59 +0300)]
Backport test from #11926.
Raymond Hettinger [Wed, 27 Apr 2011 23:34:07 +0000 (16:34 -0700)]
Issue #11940: Update external link.
Ezio Melotti [Wed, 27 Apr 2011 21:48:46 +0000 (00:48 +0300)]
#11942: Fix return type of Py_AddPendingCall. Patch by Sandro Tosi.
Antoine Pitrou [Wed, 27 Apr 2011 17:26:06 +0000 (19:26 +0200)]
Move NEWS entry to the right section.
Antoine Pitrou [Wed, 27 Apr 2011 17:20:48 +0000 (19:20 +0200)]
Issue #10517: After fork(), reinitialize the TLS used by the PyGILState_*
APIs, to avoid a crash with the pthread implementation in RHEL 5. Patch
by Charles-François Natali.
Ezio Melotti [Wed, 27 Apr 2011 06:45:46 +0000 (09:45 +0300)]
#11763: don't use difflib in TestCase.assertMultiLineEqual if the strings are too long.
Senthil Kumaran [Tue, 26 Apr 2011 13:17:45 +0000 (21:17 +0800)]
Update NEWS for Issue11236.
Senthil Kumaran [Tue, 26 Apr 2011 13:02:26 +0000 (21:02 +0800)]
issue11236 getpass.getpass to respond ctrl-c or ctrl-z
Ezio Melotti [Tue, 26 Apr 2011 02:12:51 +0000 (05:12 +0300)]
#6780: fix starts/endswith error message to mention that tuples are accepted too.
R David Murray [Mon, 25 Apr 2011 20:10:18 +0000 (16:10 -0400)]
#11901: add description of how bitfields are laid out to hexversion docs
Patch by Sijin Joseph.
Jesus Cea [Mon, 25 Apr 2011 01:20:54 +0000 (03:20 +0200)]
pybench prep_times calculation error (closes #11895)
Raymond Hettinger [Sun, 24 Apr 2011 19:55:28 +0000 (12:55 -0700)]
Other minor clean-ups.
Raymond Hettinger [Sun, 24 Apr 2011 19:30:39 +0000 (12:30 -0700)]
Remove unused branch in the clear() method. Minor comment edits.
Raymond Hettinger [Sun, 24 Apr 2011 03:11:50 +0000 (20:11 -0700)]
Minor code clean-up.
Raymond Hettinger [Sun, 24 Apr 2011 01:37:37 +0000 (18:37 -0700)]
Remove unused imports
Raymond Hettinger [Sat, 23 Apr 2011 22:51:38 +0000 (15:51 -0700)]
Minor code simplification.
Raymond Hettinger [Sat, 23 Apr 2011 22:41:38 +0000 (15:41 -0700)]
Minor code simplification.
Raymond Hettinger [Sat, 23 Apr 2011 01:49:53 +0000 (18:49 -0700)]
Cleanups to remove dependencies and add docstrings.
Ezio Melotti [Thu, 21 Apr 2011 22:29:13 +0000 (01:29 +0300)]
Fix some more markup glitches in argparse doc.
Ezio Melotti [Thu, 21 Apr 2011 20:30:27 +0000 (23:30 +0300)]
The \ is not supported in Sphinx 0.6.
Ezio Melotti [Thu, 21 Apr 2011 20:09:27 +0000 (23:09 +0300)]
#11905: fix missing full stop in argparse doc. Noticed by Vladimir Rutsky.
Ezio Melotti [Thu, 21 Apr 2011 20:06:48 +0000 (23:06 +0300)]
#11904: fix indentation in argparse doc. Noticed by Vladimir Rutsky.
Ezio Melotti [Thu, 21 Apr 2011 19:56:51 +0000 (22:56 +0300)]
#11902: Fix typo in argparse doc. Noticed by Vladimir Rutsky.
Ezio Melotti [Thu, 21 Apr 2011 13:12:17 +0000 (16:12 +0300)]
Add the :mod: role where it was missing.
Ezio Melotti [Thu, 21 Apr 2011 12:26:46 +0000 (15:26 +0300)]
#11885: capitalize Python.
Raymond Hettinger [Wed, 20 Apr 2011 20:11:38 +0000 (13:11 -0700)]
Minor text rearrangement.
Ezio Melotti [Wed, 20 Apr 2011 18:29:31 +0000 (21:29 +0300)]
Fix wrong function name. Noticed by Clive Darke.
Jesus Cea [Wed, 20 Apr 2011 14:39:15 +0000 (16:39 +0200)]
startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828)
Brian Curtin [Wed, 20 Apr 2011 02:15:55 +0000 (21:15 -0500)]
Fix #8886. Use context managers throughout zipfile tests.
This was fixed in py3k SVN. Consider this a backport.
Raymond Hettinger [Tue, 19 Apr 2011 23:53:07 +0000 (16:53 -0700)]
Issue #11875: Alter the previous fix to work better with subclasses
Ezio Melotti [Tue, 19 Apr 2011 20:12:37 +0000 (23:12 +0300)]
Fix wrong number of functions noticed by Sandro Tosi.
Raymond Hettinger [Tue, 19 Apr 2011 16:52:21 +0000 (09:52 -0700)]
Use a generic class lookup.
Raymond Hettinger [Tue, 19 Apr 2011 16:48:39 +0000 (09:48 -0700)]
Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object.
Vinay Sajip [Tue, 19 Apr 2011 12:47:23 +0000 (13:47 +0100)]
Updated documentation on fileConfig().
Nadeem Vawda [Mon, 18 Apr 2011 23:35:58 +0000 (01:35 +0200)]
Fix sporadic failure in test_startfile.
Wait for the child process to terminate before ending the test, so that the
regrtest cleanup code doesn't get an error when it tries to delete the
temporary CWD.
Victor Stinner [Mon, 18 Apr 2011 14:34:31 +0000 (16:34 +0200)]
Issue #11768: signal.set_wakeup_fd() and PySignal_SetWakeupFd() added in 2.6
Fix the documentation.
Victor Stinner [Mon, 18 Apr 2011 14:33:28 +0000 (16:33 +0200)]
(Merge 3.1) Issue #11768: The signal handler of the signal module only calls
Py_AddPendingCall() for the first signal to fix a deadlock on reentrant or
parallel calls. PyErr_SetInterrupt() writes also into the wake up file.
Ezio Melotti [Mon, 18 Apr 2011 07:11:21 +0000 (10:11 +0300)]
#11865: fix typo in init.rst.
Raymond Hettinger [Mon, 18 Apr 2011 03:08:41 +0000 (20:08 -0700)]
Rework multiset methods to use less memory and to make fewer calls to __hash__.
Martin v. Löwis [Sun, 17 Apr 2011 21:01:13 +0000 (23:01 +0200)]
merge 11442 NEWS
Martin v. Löwis [Sun, 17 Apr 2011 20:56:19 +0000 (22:56 +0200)]
merge 11442 NEWS
Martin v. Löwis [Sun, 17 Apr 2011 20:29:40 +0000 (22:29 +0200)]
Issue 11442: Add NEWS entry for
e9724d7abbc2
Éric Araujo [Sat, 16 Apr 2011 21:47:53 +0000 (23:47 +0200)]
Advertise nesting directives for class/method and class/data combos.
Also fix a typo and a misleading example (method used to describe function).
Ezio Melotti [Sat, 16 Apr 2011 20:04:51 +0000 (23:04 +0300)]
Fix a few hyphens in argparse.rst.
Eli Bendersky [Sat, 16 Apr 2011 12:28:42 +0000 (15:28 +0300)]
Issue #11855: Apply missing formatting for urlretrieve
Raymond Hettinger [Sat, 16 Apr 2011 00:55:36 +0000 (17:55 -0700)]
Add another example to the collections module docs.
Éric Araujo [Fri, 15 Apr 2011 22:13:39 +0000 (00:13 +0200)]
Fix double use of f.close().
The other one is in a finally block not seen in the diff, which I added
in
3bf86785cd9c (for #10252).
Éric Araujo [Fri, 15 Apr 2011 21:34:31 +0000 (23:34 +0200)]
Minor tweaks to a few comments in heapq
Raymond Hettinger [Fri, 15 Apr 2011 20:12:21 +0000 (13:12 -0700)]
Fix minor subclassing issue with collections.Counter
Ezio Melotti [Fri, 15 Apr 2011 15:05:09 +0000 (18:05 +0300)]
#11843: remove duplicate line from table in distutil doc.
Ezio Melotti [Fri, 15 Apr 2011 13:14:04 +0000 (16:14 +0300)]
Issue #5057: fix a bug in the peepholer that led to non-portable pyc files between narrow and wide builds while optimizing BINARY_SUBSCR on non-BMP chars (e.g. u"\U00012345"[0]).
Senthil Kumaran [Fri, 15 Apr 2011 10:07:33 +0000 (18:07 +0800)]
Issue #11467: Fix urlparse behavior when handling urls which contains scheme
specific part only digits. Patch by Santoso Wijaya.
Ezio Melotti [Fri, 15 Apr 2011 05:25:16 +0000 (08:25 +0300)]
#11848: replace dead link in random.betavariate comment.
Ezio Melotti [Fri, 15 Apr 2011 04:37:00 +0000 (07:37 +0300)]
#4783: document that is not possible to use json.dump twice on the same stream.
Eli Bendersky [Fri, 15 Apr 2011 04:35:06 +0000 (07:35 +0300)]
Issue #11827: remove mention of list2cmdline in the doc of subprocess
Senthil Kumaran [Thu, 14 Apr 2011 04:58:32 +0000 (12:58 +0800)]
merge the changes.
Senthil Kumaran [Thu, 14 Apr 2011 04:54:35 +0000 (12:54 +0800)]
Fix Issue11474 - url2pathname() handling of '/C|/' on Windows
Ezio Melotti [Thu, 14 Apr 2011 04:39:06 +0000 (07:39 +0300)]
#11840: Improve c-api/unicode documentation. Patch by Sandro Tosi.
Ezio Melotti [Thu, 14 Apr 2011 03:53:44 +0000 (06:53 +0300)]
#9101: backport json reference in configparser doc.
Éric Araujo [Thu, 14 Apr 2011 01:49:19 +0000 (03:49 +0200)]
Fix improper tests in RegisterTestCase