]>
granicus.if.org Git - python/log
Senthil Kumaran [Mon, 24 Dec 2012 21:56:54 +0000 (13:56 -0800)]
Fix issue16713 - tel url parsing with params
Andrew Svetlov [Mon, 24 Dec 2012 18:09:27 +0000 (20:09 +0200)]
Keep ref to ECHILD in local scope (#16650)
Mark Dickinson [Mon, 24 Dec 2012 16:33:18 +0000 (16:33 +0000)]
Issue #13863: fix incorrect .pyc timestamps on Windows / NTFS (apparently due to buggy fstat)
Andrew Svetlov [Mon, 24 Dec 2012 11:17:59 +0000 (13:17 +0200)]
Issue #16511: Use default IDLE width and height if config param is not valid.
Patch Serhiy Storchaka.
Andrew Svetlov [Sun, 23 Dec 2012 18:09:01 +0000 (20:09 +0200)]
Issue #16443: Add docstrings to regular expression match objects.
Patch by Anton Kasyanov.
Senthil Kumaran [Sun, 23 Dec 2012 17:00:47 +0000 (09:00 -0800)]
Fix Issue15701 - HTTPError info method call raises AttributeError. Fix that to return headers correctly
Andrew Svetlov [Sun, 23 Dec 2012 10:44:04 +0000 (12:44 +0200)]
Issue #16045: add more unit tests for built-in int()
Patch by Chris Jerdonek.
Georg Brandl [Sat, 22 Dec 2012 09:44:11 +0000 (10:44 +0100)]
Add missing label.
Georg Brandl [Sat, 22 Dec 2012 09:43:06 +0000 (10:43 +0100)]
Fix indentation.
Kristjan Valur Jonsson [Fri, 21 Dec 2012 10:32:57 +0000 (10:32 +0000)]
ctypes: DECREF error_object _after_ re-acquiring GIL
Petri Lehtinen [Thu, 20 Dec 2012 19:06:14 +0000 (21:06 +0200)]
#8853: Allow port to be of type long for socket.getaddrinfo()
Benjamin Peterson [Thu, 20 Dec 2012 18:55:52 +0000 (12:55 -0600)]
add news note (#16597)
Benjamin Peterson [Thu, 20 Dec 2012 18:24:10 +0000 (12:24 -0600)]
call close on the underlying stream even if flush raises (#16597)
Andrew Svetlov [Wed, 19 Dec 2012 20:49:01 +0000 (22:49 +0200)]
replace threw with raised (#16714)
Andrew Svetlov [Wed, 19 Dec 2012 20:47:05 +0000 (22:47 +0200)]
revert comment wording (#16714)
Andrew Svetlov [Tue, 18 Dec 2012 19:27:37 +0000 (21:27 +0200)]
Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
Andrew Svetlov [Mon, 17 Dec 2012 17:07:57 +0000 (19:07 +0200)]
merge heads
Andrew Svetlov [Mon, 17 Dec 2012 17:06:43 +0000 (19:06 +0200)]
Issue #16647: save socket error details in LMTP.connect()
Patch by Serhiy Storchaka.
Giampaolo Rodola' [Mon, 17 Dec 2012 13:30:48 +0000 (14:30 +0100)]
Fix issue #16646: ftplib.FTP.makeport() might lose socket error details. (patch by Serhiy Storchaka)
Andrew Svetlov [Mon, 17 Dec 2012 12:01:03 +0000 (14:01 +0200)]
Update example: Counter.subtract returns None, not self
Brian Curtin [Mon, 17 Dec 2012 06:17:49 +0000 (00:17 -0600)]
Fix #14901. Update some sections of Windows FAQ.
Patch by Ashish Nitin Patil.
Antoine Pitrou [Sun, 16 Dec 2012 12:55:47 +0000 (13:55 +0100)]
Issue #16626: Fix infinite recursion in glob.glob() on Windows when the pattern contains a wildcard in the drive or UNC path.
Patch by Serhiy Storchaka.
Hynek Schlawack [Sun, 16 Dec 2012 11:30:57 +0000 (12:30 +0100)]
#16664: Add regression tests for glob's behaviour concerning "."-entries
Patch by Sebastian Kreft.
Benjamin Peterson [Sat, 15 Dec 2012 20:43:58 +0000 (15:43 -0500)]
remove dead code
Antoine Pitrou [Sat, 15 Dec 2012 18:11:54 +0000 (19:11 +0100)]
Issue #16298: In HTTPResponse.read(), close the socket when there is no Content-Length and the incoming stream is finished.
Patch by Eran Rundstein.
Ezio Melotti [Fri, 14 Dec 2012 18:18:46 +0000 (20:18 +0200)]
#16683: restore alphabetical order in audioop docs. Patch by Serhiy Storchaka.
Ezio Melotti [Fri, 14 Dec 2012 18:12:25 +0000 (20:12 +0200)]
#16681: use "bidirectional class" instead of "bidirectional category" in the docstring too.
Ezio Melotti [Fri, 14 Dec 2012 18:06:43 +0000 (20:06 +0200)]
#16681: use "bidirectional class" instead of "bidirectional category".
Trent Nelson [Thu, 13 Dec 2012 07:22:16 +0000 (07:22 +0000)]
Make PyAST_obj2mod C89 compliant. (Follow-up commit from asdl_c.py.)
Trent Nelson [Thu, 13 Dec 2012 07:13:18 +0000 (07:13 +0000)]
Make PyAST_obj2mod C89 compliant.
Trent Nelson [Thu, 13 Dec 2012 06:46:39 +0000 (06:46 +0000)]
IRIX: force MIPSpro to treat #errors as errors, not warnings.
Gregory P. Smith [Tue, 11 Dec 2012 01:45:54 +0000 (17:45 -0800)]
1 << 31 is invalid for signed integers, fix it by making 1 unsigned.
Found by Clang trunk's Undefined-Behavior Sanitizer. [more to come]
Andrew Svetlov [Sun, 9 Dec 2012 22:05:08 +0000 (00:05 +0200)]
Issue #16582: use int exit code in tkinter._exit
Senthil Kumaran [Sun, 9 Dec 2012 21:36:40 +0000 (13:36 -0800)]
Document the reason attribute of urllib.HTTPError Patch by Berker Peksag
Antoine Pitrou [Sun, 9 Dec 2012 13:46:18 +0000 (14:46 +0100)]
Issue #16248: Disable code execution from the user's home directory by tkinter when the -E flag is passed to Python.
Patch by Zachary Ware.
Éric Araujo [Sun, 9 Dec 2012 03:45:09 +0000 (22:45 -0500)]
Branch merge
Éric Araujo [Sun, 9 Dec 2012 03:30:47 +0000 (22:30 -0500)]
Use proper skip instead of reporting success in one distutils test
Éric Araujo [Sun, 9 Dec 2012 03:26:57 +0000 (22:26 -0500)]
Fix setup.py register failure with invalid rst in description (#13614).
Original patch by Julien Courteau and Pierre Paul Lefebvre.
Antoine Pitrou [Sat, 8 Dec 2012 20:15:26 +0000 (21:15 +0100)]
Issue #16602: When a weakref's target was part of a long deallocation chain, the object could remain reachable through its weakref even though its refcount had dropped to zero.
Thanks to Eugene Toder for diagnosing and reporting the issue.
Éric Araujo [Sat, 8 Dec 2012 19:41:39 +0000 (14:41 -0500)]
Remove code unneeded after
f833e7ec4de1
Éric Araujo [Sat, 8 Dec 2012 19:18:26 +0000 (14:18 -0500)]
Add versionchanged note for
a56cebff113a
Andrew Svetlov [Sat, 8 Dec 2012 16:01:27 +0000 (18:01 +0200)]
Drop double newlines printed in some file iteration examples.
Patch by Steven Kryskalla.
Ezio Melotti [Sat, 8 Dec 2012 10:29:40 +0000 (12:29 +0200)]
Remove debug output from example.
Antoine Pitrou [Sat, 8 Dec 2012 10:05:50 +0000 (11:05 +0100)]
Issue #16628: Fix a memory leak in ctypes.resize().
Andrew Svetlov [Thu, 6 Dec 2012 14:32:37 +0000 (16:32 +0200)]
Document that hour in datetime.time ctor is optional parameter.
Thanks to Sean Munkel from docs@
Jesus Cea [Wed, 5 Dec 2012 13:41:11 +0000 (14:41 +0100)]
Closes #16588: Silence unused-but-set warnings in Python/thread_pthread.h
Victor Stinner [Tue, 4 Dec 2012 09:07:16 +0000 (10:07 +0100)]
Issue #15747: skip chflags UF_IMMUTABLE tests if EOPNOTSUPP is raised.
This is necessary for ZFS systems, which don't support UF_IMMUTABLE.
--
Kubilay Kocak (koobs) asked me on IRC to backport this fix to Python 2.7: done!
Antoine Pitrou [Mon, 3 Dec 2012 20:08:43 +0000 (21:08 +0100)]
Fix test splitting in previous commit.
Antoine Pitrou [Mon, 3 Dec 2012 19:53:12 +0000 (20:53 +0100)]
Split the bigmem re test in two separate tests with different memory requirements.
Benjamin Peterson [Sun, 2 Dec 2012 16:33:06 +0000 (11:33 -0500)]
document UnicodeError attributes
Mark Dickinson [Sun, 2 Dec 2012 13:13:56 +0000 (13:13 +0000)]
Issue 10052: fix failed uint32_t / uint64_t / int32_t / int64_t detection on some platforms.
Antoine Pitrou [Sun, 2 Dec 2012 11:52:36 +0000 (12:52 +0100)]
Issue #10182: The re module doesn't truncate indices to 32 bits anymore.
Patch by Serhiy Storchaka.
Christian Heimes [Sun, 2 Dec 2012 07:14:50 +0000 (08:14 +0100)]
- Issue #16593: Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf
Raymond Hettinger [Sun, 2 Dec 2012 03:22:02 +0000 (19:22 -0800)]
Minor fixups. Early-out for equality test. Inline PREV/NEXT constants.
Ezio Melotti [Sat, 1 Dec 2012 17:36:00 +0000 (19:36 +0200)]
#16589: fix pprint signatures in the doc (backport of
106ee4eb5970 ).
Benjamin Peterson [Fri, 30 Nov 2012 21:15:24 +0000 (16:15 -0500)]
Add Bruno Dupuis
Benjamin Peterson [Fri, 30 Nov 2012 21:13:14 +0000 (16:13 -0500)]
fix spelling
Benjamin Peterson [Fri, 30 Nov 2012 21:12:15 +0000 (16:12 -0500)]
Remove redundant check for symlink. (closes #6036)
Patch by Bruno Dupuis.
Chris Jerdonek [Fri, 30 Nov 2012 03:03:37 +0000 (19:03 -0800)]
Backport from 3.2: improve argument/parameter documentation (issue #15990).
The corresponding 3.x commits are
69d5d834c5cb ,
40fd26a4206b , and
74d8a2a20c52 .
Andrew Svetlov [Thu, 29 Nov 2012 17:52:21 +0000 (19:52 +0200)]
merge heads
Andrew Svetlov [Thu, 29 Nov 2012 17:51:28 +0000 (19:51 +0200)]
Issue #16194: document imp.load_dynamic problems
when read several extension modules from the same binary object file.
Benjamin Peterson [Thu, 29 Nov 2012 15:57:01 +0000 (10:57 -0500)]
add changelog
Benjamin Peterson [Thu, 29 Nov 2012 15:55:22 +0000 (10:55 -0500)]
enumerate only requires an iterable (closes #16573)
Patch by Jonathan Kotta.
Andrew Svetlov [Thu, 29 Nov 2012 12:22:26 +0000 (14:22 +0200)]
Issue #16477: Close tarfile internal handlers in case of exception.
Patch by Serhiy Storchaka.
Ezio Melotti [Thu, 29 Nov 2012 03:08:54 +0000 (05:08 +0200)]
#16549: fix test failures on Windows.
Ezio Melotti [Thu, 29 Nov 2012 00:22:49 +0000 (02:22 +0200)]
#16476: Fix json.tool to avoid including trailing whitespace.
Ezio Melotti [Thu, 29 Nov 2012 00:14:52 +0000 (02:14 +0200)]
#16549: Add tests for json.tools. Initial patch by Berker Peksag and Serhiy Storchaka.
Stefan Krah [Wed, 28 Nov 2012 23:17:05 +0000 (00:17 +0100)]
Issue #16534: On HP-UX ac_cv_olimit_ok=yes is a false positive.
Ezio Melotti [Wed, 28 Nov 2012 22:22:30 +0000 (00:22 +0200)]
#16333: document a way to get rid of trailing whitespace when indent is used.
Gregory P. Smith [Tue, 27 Nov 2012 18:19:29 +0000 (10:19 -0800)]
Plug a leak in timemodule. The module dictionary is saved during
initialization. If the interpreter is shut down and reinitialized (embedded
CPython), the old module dictionary was not dec-refed during the next import of
the time extension module.
Contributed by Torsten Marek of Google.
Ezio Melotti [Tue, 27 Nov 2012 17:17:57 +0000 (19:17 +0200)]
#16556: Fix inconsistency between kwds and kwargs. Patch by Taavi Burns.
Ezio Melotti [Mon, 26 Nov 2012 17:22:58 +0000 (19:22 +0200)]
#16559: Add more tests for the json module. Patch by Serhiy Storchaka.
Chris Jerdonek [Mon, 26 Nov 2012 04:35:23 +0000 (20:35 -0800)]
Add hyperlinks to the docs of some os.path functions (issue #16552).
Mark Dickinson [Sun, 25 Nov 2012 17:11:33 +0000 (17:11 +0000)]
Issue #9011: AST creation no longer modifies CST for negated numeric literals.
Mark Dickinson [Sun, 25 Nov 2012 13:25:57 +0000 (13:25 +0000)]
Issue #16339: Document and test exec(stmt, globals, locals) form in Python 2.7.
Antoine Pitrou [Sat, 24 Nov 2012 17:25:25 +0000 (18:25 +0100)]
test_winsound should require the "audio" resource, as it does on 3.x.
(this should fix some buildbot test failures)
Ezio Melotti [Fri, 23 Nov 2012 17:45:52 +0000 (19:45 +0200)]
#16530: the "options" arg of os.wait3 is required.
Ezio Melotti [Fri, 23 Nov 2012 16:46:11 +0000 (18:46 +0200)]
#16306: report only the first unknown option and add more tests. Patch by Serhiy Storchaka.
Stefan Krah [Thu, 22 Nov 2012 22:56:51 +0000 (23:56 +0100)]
Fix more usages of NULL without including stdio.h.
Stefan Krah [Thu, 22 Nov 2012 21:36:57 +0000 (22:36 +0100)]
Issue #13057: Include stdio.h when NULL is used in configure.ac.
Raymond Hettinger [Wed, 21 Nov 2012 05:42:44 +0000 (21:42 -0800)]
Remove steps no longer needed once __del__ was removed
Raymond Hettinger [Wed, 21 Nov 2012 05:11:26 +0000 (21:11 -0800)]
Fit nit: the return got dropped from an earlier check-in
Antoine Pitrou [Tue, 20 Nov 2012 21:30:42 +0000 (22:30 +0100)]
Issue #1160: Fix compiling large regular expressions on UCS2 builds.
Patch by Serhiy Storchaka.
Stefan Krah [Mon, 19 Nov 2012 00:00:45 +0000 (01:00 +0100)]
Ezio Melotti [Sun, 18 Nov 2012 21:14:42 +0000 (23:14 +0200)]
#7782: add a test for test_iter.
Ezio Melotti [Sun, 18 Nov 2012 19:23:44 +0000 (21:23 +0200)]
#16503: clarify "apply" docs.
Antoine Pitrou [Sun, 18 Nov 2012 17:37:02 +0000 (18:37 +0100)]
The poplib module provides two classes, not one.
Ezio Melotti [Sun, 18 Nov 2012 11:46:38 +0000 (13:46 +0200)]
#16306: Fix multiple error messages when unknown command line parameters where passed to the interpreter. Patch by Hieu Nguyen.
Ezio Melotti [Sun, 18 Nov 2012 11:18:06 +0000 (13:18 +0200)]
#14313: zipfile now raises NotImplementedError when the compression type is unknown.
Ezio Melotti [Sun, 18 Nov 2012 10:55:35 +0000 (12:55 +0200)]
#16053: document csv.Dialect.strict. Patch by Kushal Das.
Mark Dickinson [Sun, 18 Nov 2012 10:41:29 +0000 (10:41 +0000)]
Typo fix.
Mark Dickinson [Sun, 18 Nov 2012 10:20:28 +0000 (10:20 +0000)]
Issue #12005: clarify behaviour of % and // for Decimal objects.
Antoine Pitrou [Sat, 17 Nov 2012 22:56:53 +0000 (23:56 +0100)]
Issue #16408: Fix file descriptors not being closed in error conditions in the zipfile module.
Patch by Serhiy Storchaka.
Mark Dickinson [Sat, 17 Nov 2012 20:18:52 +0000 (20:18 +0000)]
Issue #9742: Sneaky fix for build failure on Solaris 9.
Antoine Pitrou [Sat, 17 Nov 2012 20:14:58 +0000 (21:14 +0100)]
Issue #15379: Fix passing of non-BMP characters as integers for the charmap decoder (already working as unicode strings).
Patch by Serhiy Storchaka.
Ezio Melotti [Sat, 17 Nov 2012 15:38:11 +0000 (17:38 +0200)]
#16420: document a way to escape metacharacters in glob/fnmatch.
Ezio Melotti [Sat, 17 Nov 2012 10:46:40 +0000 (12:46 +0200)]
Update section about dir() in the tutorial.
Ezio Melotti [Sat, 17 Nov 2012 10:02:30 +0000 (12:02 +0200)]
#16470: mention set and dict comprehension in the tutorial. Patch by Yongzhi Pan.
Jesus Cea [Sat, 17 Nov 2012 02:38:17 +0000 (03:38 +0100)]
Closes #16461: Wave library should be able to deal with 4GB wav files, and sample rate of 44100 Hz.
Georg Brandl [Thu, 15 Nov 2012 06:10:27 +0000 (07:10 +0100)]
Remove versionadded from the tutorial, at a location where it produces more questions than it answers.