]>
granicus.if.org Git - python/log
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
Ezio Melotti [Thu, 14 Apr 2011 04:43:53 +0000 (07:43 +0300)]
#11840: Improve c-api/unicode documentation. Patch by Sandro Tosi.
Ezio Melotti [Thu, 14 Apr 2011 03:41:38 +0000 (06:41 +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
Éric Araujo [Fri, 15 Apr 2011 21:34:31 +0000 (23:34 +0200)]
Minor tweaks to a few comments in heapq
Brian Curtin [Wed, 13 Apr 2011 21:04:27 +0000 (16:04 -0500)]
Remove inexistent tools
R David Murray [Wed, 13 Apr 2011 18:12:18 +0000 (14:12 -0400)]
Fix wording and clarify that the IDNA codec operates on full domain names.
Before reading the code to check, I wasn't sure if it operated on
full domain names or just individual labels.
Ezio Melotti [Wed, 13 Apr 2011 13:43:21 +0000 (16:43 +0300)]
Fix typo in docstring.
Ezio Melotti [Wed, 13 Apr 2011 04:10:13 +0000 (07:10 +0300)]
#9233: Fix json.loads({}) to return a dict (instead of a list), when _json is not available.
Ezio Melotti [Wed, 13 Apr 2011 04:08:17 +0000 (07:08 +0300)]
Remove unnecessary imports and use assertIs instead of assertTrue.
Ezio Melotti [Wed, 13 Apr 2011 04:04:18 +0000 (07:04 +0300)]
#9233: Fix json to work properly even when _json is not available.
Ezio Melotti [Wed, 13 Apr 2011 03:58:29 +0000 (06:58 +0300)]
#9233: skip _json-specific tests when _json is not available.
Senthil Kumaran [Wed, 13 Apr 2011 01:35:37 +0000 (09:35 +0800)]
Merge updates
Senthil Kumaran [Wed, 13 Apr 2011 01:21:01 +0000 (09:21 +0800)]
Update the News for the fix to Issue11703.
R David Murray [Wed, 13 Apr 2011 01:02:45 +0000 (21:02 -0400)]
#10019: Fix regression relative to 2.6: add newlines if indent=0
Patch by Amaury Forgeot d'Arc, updated by Sando Tosi.
Benjamin Peterson [Tue, 12 Apr 2011 23:34:06 +0000 (18:34 -0500)]
merge heads
Benjamin Peterson [Tue, 12 Apr 2011 23:33:28 +0000 (18:33 -0500)]
make assigning to a bytes literal a syntax error (closes #11506)
Senthil Kumaran [Tue, 12 Apr 2011 23:01:19 +0000 (07:01 +0800)]
Fix Issue11703 - urllib2.geturl() does not return correct url when the original url contains #fragment. Patch Contribution by Santoso Wijaya.
Raymond Hettinger [Tue, 12 Apr 2011 22:14:12 +0000 (15:14 -0700)]
Issue 11747: Fix output format for context diffs.
R David Murray [Tue, 12 Apr 2011 19:00:44 +0000 (15:00 -0400)]
Add maxlinelen to docstring, delete obsolete wording
Brian Curtin [Mon, 11 Apr 2011 23:35:18 +0000 (18:35 -0500)]
Correct leading spaces in my NEWS entry.
brian.curtin [Mon, 11 Apr 2011 23:09:24 +0000 (18:09 -0500)]
Add NEWS item for #5162.
brian.curtin [Mon, 11 Apr 2011 22:56:23 +0000 (17:56 -0500)]
Fix #5162. Allow child spawning from Windows services (via pywin32).
Ned Deily [Sat, 9 Apr 2011 21:50:59 +0000 (14:50 -0700)]
Issue9670: Back out changeset
378b40d71175 ; test fails on other platforms
and on OS X with pydebug.