]> granicus.if.org Git - python/log
python
12 years agoIssue #9803: Don't close IDLE on saving if breakpoint is open.
Andrew Svetlov [Tue, 31 Jul 2012 16:48:00 +0000 (19:48 +0300)]
Issue #9803: Don't close IDLE on saving if breakpoint is open.

Patch by Roger Serwy.

12 years agoIssue #12288: Consider '0' and '0.0' as valid initialvalue for tkinter SimpleDialog.
Andrew Svetlov [Mon, 30 Jul 2012 16:59:53 +0000 (19:59 +0300)]
Issue #12288: Consider '0' and '0.0' as valid initialvalue for tkinter SimpleDialog.

12 years agoIssue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs.
Ned Deily [Mon, 30 Jul 2012 11:09:32 +0000 (04:09 -0700)]
Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs.

12 years agoIssue #14018: Update the OS X IDLE Tcl/Tk warning check to include
Ned Deily [Mon, 30 Jul 2012 10:31:21 +0000 (03:31 -0700)]
Issue #14018: Update the OS X IDLE Tcl/Tk warning check to include
the Apple-supplied Tck/Tk versions shipped with OS X 10.7 and 10.8.
They are not as buggy as the 10.6 version but can still easily crash.

12 years agoIssue #15489: Add a __sizeof__ implementation for BytesIO objects.
Antoine Pitrou [Sun, 29 Jul 2012 22:01:06 +0000 (00:01 +0200)]
Issue #15489: Add a __sizeof__ implementation for BytesIO objects.
Patch by Serhiy Storchaka.

12 years agoIssue #15487: Add a __sizeof__ implementation for buffered I/O objects.
Antoine Pitrou [Sun, 29 Jul 2012 17:02:46 +0000 (19:02 +0200)]
Issue #15487: Add a __sizeof__ implementation for buffered I/O objects.
Patch by Serhiy Storchaka.

12 years agoIssue #15467: Move helpers for __sizeof__ tests into test_support.
Martin v. Löwis [Sun, 29 Jul 2012 14:33:05 +0000 (16:33 +0200)]
Issue #15467: Move helpers for __sizeof__ tests into test_support.
Patch by Serhiy Storchaka.

12 years agoIssue #15402: Simplify Struct.__sizeof__ and make tests more precise.
Meador Inge [Sun, 29 Jul 2012 03:16:39 +0000 (22:16 -0500)]
Issue #15402: Simplify Struct.__sizeof__ and make tests more precise.

12 years agoIssue #6056: Make multiprocessing use setblocking(True) on the sockets it uses.
Richard Oudkerk [Fri, 27 Jul 2012 13:06:11 +0000 (14:06 +0100)]
Issue #6056: Make multiprocessing use setblocking(True) on the sockets it uses.

Original patch by J Derek Wilson.

12 years agoImproved cookbook entry and fixed typo.
Vinay Sajip [Fri, 27 Jul 2012 09:54:10 +0000 (10:54 +0100)]
Improved cookbook entry and fixed typo.

12 years agoIssue #15041: update "see also" list in tkinter documentation.
Andrew Svetlov [Thu, 26 Jul 2012 14:02:57 +0000 (17:02 +0300)]
Issue #15041: update "see also" list in tkinter documentation.

12 years agoIssue #15320: Make iterating the list of tests thread-safe when running tests in...
Antoine Pitrou [Wed, 25 Jul 2012 22:45:19 +0000 (00:45 +0200)]
Issue #15320: Make iterating the list of tests thread-safe when running tests in multiprocess mode.
Patch by Chris Jerdonek.

12 years agoMention the *limit* argument of TextIO.readline().
Antoine Pitrou [Wed, 25 Jul 2012 20:38:33 +0000 (22:38 +0200)]
Mention the *limit* argument of TextIO.readline().

12 years agoIssue #15445: Updated logging configuration documentation to highlight potential...
Vinay Sajip [Wed, 25 Jul 2012 18:19:25 +0000 (19:19 +0100)]
Issue #15445: Updated logging configuration documentation to highlight potential security risk posed by listen() in certain scenarios.

12 years agoIssue #7163: Propagate return value of sys.stdout.write.
Martin v. Löwis [Wed, 25 Jul 2012 09:32:26 +0000 (11:32 +0200)]
Issue #7163: Propagate return value of sys.stdout.write.
Patch by Roger Serwy.

12 years agoIssue #15318: Prevent writing to sys.stdin.
Martin v. Löwis [Wed, 25 Jul 2012 08:47:20 +0000 (10:47 +0200)]
Issue #15318: Prevent writing to sys.stdin.
Patch by Roger Serwy and myself.

12 years ago#15232: make NEWS entry more accurate.
R David Murray [Tue, 24 Jul 2012 18:22:19 +0000 (14:22 -0400)]
#15232: make NEWS entry more accurate.

12 years agoIssue #14197: For OS X framework builds, ensure links to the shared
Ned Deily [Tue, 24 Jul 2012 10:31:48 +0000 (03:31 -0700)]
Issue #14197: For OS X framework builds, ensure links to the shared
library are created with the proper ABI suffix.

12 years agoRollback an incorrect Doc/ACKS.txt entry
Jesus Cea [Mon, 23 Jul 2012 16:42:37 +0000 (18:42 +0200)]
Rollback an incorrect Doc/ACKS.txt entry

12 years agoBetter test for Issue #15402: Add a __sizeof__ method to struct.Struct
Jesus Cea [Mon, 23 Jul 2012 16:15:33 +0000 (18:15 +0200)]
Better test for Issue #15402: Add a __sizeof__ method to struct.Struct

12 years agoIssue #15402: Add a __sizeof__ method to struct.Struct.
Meador Inge [Mon, 23 Jul 2012 15:01:29 +0000 (10:01 -0500)]
Issue #15402: Add a __sizeof__ method to struct.Struct.

Initial patch by Serhiy Storchaka.

12 years agomerge heads.
Senthil Kumaran [Mon, 23 Jul 2012 02:32:44 +0000 (19:32 -0700)]
merge heads.

12 years ago- Issue #15250: Document that filecmp.dircmp compares files shallowly. Patch contribu...
Senthil Kumaran [Mon, 23 Jul 2012 02:12:58 +0000 (19:12 -0700)]
- Issue #15250: Document that filecmp.dircmp compares files shallowly. Patch contributed by Chris Jerdonek.

12 years ago#15232: correctly mangle From lines in MIME preamble and epilogue
R David Murray [Mon, 23 Jul 2012 01:47:53 +0000 (21:47 -0400)]
#15232: correctly mangle From lines in MIME preamble and epilogue

12 years ago#15429: Fix invalid mention of types.NoneType from None docs.
R David Murray [Mon, 23 Jul 2012 00:43:13 +0000 (20:43 -0400)]
#15429: Fix invalid mention of types.NoneType from None docs.

12 years agoConsistently raise a TypeError when a non str is passed to hashlib.new
Gregory P. Smith [Sun, 22 Jul 2012 04:19:53 +0000 (21:19 -0700)]
Consistently raise a TypeError when a non str is passed to hashlib.new
regardless of which of the two implementations of new is used.

12 years ago#13922: argparse no longer incorrectly strips '--' after the first one.
R David Murray [Sun, 22 Jul 2012 02:48:35 +0000 (22:48 -0400)]
#13922: argparse no longer incorrectly strips '--' after the first one.

Patch by Jeff Knupp.

12 years ago#12353: argparse now correctly handles null argument values.
R David Murray [Sun, 22 Jul 2012 02:20:11 +0000 (22:20 -0400)]
#12353: argparse now correctly handles null argument values.

Patch by Torsten Landschoff.

12 years ago#14391: clarify docstring discussion of Action's 'type' argument's value.
R David Murray [Sat, 21 Jul 2012 21:04:25 +0000 (17:04 -0400)]
#14391: clarify docstring discussion of Action's 'type' argument's value.

12 years ago#15342: Add clarifying sentence to posixpath.join docstring.
R David Murray [Sat, 21 Jul 2012 18:33:56 +0000 (14:33 -0400)]
#15342: Add clarifying sentence to posixpath.join docstring.

This sentence appears as a clarifying note in the HTML docs, and seems
worth having in the docstring since it covers a very common use case
that isn't otherwise obvious.  Thanks to Yongzhi Pan for the suggestion.

12 years agoRaise ImportError if pyexpat's version is incompatible
Eli Bendersky [Sat, 21 Jul 2012 17:28:46 +0000 (20:28 +0300)]
Raise ImportError if pyexpat's version is incompatible

12 years agoFix test_pprint random dict ordering.
Florent Xicluna [Sat, 21 Jul 2012 10:44:20 +0000 (12:44 +0200)]
Fix test_pprint random dict ordering.

12 years agoIssues #10017 and #14998: Fix TypeError using pprint on dictionaries with unorderable...
Florent Xicluna [Sat, 21 Jul 2012 09:17:38 +0000 (11:17 +0200)]
Issues #10017 and #14998: Fix TypeError using pprint on dictionaries with unorderable key.

12 years agoIssue #14579: Fix CVE-2012-2135: vulnerability in the utf-16 decoder after error...
Antoine Pitrou [Fri, 20 Jul 2012 22:45:14 +0000 (00:45 +0200)]
Issue #14579: Fix CVE-2012-2135: vulnerability in the utf-16 decoder after error handling.
Patch by Serhiy Storchaka.

12 years agoIssue #15406: Fix deprecation warning in ctypes test_bitfields.py
Meador Inge [Fri, 20 Jul 2012 17:48:34 +0000 (12:48 -0500)]
Issue #15406: Fix deprecation warning in ctypes test_bitfields.py

Patch by Flávio Ribeiro.

12 years agoIssue #15404: Refleak in PyMethodObject repr.
Andrew Svetlov [Fri, 20 Jul 2012 11:51:45 +0000 (14:51 +0300)]
Issue #15404: Refleak in PyMethodObject repr.

12 years agoIssue #15399: Added versionchanged for processName.
Vinay Sajip [Fri, 20 Jul 2012 08:50:18 +0000 (09:50 +0100)]
Issue #15399: Added versionchanged for processName.

12 years agoCloses #15395: memory leaks in selectmodule.c
Jesus Cea [Thu, 19 Jul 2012 19:31:26 +0000 (21:31 +0200)]
Closes #15395: memory leaks in selectmodule.c

12 years agoCloses #15396: memory leak in tkinter
Jesus Cea [Thu, 19 Jul 2012 19:18:07 +0000 (21:18 +0200)]
Closes #15396: memory leak in tkinter

12 years agoIssue #15394: Fix ref leaks in PyModule_Create.
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.

12 years agoIssue #6493: Fix handling of c_uint32 bitfields with width of 32 on Windows.
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.

12 years agoremove unused variable
Meador Inge [Wed, 18 Jul 2012 22:57:46 +0000 (17:57 -0500)]
remove unused variable

12 years agoIssue #15368: fixing variable typo.
Meador Inge [Wed, 18 Jul 2012 21:41:03 +0000 (16:41 -0500)]
Issue #15368: fixing variable typo.

12 years agoIssue #15368: make bytecode generation deterministic.
Meador Inge [Wed, 18 Jul 2012 19:20:11 +0000 (14:20 -0500)]
Issue #15368: make bytecode generation deterministic.

12 years agoUse posixpath.join() explicitely in posixpath.join() test
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.

12 years agomerge heads
Eli Bendersky [Tue, 17 Jul 2012 11:22:01 +0000 (14:22 +0300)]
merge heads

12 years agoISsue #14988: restore Python 2's behavior of raising ImportError when unable to load...
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

12 years ago#15377: Make posixpath.join() more strict when checking for str/bytes mix
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.

12 years agoIssue #15230: Attempt to make the OS X buildbots happy by resolving the tmp dir symli...
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

12 years agoFix context manager use in posixpath.join() tests
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).

12 years agoone more test fix for systems without select.poll. tested by deleting
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.

12 years agoFix unchecked select.poll reference in setUp and tearDown for
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.

12 years agoFix the with_poll tests for platforms without poll. missing import.
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.

12 years agoFixes Issue #14635: telnetlib will use poll() rather than select() when possible
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.

12 years ago#15180: Clarify posixpath.join() error message when mixing str & bytes
Hynek Schlawack [Sun, 15 Jul 2012 14:21:30 +0000 (16:21 +0200)]
#15180: Clarify posixpath.join() error message when mixing str & bytes

12 years agoIssue #15230: Update runpy docs to clarify a couple of points that came up in this...
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

12 years agoClose #15230: runpy.run_path now sets __package__ correctly. Also refactored the...
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

12 years agoTry other approach to fix issue #15334.
Antoine Pitrou [Fri, 13 Jul 2012 20:46:41 +0000 (22:46 +0200)]
Try other approach to fix issue #15334.

12 years agoRemove duplicate entry and fix order
Antoine Pitrou [Fri, 13 Jul 2012 19:13:25 +0000 (21:13 +0200)]
Remove duplicate entry and fix order

12 years agoIssue #15334: skip test_dynamic_key when run in non-interactive mode.
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.

12 years agoIssue #15338: skip test_UNC_path when the current user doesn't have enough permission...
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.

12 years agoAdd c_size_t and c_ssize_t to the ctypes summary table.
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.

12 years agoShow the proper way to exit a cmd shell
Raymond Hettinger [Thu, 12 Jul 2012 18:26:01 +0000 (11:26 -0700)]
Show the proper way to exit a cmd shell

12 years agoIssue #15300: Ensure the temporary test working directories are in the same parent...
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.

12 years agoUse _RPCFile.write properly.
Martin v. Löwis [Wed, 11 Jul 2012 07:17:15 +0000 (09:17 +0200)]
Use _RPCFile.write properly.

12 years agoDon't use TextIOBase implementations in _RPCFile.
Martin v. Löwis [Wed, 11 Jul 2012 06:48:34 +0000 (08:48 +0200)]
Don't use TextIOBase implementations in _RPCFile.

12 years agoIssue #15319: Revert wrapping of sys.stdin. Patch by Serhiy Storchaka.
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.

12 years agoBackport test for nested namespace packages.
Antoine Pitrou [Mon, 9 Jul 2012 19:23:58 +0000 (21:23 +0200)]
Backport test for nested namespace packages.

12 years agonormalize whitespace
Martin v. Löwis [Mon, 9 Jul 2012 18:52:40 +0000 (20:52 +0200)]
normalize whitespace

12 years agoIssue #13532: Check that arguments to sys.stdout.write are strings.
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.

12 years agoIssue 12510: Delete actual first param name for all methods; revise tests.
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.

12 years agorevert the changes done for issue14826 - quoting witin Request is not desirable.
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.

12 years agoIssue #13557: Clarify effect of giving two different namespaces to exec or
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().

12 years agoissue 14826 - Address the buildbot failure ( explanation msg164973)
Senthil Kumaran [Sun, 8 Jul 2012 09:08:48 +0000 (02:08 -0700)]
issue 14826 - Address the buildbot failure ( explanation msg164973)

12 years agoFix issue14826 - make urllib.request.Request quoted url consistent with URLOpener...
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.

12 years agoIssue #14990: tokenize: correctly fail with SyntaxError on invalid encoding declaration.
Florent Xicluna [Sat, 7 Jul 2012 10:13:35 +0000 (12:13 +0200)]
Issue #14990: tokenize: correctly fail with SyntaxError on invalid encoding declaration.

12 years agoIssue #15247: FileIO now raises an error when given a file descriptor pointing to...
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.

12 years agoIssue #15020: The program name used to search for Python's path is now "python3"...
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".

12 years agoFix issue # 15033 - Return the proper exitcode for failure when modules are invoked...
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

12 years agoIssue #1677: Unused variable warning in Non-Windows
Jesus Cea [Tue, 3 Jul 2012 11:15:03 +0000 (13:15 +0200)]
Issue #1677: Unused variable warning in Non-Windows

12 years agoMake call of os.getppid() conditional: it is not available on 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.

12 years agoFix inconsistent function name in embedding howto.
Georg Brandl [Sun, 1 Jul 2012 07:43:20 +0000 (09:43 +0200)]
Fix inconsistent function name in embedding howto.

12 years agoIssue #15171: Quote the variable that expands to the current directory.
Stefan Krah [Sat, 30 Jun 2012 16:35:15 +0000 (18:35 +0200)]
Issue #15171: Quote the variable that expands to the current directory.

12 years agoIssue #9239: add tests for modifying zipfile comments in append mode.
Antoine Pitrou [Sat, 30 Jun 2012 15:31:37 +0000 (17:31 +0200)]
Issue #9239: add tests for modifying zipfile comments in append mode.

12 years agoMerged
Tim Golden [Fri, 29 Jun 2012 21:11:38 +0000 (22:11 +0100)]
Merged

12 years agourllib.parse cleanup. rename keywords used as variables
Senthil Kumaran [Fri, 29 Jun 2012 18:08:20 +0000 (11:08 -0700)]
urllib.parse cleanup. rename keywords used as variables

12 years agoBetter diagnose test failure
Antoine Pitrou [Fri, 29 Jun 2012 17:40:35 +0000 (19:40 +0200)]
Better diagnose test failure

12 years agoIssue #1677: Handle better a race condition between the interactive interpreter and
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

12 years ago#5346: Preserve permissions of mbox, MMDF and Babyl mailbox files on flush()
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()

12 years ago#9559: Don't call _pre_mailbox_hook more than once
Petri Lehtinen [Fri, 29 Jun 2012 10:43:37 +0000 (13:43 +0300)]
#9559: Don't call _pre_mailbox_hook more than once

12 years agourlparse docs clean up - no reference to earlier draft
Senthil Kumaran [Fri, 29 Jun 2012 04:07:58 +0000 (21:07 -0700)]
urlparse docs clean up - no reference to earlier draft

12 years agoIssue #5067: improve some json error messages.
Antoine Pitrou [Thu, 28 Jun 2012 23:58:26 +0000 (01:58 +0200)]
Issue #5067: improve some json error messages.
Patch by Serhiy Storchaka.

12 years agoIssue #10571: Fix the "--sign" option of distutils' upload command.
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.

12 years ago#9559: Append data to single-file mailbox files if messages are only added
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.

12 years agoFlush stdout and stderr when running tests in parallel
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)

12 years agoAllow passing extra testing options to the buildbot test scripts
Antoine Pitrou [Wed, 27 Jun 2012 15:27:21 +0000 (17:27 +0200)]
Allow passing extra testing options to the buildbot test scripts

12 years agoIssue #15079: make a test applicable to both C and Python versions of the pickle...
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.

12 years agoIssue #14443: ensure that brp-python-bytecompile is invoked with the correct
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.

12 years agoissue13666 - Fixing datetime documentation example when using tzinfo
Senthil Kumaran [Tue, 26 Jun 2012 12:00:15 +0000 (20:00 +0800)]
issue13666 - Fixing datetime documentation example when using tzinfo

12 years agoIssue #13685 - Update argparse help message for % sign usage.
Senthil Kumaran [Tue, 26 Jun 2012 06:17:19 +0000 (14:17 +0800)]
Issue #13685 - Update argparse help message for % sign usage.