]>
granicus.if.org Git - python/log
Ezio Melotti [Sat, 14 May 2011 05:22:47 +0000 (08:22 +0300)]
#7960: fix docstrings for captured_output and captured_stdout.
Ezio Melotti [Sat, 14 May 2011 03:38:03 +0000 (06:38 +0300)]
#5723: Improve json tests to be executed with and without accelerations.
Ezio Melotti [Sat, 14 May 2011 03:02:25 +0000 (06:02 +0300)]
Change import_fresh_module to work with packages.
Antoine Pitrou [Thu, 12 May 2011 22:13:33 +0000 (00:13 +0200)]
Issue #12062: Fix a flushing bug when doing a certain type of I/O sequence
on a file opened in read+write mode (namely: reading, seeking a bit forward,
writing, then seeking before the previous write but still within buffered
data, and writing again).
Kurt B. Kaiser [Thu, 12 May 2011 19:25:24 +0000 (15:25 -0400)]
Issue #11896: Save on Close failed despite selecting "Yes" in dialog.
_tkinter.c is returning <class '_tkinter.Tcl_Obj'> sometimes. Don't use
tkinter.messagebox.Message - use the helper functions which convert to str.
Kurt B. Kaiser [Wed, 11 May 2011 16:24:17 +0000 (12:24 -0400)]
Issue #1028: Tk returns invalid Unicode null in %A: UnicodeDecodeError.
With Tk < 8.5 _tkinter.c:PythonCmd() raised UnicodeDecodeError, caused IDLE to
exit. Converted to valid Unicode null in PythonCmd().
Victor Stinner [Tue, 10 May 2011 22:57:29 +0000 (00:57 +0200)]
Issue #10419: Fix build_scripts command of distutils to handle correctly
non-ASCII scripts. Open and write the script in binary mode, but ensure that
the shebang is decodable from UTF-8 and from the encoding of the script.
Ezio Melotti [Tue, 10 May 2011 22:02:56 +0000 (01:02 +0300)]
#12051: Fix segfault in json.dumps() while encoding highly-nested objects using the C accelerations.
Victor Stinner [Mon, 9 May 2011 22:38:00 +0000 (00:38 +0200)]
Issue #12012: ssl.PROTOCOL_SSLv2 becomes optional
OpenSSL is now compiled with OPENSSL_NO_SSL2 defined (without the SSLv2
protocol) on Debian: fix the ssl module on Debian Testing and Debian Sid.
Optimize also ssl.get_protocol_name(): speed does matter!
Victor Stinner [Mon, 9 May 2011 22:19:53 +0000 (00:19 +0200)]
Issue #1195: Fix input() if it is interrupted by CTRL+d and then CTRL+c,
clear the end-of-file indicator after CTRL+d.
Ezio Melotti [Mon, 9 May 2011 15:36:53 +0000 (18:36 +0300)]
Some more tests were incorrectly marked as C specific.
Martin v. Löwis [Mon, 9 May 2011 06:05:43 +0000 (08:05 +0200)]
Stop trying to use _xmlplus in the xml module. Closes #11164.
Patch by Arfrever Frehtes Taifersar Arahesis.
Ezio Melotti [Mon, 9 May 2011 04:15:04 +0000 (07:15 +0300)]
#11910: Fix test_heapq to skip the C tests when _heapq is missing.
Ezio Melotti [Mon, 9 May 2011 03:41:55 +0000 (06:41 +0300)]
#11910: change import_fresh_module to return None when one of the "fresh" modules can not be imported.
Ezio Melotti [Mon, 9 May 2011 00:54:30 +0000 (03:54 +0300)]
Add a note to the str.find doc to suggest the use of the "in" operator.
Benjamin Peterson [Sun, 8 May 2011 20:32:46 +0000 (15:32 -0500)]
put import_fresh_module in __all__
Ezio Melotti [Sun, 8 May 2011 16:58:08 +0000 (19:58 +0300)]
Add back Misc/NEWS entry that got lost during merge, and fix a couple of other things.
Antoine Pitrou [Sat, 7 May 2011 17:45:34 +0000 (19:45 +0200)]
Merge
Antoine Pitrou [Sat, 7 May 2011 17:39:37 +0000 (19:39 +0200)]
Issue #11927: SMTP_SSL now uses port 465 by default as documented. Patch by Kasun Herath.
Giampaolo Rodola' [Sat, 7 May 2011 17:35:36 +0000 (19:35 +0200)]
merge
Giampaolo Rodola' [Sat, 7 May 2011 17:03:47 +0000 (19:03 +0200)]
#12002 - ftplib's abort() method raises TypeError
Ezio Melotti [Sat, 7 May 2011 16:47:48 +0000 (19:47 +0300)]
#5421: add tests.
Ezio Melotti [Sat, 7 May 2011 14:58:09 +0000 (17:58 +0300)]
#12017: Fix segfault in json.loads() while decoding highly-nested objects using the C accelerations.
Nadeem Vawda [Sat, 7 May 2011 12:35:05 +0000 (14:35 +0200)]
Fix potential resource leak in test_mmap.
Nadeem Vawda [Sat, 7 May 2011 12:14:53 +0000 (14:14 +0200)]
Issue #11277: Fix tests - crash will not trigger if the file is closed and reopened.
Nadeem Vawda [Sat, 7 May 2011 11:01:50 +0000 (13:01 +0200)]
Issue #11277: Add tests for mmap crash when using large sparse files on OS X.
Also, reduce code duplication in LargeMmapTests.
Original patch by Steffen Daode Nurpmeso.
R David Murray [Sat, 7 May 2011 02:07:19 +0000 (22:07 -0400)]
#11999: sync based on comparing mtimes, not mtime to system clock
Ronald Oussoren [Fri, 6 May 2011 08:23:04 +0000 (10:23 +0200)]
Fix for issue 10684: Folders get deleted when trying to change case with shutil.move (case insensitive file systems only)
Ezio Melotti [Thu, 5 May 2011 11:19:48 +0000 (14:19 +0300)]
#11997: fix typo in init.rst.
R David Murray [Thu, 5 May 2011 01:06:57 +0000 (21:06 -0400)]
#8158: add missing 'description' description to optparse docstring.
Ezio Melotti [Wed, 4 May 2011 15:37:50 +0000 (18:37 +0300)]
#11985: update docstring of platform.python_implementation.
Brian Curtin [Wed, 4 May 2011 02:57:00 +0000 (21:57 -0500)]
Fix #11834. Correct site-packages paths.
Patch by Bryce Verdier.
Ezio Melotti [Tue, 3 May 2011 17:41:48 +0000 (20:41 +0300)]
#11985: document the return value of platform.python_implementation for PyPy.
Éric Araujo [Mon, 2 May 2011 11:10:36 +0000 (13:10 +0200)]
Branch merge
Éric Araujo [Mon, 2 May 2011 11:10:18 +0000 (13:10 +0200)]
Add missing colon
Raymond Hettinger [Mon, 2 May 2011 01:14:49 +0000 (18:14 -0700)]
Fix spelling.
Victor Stinner [Sun, 1 May 2011 23:05:37 +0000 (01:05 +0200)]
Issue #11277: 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.
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:46:48 +0000 (23:46 +0200)]
Issue #9756: credit the author, Andreas Stührk (Trundle)
Victor Stinner [Sun, 1 May 2011 21:19:15 +0000 (23:19 +0200)]
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).
R David Murray [Sun, 1 May 2011 15:13:56 +0000 (11:13 -0400)]
#11971: fix man page; it's -OO not -O0
Patch by Lars Michelsen.
Éric Araujo [Sun, 1 May 2011 00:14:48 +0000 (02:14 +0200)]
Fix wording
R David Murray [Sat, 30 Apr 2011 21:26:32 +0000 (17:26 -0400)]
#11883: fix email examples by adding 'localhost' to SMTP constructor calls
R David Murray [Sat, 30 Apr 2011 20:35:29 +0000 (16:35 -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)
Brian Curtin [Sat, 30 Apr 2011 03:18:33 +0000 (22:18 -0500)]
whitespace...
Brian Curtin [Sat, 30 Apr 2011 03:17:51 +0000 (22:17 -0500)]
Fix #11961. Document STARTUPINFO and creation flag options.
Senthil Kumaran [Fri, 29 Apr 2011 22:06:28 +0000 (06:06 +0800)]
Wrap the testskip decorator for the proper test to resolve bb failure.
Brian Curtin [Fri, 29 Apr 2011 20:48:13 +0000 (15:48 -0500)]
Further fix #7838. CREATE_NEW_CONSOLE was exposed, but none of the
constants to be used for STARTUPINFO were exposed due to the change.
Ezio Melotti [Fri, 29 Apr 2011 04:10:24 +0000 (07:10 +0300)]
#11952: Fix typo in multiprocessing doc.
Senthil Kumaran [Thu, 28 Apr 2011 09:05:55 +0000 (17:05 +0800)]
skip the extractall test on platforms where os.symlink is not available.
Senthil Kumaran [Thu, 28 Apr 2011 07:38:12 +0000 (15:38 +0800)]
Add tests for tarfile extractall feature when with symlinks
Ezio Melotti [Thu, 28 Apr 2011 04:42:55 +0000 (07:42 +0300)]
#11926: add missing keywords to help("keywords").
Raymond Hettinger [Wed, 27 Apr 2011 23:32:08 +0000 (16:32 -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.
Éric Araujo [Wed, 27 Apr 2011 14:23:56 +0000 (16:23 +0200)]
Branch merge
Éric Araujo [Wed, 27 Apr 2011 14:22:32 +0000 (16:22 +0200)]
Change markup so it generates a link
Ezio Melotti [Wed, 27 Apr 2011 07:17:34 +0000 (10:17 +0300)]
#11763: don't use difflib in TestCase.assertMultiLineEqual if the strings are too long.
Senthil Kumaran [Tue, 26 Apr 2011 13:09:49 +0000 (21:09 +0800)]
Update News entry for Issue11236
Senthil Kumaran [Tue, 26 Apr 2011 12:59:46 +0000 (20:59 +0800)]
Fix for issue11236 getpass.getpass to respond ctrl-c or ctrl-z
Ezio Melotti [Tue, 26 Apr 2011 03:09:45 +0000 (06:09 +0300)]
#6780: fix starts/endswith error message to mention that tuples are accepted too.
R David Murray [Mon, 25 Apr 2011 20:12:26 +0000 (16:12 -0400)]
#11901: add description of how bitfields are laid out to hexversion docs
Patch by Sijin Joseph.
Éric Araujo [Mon, 25 Apr 2011 17:05:53 +0000 (19:05 +0200)]
Change markup so that it creates a link
Jesus Cea [Mon, 25 Apr 2011 01:24:08 +0000 (03:24 +0200)]
pybench prep_times calculation error (closes #11895)
Éric Araujo [Sun, 24 Apr 2011 15:10:30 +0000 (17:10 +0200)]
Remove obsolete/duplicate docstring
Éric Araujo [Sun, 24 Apr 2011 00:34:11 +0000 (02:34 +0200)]
Branch merge
Éric Araujo [Fri, 22 Apr 2011 19:27:10 +0000 (21:27 +0200)]
Fix weird executable name
Éric Araujo [Thu, 21 Apr 2011 00:37:41 +0000 (02:37 +0200)]
Add a space to make json doc a bit more readable
Jesus Cea [Wed, 20 Apr 2011 20:38:26 +0000 (22:38 +0200)]
merge heads
Jesus Cea [Wed, 20 Apr 2011 20:26:57 +0000 (22:26 +0200)]
Port
5b607cd8c71b (closes #11892)
Raymond Hettinger [Wed, 20 Apr 2011 20:03:49 +0000 (13:03 -0700)]
Minor text rearrangement.
Jesus Cea [Wed, 20 Apr 2011 18:51:09 +0000 (20:51 +0200)]
merge
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 18:24:57 +0000 (20:24 +0200)]
Up-port changeset
5cf8f6da8743 (closes #11890)
Éric Araujo [Wed, 20 Apr 2011 17:11:12 +0000 (19:11 +0200)]
Fix argument name in reST doc to match the code
Éric Araujo [Wed, 20 Apr 2011 16:54:12 +0000 (18:54 +0200)]
Branch merge
Éric Araujo [Wed, 20 Apr 2011 16:52:55 +0000 (18:52 +0200)]
Add docstring to dbm.open
Jesus Cea [Wed, 20 Apr 2011 15:09:23 +0000 (17:09 +0200)]
startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828)
Raymond Hettinger [Wed, 20 Apr 2011 00:17:23 +0000 (17:17 -0700)]
Issue #11875: Alter the previous fix to work better with subclasses
Ezio Melotti [Tue, 19 Apr 2011 20:15:13 +0000 (23:15 +0300)]
Fix wrong number of functions noticed by Sandro Tosi.
Raymond Hettinger [Tue, 19 Apr 2011 18:12:47 +0000 (11:12 -0700)]
merge
Raymond Hettinger [Tue, 19 Apr 2011 17:05:53 +0000 (10:05 -0700)]
Hmm, __ne__ was missing
Raymond Hettinger [Tue, 19 Apr 2011 17:05:03 +0000 (10:05 -0700)]
Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object.
Nadeem Vawda [Mon, 18 Apr 2011 23:38:47 +0000 (01:38 +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:25:56 +0000 (16:25 +0200)]
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 02:46:46 +0000 (19:46 -0700)]
Rework multiset methods to use less memory and to make fewer calls to __hash__.
Éric Araujo [Sun, 17 Apr 2011 12:27:07 +0000 (14:27 +0200)]
Fix resource warning found manually
É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).
Georg Brandl [Sat, 16 Apr 2011 14:54:15 +0000 (16:54 +0200)]
Small wording fix.
Eli Bendersky [Sat, 16 Apr 2011 12:32:13 +0000 (15:32 +0300)]
Issue #11855: Apply missing formatting for urlretrieve
Raymond Hettinger [Sat, 16 Apr 2011 00:43:19 +0000 (17:43 -0700)]
Add another example to the collections module docs.
Raymond Hettinger [Fri, 15 Apr 2011 20:16:46 +0000 (13:16 -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:38:34 +0000 (16:38 +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. "\U00012345"[0]).
Senthil Kumaran [Fri, 15 Apr 2011 10:20:24 +0000 (18:20 +0800)]
Issue #11467: Fix urlparse behavior when handling urls which contains scheme specific part only digits.
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:23:26 +0000 (07:23 +0300)]
Issue #11827: remove mention of list2cmdline in the doc of subprocess
Senthil Kumaran [Thu, 14 Apr 2011 05:16:30 +0000 (13:16 +0800)]
Fix Issue11474 - fix url2pathname() handling of '/C|/' on Windows