]>
granicus.if.org Git - python/log
Chris Jerdonek [Fri, 28 Dec 2012 02:14:01 +0000 (18:14 -0800)]
Issue #15324: Fix regrtest parsing of --fromfile and --randomize options.
Ezio Melotti [Thu, 27 Dec 2012 23:59:24 +0000 (01:59 +0200)]
#16796: fix typo. Patch by Michael Schurter.
Serhiy Storchaka [Thu, 27 Dec 2012 22:44:20 +0000 (00:44 +0200)]
Issue #16792: Use assertIs() to test identity.
Serhiy Storchaka [Thu, 27 Dec 2012 22:32:19 +0000 (00:32 +0200)]
Issue #16793. Replace deprecated unittest asserts with modern counterparts.
Serhiy Storchaka [Thu, 27 Dec 2012 21:07:00 +0000 (23:07 +0200)]
Issue #16792: Mark small ints test as CPython-only.
Chris Jerdonek [Thu, 27 Dec 2012 20:53:29 +0000 (12:53 -0800)]
Issue #16790: add some of the recent issue #16045 int tests to test_long.
This patch also provides a simple way to share tests going forward
between test_int and test_long.
Brian Curtin [Thu, 27 Dec 2012 20:37:06 +0000 (14:37 -0600)]
Fix #16759. Convert DWORD registry values using unsigned long.
When converting REG_DWORD registry values into Python, the conversion
needs to be made from an *unsigned* long (k instead of i) to match the
DWORD type.
Serhiy Storchaka [Thu, 27 Dec 2012 20:00:12 +0000 (22:00 +0200)]
Null merge.
Serhiy Storchaka [Thu, 27 Dec 2012 19:34:23 +0000 (21:34 +0200)]
Issue #16504: Catch SyntaxErrors raised by tokenizer in IDLE.
Brian Curtin [Thu, 27 Dec 2012 18:28:51 +0000 (12:28 -0600)]
Fix #14420. Check for PyLong as well as PyInt when converting in Py2Reg.
This fixes a ValueError seen in winreg.SetValueEx when passed long
winreg.REG_DWORD values that should be supported by the underlying API.
Hynek Schlawack [Thu, 27 Dec 2012 09:24:21 +0000 (10:24 +0100)]
#16618: Add more glob regression tests
Mostly about symlinks and str/unicode behavior.
Patch by Serhiy Storchaka.
Jesus Cea [Wed, 26 Dec 2012 15:46:04 +0000 (16:46 +0100)]
Closes #16789: :meth:`quit` links to constants instead of own module
Senthil Kumaran [Wed, 26 Dec 2012 09:45:22 +0000 (01:45 -0800)]
Issue #16702: Skip proxies for localhost in urllib2_localnet tests
Chris Jerdonek [Tue, 25 Dec 2012 22:50:21 +0000 (14:50 -0800)]
Add additional links and index entries for "argument" and "parameter".
This adds to the work done for issue #15990 (i.e.
f44b8d69e5fc and the
commits referenced there).
Kristján Valur Jónsson [Tue, 25 Dec 2012 22:46:32 +0000 (22:46 +0000)]
Issue #14574: Ignore socket errors raised when flushing a connection on close.
Andrew Svetlov [Tue, 25 Dec 2012 16:50:03 +0000 (18:50 +0200)]
rename MathcObject to match object in doctrings for re module (#16760)
Ezio Melotti [Tue, 25 Dec 2012 16:10:49 +0000 (18:10 +0200)]
#16760: use ref:`match-objects` instead of :class:`MatchObject`.
Ezio Melotti [Tue, 25 Dec 2012 13:45:15 +0000 (15:45 +0200)]
#16677: rename section header and fix markup.
Kristján Valur Jónsson [Tue, 25 Dec 2012 13:04:50 +0000 (13:04 +0000)]
issue #879399
Fix line buffering of socket._fileobject
Ezio Melotti [Tue, 25 Dec 2012 12:45:55 +0000 (14:45 +0200)]
#16666: document default values for socket.getaddrinfo in the text to clarify that it doesn't accept keyword args.
Ezio Melotti [Tue, 25 Dec 2012 12:25:47 +0000 (14:25 +0200)]
#16765: remove unused import.
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.