]>
granicus.if.org Git - python/log
Andrew Svetlov [Fri, 20 Jul 2012 11:51:45 +0000 (14:51 +0300)]
Issue #15404: Refleak in PyMethodObject repr.
Vinay Sajip [Fri, 20 Jul 2012 08:50:18 +0000 (09:50 +0100)]
Issue #15399: Added versionchanged for processName.
Jesus Cea [Thu, 19 Jul 2012 19:31:26 +0000 (21:31 +0200)]
Closes #15395: memory leaks in selectmodule.c
Jesus Cea [Thu, 19 Jul 2012 19:18:07 +0000 (21:18 +0200)]
Closes #15396: memory leak in tkinter
Meador Inge [Thu, 19 Jul 2012 18:45:43 +0000 (13:45 -0500)]
Issue #15394: Fix ref leaks in PyModule_Create.
Patch by Julia Lawall.
Meador Inge [Thu, 19 Jul 2012 05:01:22 +0000 (00:01 -0500)]
Issue #6493: Fix handling of c_uint32 bitfields with width of 32 on Windows.
Meador Inge [Wed, 18 Jul 2012 22:57:46 +0000 (17:57 -0500)]
remove unused variable
Meador Inge [Wed, 18 Jul 2012 21:41:03 +0000 (16:41 -0500)]
Issue #15368: fixing variable typo.
Meador Inge [Wed, 18 Jul 2012 19:20:11 +0000 (14:20 -0500)]
Issue #15368: make bytecode generation deterministic.
Hynek Schlawack [Tue, 17 Jul 2012 12:28:44 +0000 (14:28 +0200)]
Use posixpath.join() explicitely in posixpath.join() test
Used os.path.join before which has different semantics on Windows.
Eli Bendersky [Tue, 17 Jul 2012 11:22:01 +0000 (14:22 +0300)]
merge heads
Eli Bendersky [Tue, 17 Jul 2012 11:20:38 +0000 (14:20 +0300)]
ISsue #14988: restore Python 2's behavior of raising ImportError when unable to load pyexpat, instead of a SystemError/RuntimeError
Hynek Schlawack [Tue, 17 Jul 2012 11:05:43 +0000 (13:05 +0200)]
#15377: Make posixpath.join() more strict when checking for str/bytes mix
Based on a patch by Nick Coghlan.
Nick Coghlan [Tue, 17 Jul 2012 10:42:39 +0000 (20:42 +1000)]
Issue #15230: Attempt to make the OS X buildbots happy by resolving the tmp dir symlink in the test suite
Hynek Schlawack [Tue, 17 Jul 2012 08:48:19 +0000 (10:48 +0200)]
Fix context manager use in posixpath.join() tests
The asserts were useless (and buggy).
Gregory P. Smith [Mon, 16 Jul 2012 22:48:30 +0000 (15:48 -0700)]
one more test fix for systems without select.poll. tested by deleting
select.poll before running. works both ways (finally). this should fix
the windows build.
Gregory P. Smith [Mon, 16 Jul 2012 20:38:45 +0000 (13:38 -0700)]
Fix unchecked select.poll reference in setUp and tearDown for
platforms that don't have it.
Gregory P. Smith [Mon, 16 Jul 2012 20:34:50 +0000 (13:34 -0700)]
Fix the with_poll tests for platforms without poll. missing import.
Gregory P. Smith [Mon, 16 Jul 2012 06:42:26 +0000 (23:42 -0700)]
Fixes Issue #14635: telnetlib will use poll() rather than select() when possible
to avoid failing due to the select() file descriptor limit.
Hynek Schlawack [Sun, 15 Jul 2012 14:21:30 +0000 (16:21 +0200)]
#15180: Clarify posixpath.join() error message when mixing str & bytes
Nick Coghlan [Sat, 14 Jul 2012 14:36:39 +0000 (00:36 +1000)]
Issue #15230: Update runpy docs to clarify a couple of points that came up in this issue
Nick Coghlan [Sat, 14 Jul 2012 13:59:22 +0000 (23:59 +1000)]
Close #15230: runpy.run_path now sets __package__ correctly. Also refactored the runpy tests to use a more systematic approach
Antoine Pitrou [Fri, 13 Jul 2012 20:46:41 +0000 (22:46 +0200)]
Try other approach to fix issue #15334.
Antoine Pitrou [Fri, 13 Jul 2012 19:13:25 +0000 (21:13 +0200)]
Remove duplicate entry and fix order
Antoine Pitrou [Fri, 13 Jul 2012 19:08:41 +0000 (21:08 +0200)]
Issue #15334: skip test_dynamic_key when run in non-interactive mode.
Patch by Jeremy Kloth.
Antoine Pitrou [Fri, 13 Jul 2012 18:54:42 +0000 (20:54 +0200)]
Issue #15338: skip test_UNC_path when the current user doesn't have enough permissions to access the path.
Antoine Pitrou [Thu, 12 Jul 2012 18:31:50 +0000 (20:31 +0200)]
Add c_size_t and c_ssize_t to the ctypes summary table.
Raymond Hettinger [Thu, 12 Jul 2012 18:26:01 +0000 (11:26 -0700)]
Show the proper way to exit a cmd shell
Antoine Pitrou [Wed, 11 Jul 2012 17:19:14 +0000 (19:19 +0200)]
Issue #15300: Ensure the temporary test working directories are in the same parent folder when running tests in multiprocess mode from a Python build.
Patch by Chris Jerdonek.
Martin v. Löwis [Wed, 11 Jul 2012 07:17:15 +0000 (09:17 +0200)]
Use _RPCFile.write properly.
Martin v. Löwis [Wed, 11 Jul 2012 06:48:34 +0000 (08:48 +0200)]
Don't use TextIOBase implementations in _RPCFile.
Martin v. Löwis [Wed, 11 Jul 2012 06:29:03 +0000 (08:29 +0200)]
Issue #15319: Revert wrapping of sys.stdin. Patch by Serhiy Storchaka.
Antoine Pitrou [Mon, 9 Jul 2012 19:23:58 +0000 (21:23 +0200)]
Backport test for nested namespace packages.
Martin v. Löwis [Mon, 9 Jul 2012 18:52:40 +0000 (20:52 +0200)]
normalize whitespace
Martin v. Löwis [Mon, 9 Jul 2012 18:46:11 +0000 (20:46 +0200)]
Issue #13532: Check that arguments to sys.stdout.write are strings.
Terry Jan Reedy [Mon, 9 Jul 2012 04:13:21 +0000 (00:13 -0400)]
Issue 12510: Delete actual first param name for all methods; revise tests.
Senthil Kumaran [Mon, 9 Jul 2012 00:47:25 +0000 (17:47 -0700)]
revert the changes done for issue14826 - quoting witin Request is not desirable.
Terry Jan Reedy [Sun, 8 Jul 2012 21:36:14 +0000 (17:36 -0400)]
Issue #13557: Clarify effect of giving two different namespaces to exec or
execfile().
Senthil Kumaran [Sun, 8 Jul 2012 09:08:48 +0000 (02:08 -0700)]
issue 14826 - Address the buildbot failure ( explanation msg164973)
Senthil Kumaran [Sun, 8 Jul 2012 00:11:44 +0000 (17:11 -0700)]
Fix issue14826 - make urllib.request.Request quoted url consistent with URLOpener open method.
Patch contributed by Stephen Thorne.
Florent Xicluna [Sat, 7 Jul 2012 10:13:35 +0000 (12:13 +0200)]
Issue #14990: tokenize: correctly fail with SyntaxError on invalid encoding declaration.
Antoine Pitrou [Fri, 6 Jul 2012 16:48:24 +0000 (18:48 +0200)]
Issue #15247: FileIO now raises an error when given a file descriptor pointing to a directory.
Antoine Pitrou [Thu, 5 Jul 2012 18:56:30 +0000 (20:56 +0200)]
Issue #15020: The program name used to search for Python's path is now "python3" under Unix, not "python".
Senthil Kumaran [Thu, 5 Jul 2012 02:28:16 +0000 (19:28 -0700)]
Fix issue # 15033 - Return the proper exitcode for failure when modules are invoked using -m switch. Patch contributed by Jeff Knupp
Jesus Cea [Tue, 3 Jul 2012 11:15:03 +0000 (13:15 +0200)]
Issue #1677: Unused variable warning in Non-Windows
Georg Brandl [Sun, 1 Jul 2012 07:47:54 +0000 (09:47 +0200)]
Make call of os.getppid() conditional: it is not available on Windows.
Georg Brandl [Sun, 1 Jul 2012 07:43:20 +0000 (09:43 +0200)]
Fix inconsistent function name in embedding howto.
Stefan Krah [Sat, 30 Jun 2012 16:35:15 +0000 (18:35 +0200)]
Issue #15171: Quote the variable that expands to the current directory.
Antoine Pitrou [Sat, 30 Jun 2012 15:31:37 +0000 (17:31 +0200)]
Issue #9239: add tests for modifying zipfile comments in append mode.
Tim Golden [Fri, 29 Jun 2012 21:11:38 +0000 (22:11 +0100)]
Merged
Senthil Kumaran [Fri, 29 Jun 2012 18:08:20 +0000 (11:08 -0700)]
urllib.parse cleanup. rename keywords used as variables
Antoine Pitrou [Fri, 29 Jun 2012 17:40:35 +0000 (19:40 +0200)]
Better diagnose test failure
Tim Golden [Fri, 29 Jun 2012 17:27:08 +0000 (18:27 +0100)]
Issue #1677: Handle better a race condition between the interactive interpreter and
the Ctrl-C signal handler on Windows
Petri Lehtinen [Fri, 29 Jun 2012 12:09:12 +0000 (15:09 +0300)]
#5346: Preserve permissions of mbox, MMDF and Babyl mailbox files on flush()
Petri Lehtinen [Fri, 29 Jun 2012 10:43:37 +0000 (13:43 +0300)]
#9559: Don't call _pre_mailbox_hook more than once
Senthil Kumaran [Fri, 29 Jun 2012 04:07:58 +0000 (21:07 -0700)]
urlparse docs clean up - no reference to earlier draft
Antoine Pitrou [Thu, 28 Jun 2012 23:58:26 +0000 (01:58 +0200)]
Issue #5067: improve some json error messages.
Patch by Serhiy Storchaka.
Antoine Pitrou [Thu, 28 Jun 2012 23:05:26 +0000 (01:05 +0200)]
Issue #10571: Fix the "--sign" option of distutils' upload command.
Patch by Jakub Wilk.
Petri Lehtinen [Thu, 28 Jun 2012 10:48:17 +0000 (13:48 +0300)]
#9559: Append data to single-file mailbox files if messages are only added
If messages were only added, a new file is no longer created and
renamed over the old file when flush() is called on an mbox, MMDF or
Babyl mailbox.
Antoine Pitrou [Wed, 27 Jun 2012 15:41:07 +0000 (17:41 +0200)]
Flush stdout and stderr when running tests in parallel
(helps getting results in real-time when stdio is transmitted over a pipe or socket)
Antoine Pitrou [Wed, 27 Jun 2012 15:27:21 +0000 (17:27 +0200)]
Allow passing extra testing options to the buildbot test scripts
Antoine Pitrou [Tue, 26 Jun 2012 21:04:48 +0000 (23:04 +0200)]
Issue #15079: make a test applicable to both C and Python versions of the pickle module.
Patch by Stefan Mihaila.
David Malcolm [Tue, 26 Jun 2012 18:06:23 +0000 (14:06 -0400)]
Issue #14443: ensure that brp-python-bytecompile is invoked with the correct
python executable
The __os_install_macro defines some post-processing activities during an rpm
build; one of the scripts it calls is brp-python-bytecompile, which can take
an argument: the python executable with which to byte-compile .py files in the
package payload.
In some older versions of rpm (e.g. in RHEL 6), this invocation doesn't pass
in an argument, and brp-python-bytecompile defaults to using /usr/bin/python,
which can lead to the .py files being byte-compiled for the wrong version of
python. This has been fixed in later versions of rpm by passing in
%{__python} as an argument to brp-python-bytecompile.
Workaround this by detecting if __os_install_post has a 0-argument invocation
of brp-python-bytecompile, and if so generating an equivalent macro that has
the argument, and explicitly provide the new definition within the specfile.
Senthil Kumaran [Tue, 26 Jun 2012 12:00:15 +0000 (20:00 +0800)]
issue13666 - Fixing datetime documentation example when using tzinfo
Senthil Kumaran [Tue, 26 Jun 2012 06:17:19 +0000 (14:17 +0800)]
Issue #13685 - Update argparse help message for % sign usage.
Vinay Sajip [Mon, 25 Jun 2012 22:18:45 +0000 (23:18 +0100)]
Issue #15179: Closed socket on connection failure. Thanks to Kazutaka Morita for the patch.
Antoine Pitrou [Mon, 25 Jun 2012 16:08:54 +0000 (18:08 +0200)]
Backport test_nntplib fixes from default.
Stefan Krah [Mon, 25 Jun 2012 12:57:18 +0000 (14:57 +0200)]
Issue #15171: Try the HOST_PYTHON hack for 3.2.
Gregory P. Smith [Mon, 25 Jun 2012 08:13:32 +0000 (01:13 -0700)]
Backout change
e8f44ebacda7052267318cecf5b6f128d35add17 . Reverting the test
to using signal.alarm(1) instead of signal.setitimer(signal.ITIMER_REAL, 0.1).
This is an attempt to see if this change is what caused the ubuntu arm buildbot
to hang in test_io's test_interrupted_write_retry_text.
Discussion in Issue #12268.
Georg Brandl [Sun, 24 Jun 2012 20:48:03 +0000 (22:48 +0200)]
Fix a bunch of "versionchanged" related markup errors.
Georg Brandl [Sun, 24 Jun 2012 18:06:54 +0000 (20:06 +0200)]
Refer test_xmlrpc_net to the new buildbot URL at buildbot.python.org.
Georg Brandl [Sun, 24 Jun 2012 18:01:05 +0000 (20:01 +0200)]
Partial backport of
612f34e31270 : fix spacing error in exception message.
Gregory P. Smith [Sun, 24 Jun 2012 06:55:39 +0000 (23:55 -0700)]
Fixes issue #12268: File readline, readlines and read() or readall() methods
no longer lose data when an underlying read system call is interrupted.
IOError is no longer raised due to a read system call returning EINTR
from within these methods.
Gregory P. Smith [Sun, 24 Jun 2012 06:46:37 +0000 (23:46 -0700)]
Speed up test_io by >2x by reducing the sleep time using setitimer instead of
alarm for the signal tests.
Martin v. Löwis [Sat, 23 Jun 2012 17:36:08 +0000 (19:36 +0200)]
The build target of this makefile is python3.dll, not python32.dll.
Antoine Pitrou [Sat, 23 Jun 2012 12:42:38 +0000 (14:42 +0200)]
Issue #15142: Fix reference leak when deallocating instances of types created using PyType_FromSpec().
Mark Dickinson [Sat, 23 Jun 2012 11:12:52 +0000 (12:12 +0100)]
Issue #12965: More PyLong_As* clarifications. Thanks Stefan Krah.
Mark Dickinson [Sat, 23 Jun 2012 10:14:22 +0000 (11:14 +0100)]
Issue #12965: Clean up C-API docs for PyLong_AsLongLong(AndOverflow); clarify that __int__ will be called for non-PyLongs
Mark Dickinson [Sat, 23 Jun 2012 09:49:12 +0000 (10:49 +0100)]
Issue #12965: Clean up C-API docs for PyLong_AsLong(AndOverflow); clarify that __int__ will be called for non-PyLongs
Charles-François Natali [Sat, 23 Jun 2012 08:17:05 +0000 (10:17 +0200)]
Remove useless test (flowinfo is unsigned).
Alexander Belopolsky [Fri, 22 Jun 2012 00:34:09 +0000 (20:34 -0400)]
Issue #14653: email.utils.mktime_tz() no longer relies on system
mktime() when timezone offest is supplied.
Hynek Schlawack [Thu, 21 Jun 2012 18:20:25 +0000 (20:20 +0200)]
#10053: Don't close FDs when FileIO.__init__ fails
Loosely based on the work by Hirokazu Yamamoto.
Nadeem Vawda [Tue, 19 Jun 2012 23:35:22 +0000 (01:35 +0200)]
Fix GzipFile's handling of filenames given as bytes objects.
Richard Oudkerk [Mon, 18 Jun 2012 14:54:57 +0000 (15:54 +0100)]
Issue #15101: Make pool finalizer avoid joining current thread.
Petri Lehtinen [Mon, 18 Jun 2012 07:43:53 +0000 (10:43 +0300)]
Fix NEWS entry for #15036
R David Murray [Sun, 17 Jun 2012 19:26:35 +0000 (15:26 -0400)]
Update out of date docstring.
Ezio Melotti [Sun, 17 Jun 2012 12:10:59 +0000 (14:10 +0200)]
#14840: Add a bit on the difference between tuples and lists. Initial patch by Zachary Ware.
Nick Coghlan [Sun, 17 Jun 2012 11:27:18 +0000 (21:27 +1000)]
Ignore X-Antivirus headers in test_nntplib
Nick Coghlan [Sun, 17 Jun 2012 11:10:21 +0000 (21:10 +1000)]
Issue #15095: Use better assertions in test_imaplib
Nick Coghlan [Sun, 17 Jun 2012 08:57:20 +0000 (18:57 +1000)]
Issue #15043: skip test_gdb if the custom hooks can't be loaded
Nick Coghlan [Sun, 17 Jun 2012 08:27:11 +0000 (18:27 +1000)]
Issue #15044: Handle Fedora 17's approach to ndbm compatibility
Petri Lehtinen [Fri, 15 Jun 2012 17:50:51 +0000 (20:50 +0300)]
#15036: Make a repeated changes and flushes work with single-file mailboxes
Antoine Pitrou [Fri, 15 Jun 2012 17:11:31 +0000 (19:11 +0200)]
Issue #14933: fix misleading doc about weakref support in extension types.
Martin v. Löwis [Thu, 14 Jun 2012 13:37:21 +0000 (15:37 +0200)]
Issue #14937: Fix typo. Patch by Roger Serwy.
Sandro Tosi [Wed, 13 Jun 2012 22:37:09 +0000 (00:37 +0200)]
Issue #15060: better fix, thanks to review on #python-dev
Sandro Tosi [Wed, 13 Jun 2012 21:58:54 +0000 (23:58 +0200)]
Issue #15060: fix typo in socket doc; Patch by anatoly techtonik
Richard Oudkerk [Mon, 11 Jun 2012 14:12:12 +0000 (15:12 +0100)]
Issue #10133: Make multiprocessing deallocate buffer if socket read fails.
Patch by Hallvard B Furuseth.
Terry Jan Reedy [Thu, 7 Jun 2012 23:41:04 +0000 (19:41 -0400)]
Issue #12510: Revise and triple # of calltip tests, with an eye to unittest
use. Make the get_entity 'method' a module function as it did not use 'self'.
Delete buggy _find_constructor function that is not needed, at least in 3.x.
Revise get_argspec so all tests pass. Add and fix NEWS entries.
Richard Oudkerk [Wed, 6 Jun 2012 18:04:57 +0000 (19:04 +0100)]
Issue #13854: Properly handle non-integer, non-string arg to SystemExit
Previously multiprocessing only expected int or str. It also wrongly
used an exit code of 1 when the argument was a string instead of zero.
Richard Oudkerk [Wed, 6 Jun 2012 18:04:57 +0000 (19:04 +0100)]
Issue #12157: pool.map() does not handle empty iterable correctly
Initial patch by mouad