]>
granicus.if.org Git - python/log
Ezio Melotti [Sat, 10 Aug 2013 15:37:36 +0000 (18:37 +0300)]
#18453: merge with 3.3.
Ezio Melotti [Sat, 10 Aug 2013 15:37:05 +0000 (18:37 +0300)]
#18453: fix unused variables in test_xmlrpc. Patch by Vajrasky Kok.
Ezio Melotti [Sat, 10 Aug 2013 15:30:57 +0000 (18:30 +0300)]
#18465: merge with 3.3.
Ezio Melotti [Sat, 10 Aug 2013 15:30:29 +0000 (18:30 +0300)]
#18465: fix unused variables in test_minidom. Patch by Vajrasky Kok.
Ezio Melotti [Sat, 10 Aug 2013 15:20:59 +0000 (18:20 +0300)]
#18484: merge with 3.3.
Ezio Melotti [Sat, 10 Aug 2013 15:20:09 +0000 (18:20 +0300)]
#18484: improve test coverage of http.cookiejar. Patch by Vajrasky Kok.
Ezio Melotti [Sat, 10 Aug 2013 15:08:13 +0000 (18:08 +0300)]
#18483: merge with 3.3.
Ezio Melotti [Sat, 10 Aug 2013 15:07:25 +0000 (18:07 +0300)]
#18483: add one more date format in test_http2time_formats. Patch by Vajrasky Kok.
Eli Bendersky [Sat, 10 Aug 2013 15:00:39 +0000 (08:00 -0700)]
Issue #15651: PEP 3121 refactoring for _elementtree
Patch by Antoine Pitrou (based on Robin Schreiber's original patch)
Christian Heimes [Sat, 10 Aug 2013 14:38:23 +0000 (16:38 +0200)]
typo, changeset
dd0d751cc7f1 belongs to issue #16499 not issue #16400
Christian Heimes [Sat, 10 Aug 2013 14:36:18 +0000 (16:36 +0200)]
Issue #16400: Add command line option for isolated mode.
-I
Run Python in isolated mode. This also implies -E and -s. In isolated mode
sys.path contains neither the script’s directory nor the user’s
site-packages directory. All PYTHON* environment variables are ignored,
too. Further restrictions may be imposed to prevent the user from
injecting malicious code.
Eli Bendersky [Sat, 10 Aug 2013 12:58:10 +0000 (05:58 -0700)]
Issue #18668: Further clarify m_size setting for non-negative values
Eli Bendersky [Sat, 10 Aug 2013 12:57:27 +0000 (05:57 -0700)]
Issue #18668: Further clarify m_size setting for non-negative values
R David Murray [Fri, 9 Aug 2013 20:20:06 +0000 (16:20 -0400)]
Null merge related to #18600.
For 3.3, we just deleted the example. In 3.4 it was fixed.
R David Murray [Fri, 9 Aug 2013 20:17:00 +0000 (16:17 -0400)]
#18600: In 3.3, as_string does not accept a policy keyword.
Also, document the policy keyword that was added to Message in 3.3.
R David Murray [Fri, 9 Aug 2013 20:15:28 +0000 (16:15 -0400)]
#18600: add policy to add_string, and as_bytes and __bytes__ methods.
This was triggered by wanting to make the doctest in email.policy.rst pass;
as_bytes and __bytes__ are clearly useful now that we have BytesGenerator.
Also updated the Message docs to document the policy keyword that was
added in 3.3.
Vinay Sajip [Thu, 8 Aug 2013 17:28:53 +0000 (18:28 +0100)]
Closes #18671: Output more information when logging exceptions occur.
Ezio Melotti [Thu, 8 Aug 2013 17:12:57 +0000 (20:12 +0300)]
#18357: merge with 3.3.
Ezio Melotti [Thu, 8 Aug 2013 17:12:28 +0000 (20:12 +0300)]
#18357: add tests for dictview set difference. Patch by Fraser Tweedale.
Ezio Melotti [Thu, 8 Aug 2013 16:37:52 +0000 (19:37 +0300)]
#18581: merge with 3.3.
Ezio Melotti [Thu, 8 Aug 2013 16:36:36 +0000 (19:36 +0300)]
#18581: remove duplicate test and run a test class that was skipped. Initial patch by Vajrasky Kok.
Serhiy Storchaka [Thu, 8 Aug 2013 13:49:45 +0000 (16:49 +0300)]
Fix a typo in PyUnicode_CopyCharacters() documentation.
Serhiy Storchaka [Thu, 8 Aug 2013 13:47:43 +0000 (16:47 +0300)]
Fix a typo in PyUnicode_CopyCharacters() documentation.
Ezio Melotti [Thu, 8 Aug 2013 12:46:13 +0000 (15:46 +0300)]
#18267: merge with 3.3.
Ezio Melotti [Thu, 8 Aug 2013 12:45:56 +0000 (15:45 +0300)]
#18267: make whitespace consistent and fix an operator.
Ezio Melotti [Thu, 8 Aug 2013 12:18:26 +0000 (15:18 +0300)]
#18273: merge with 3.3.
Ezio Melotti [Thu, 8 Aug 2013 12:03:45 +0000 (15:03 +0300)]
#18273: move the tests in Lib/test/json_tests to Lib/test/test_json and make them discoverable by unittest. Patch by Zachary Ware.
Larry Hastings [Thu, 8 Aug 2013 07:19:50 +0000 (00:19 -0700)]
Issue #15301: Parsing fd, uid, and gid parameters for builtins
in Modules/posixmodule.c is now far more robust.
Eli Bendersky [Wed, 7 Aug 2013 12:54:28 +0000 (05:54 -0700)]
Closing #18668: Properly document setting m_size in PyModuleDef
Eli Bendersky [Wed, 7 Aug 2013 12:52:20 +0000 (05:52 -0700)]
Issue #18668: Properly document setting m_size in PyModuleDef
Antoine Pitrou [Tue, 6 Aug 2013 21:06:59 +0000 (23:06 +0200)]
Issue #18665: fix typos. Patch by Vajrasky Kok.
Antoine Pitrou [Tue, 6 Aug 2013 21:05:23 +0000 (23:05 +0200)]
Issue #18666: improve test_frame a bit. Patch by Vajrasky Kok.
Antoine Pitrou [Tue, 6 Aug 2013 20:57:31 +0000 (22:57 +0200)]
Normalize whitespace
Antoine Pitrou [Tue, 6 Aug 2013 20:56:40 +0000 (22:56 +0200)]
Issue #18621: Prevent the site module's patched builtins from keeping too many references alive for too long.
Antoine Pitrou [Tue, 6 Aug 2013 20:50:15 +0000 (22:50 +0200)]
Improve verbose reporting of shutdown phase by using the "public" module name
Antoine Pitrou [Tue, 6 Aug 2013 18:50:48 +0000 (20:50 +0200)]
In _PyGC_Fini(), lose the reference that was kept to the time module
Ezio Melotti [Tue, 6 Aug 2013 16:52:25 +0000 (19:52 +0300)]
#18443: remove the TextMate entry now that the bundle has been removed and fix ordering. Patch by Févry Thibault.
Christian Heimes [Tue, 6 Aug 2013 14:03:33 +0000 (16:03 +0200)]
Issue #18368: PyOS_StdioReadline() no longer leaks memory when realloc() fails.
Christian Heimes [Tue, 6 Aug 2013 13:59:16 +0000 (15:59 +0200)]
Issue #18368: PyOS_StdioReadline() no longer leaks memory when realloc() fails.
Serhiy Storchaka [Tue, 6 Aug 2013 08:51:23 +0000 (11:51 +0300)]
Issue #14323: Expanded the number of digits in the coefficients for the
RGB -- YIQ conversions so that they match the FCC NTSC versions.
Raymond Hettinger [Tue, 6 Aug 2013 05:43:22 +0000 (22:43 -0700)]
Put the most important and most frequency accessed struct member first.
Raymond Hettinger [Tue, 6 Aug 2013 05:24:50 +0000 (22:24 -0700)]
Replace outdated optimization with clearer code that compiles better.
Letting the compiler decide how to optimize the multiply by five
gives it the freedom to make better choices for the best technique
for a given target machine.
For example, GCC on x86_64 produces a little bit better code:
Old-way (3 steps with a data dependency between each step):
shrq $5, %r13
leaq 1(%rbx,%r13), %rax
leaq (%rax,%rbx,4), %rbx
New-way (3 steps with no dependency between the first two steps
which can be run in parallel):
leaq (%rbx,%rbx,4), %rax # i*5
shrq $5, %r13 # perturb >>= PERTURB_SHIFT
leaq 1(%r13,%rax), %rbx # 1 + perturb + i*5
Antoine Pitrou [Mon, 5 Aug 2013 21:35:43 +0000 (23:35 +0200)]
Followup to
862ab99ab570 : I forgot to add the magnificent test_frame.py.
Antoine Pitrou [Mon, 5 Aug 2013 21:26:40 +0000 (23:26 +0200)]
Issue #17934: Add a clear() method to frame objects, to help clean up expensive details (local variables) and break reference cycles.
Antoine Pitrou [Mon, 5 Aug 2013 21:17:30 +0000 (23:17 +0200)]
Issue #4885: Add weakref support to mmap objects. Patch by Valerie Lambert.
Gregory P. Smith [Mon, 5 Aug 2013 20:14:37 +0000 (13:14 -0700)]
* Fix the assertions in hashlib to use unittest assertion methods instead of
evil assert statements.
* Add an additional assert to the new test_name_attribute test that actually
confirms that a hash created using each h.name results in a new hash sharing
the same name.
Mark Dickinson [Mon, 5 Aug 2013 16:57:54 +0000 (17:57 +0100)]
Issue #18661: typo in grp.struct_group docstring (fix merged from 3.3). Thanks Vajrasky Kok.
Mark Dickinson [Mon, 5 Aug 2013 16:57:01 +0000 (17:57 +0100)]
Issue #18661: typo in grp.struct_group docstring. Thanks Vajrasky Kok.
Mark Dickinson [Mon, 5 Aug 2013 09:59:36 +0000 (10:59 +0100)]
Issue #18659: Backed out changeset
cfd875bcbe41 after buildbot failures.
Mark Dickinson [Mon, 5 Aug 2013 09:30:14 +0000 (10:30 +0100)]
Issue #18659: fix test_format test that wasn't being executed. Thanks Vajrasky Kok for the patch.
R David Murray [Sun, 4 Aug 2013 19:48:29 +0000 (15:48 -0400)]
#18657: remove duplicate entries from Misc/ACKS.
Patch by Madison May.
Raymond Hettinger [Sun, 4 Aug 2013 19:43:37 +0000 (12:43 -0700)]
Silence compiler warnings for strict function prototype declarations.
Terry Jan Reedy [Sun, 4 Aug 2013 19:39:03 +0000 (15:39 -0400)]
Issue #18151: Replace remaining Idle 'open...close' pairs with 'with open'.
Raymond Hettinger [Sun, 4 Aug 2013 19:00:36 +0000 (12:00 -0700)]
Silence compiler warning for an unused declaration
Raymond Hettinger [Sun, 4 Aug 2013 18:51:03 +0000 (11:51 -0700)]
Silence compiler warning about an uninitialized variable
Jason R. Coombs [Sat, 3 Aug 2013 09:39:39 +0000 (11:39 +0200)]
Issue 18532: Added tests and documentation to formally specify the .name attribute on hashlib objects.
R David Murray [Sun, 4 Aug 2013 19:50:08 +0000 (15:50 -0400)]
Merge: #18657: remove duplicate entries from Misc/ACKS.
Raymond Hettinger [Sun, 4 Aug 2013 19:43:59 +0000 (12:43 -0700)]
merge
Terry Jan Reedy [Sun, 4 Aug 2013 19:39:32 +0000 (15:39 -0400)]
Merge with 3.3
Alexander Belopolsky [Sun, 4 Aug 2013 19:19:49 +0000 (15:19 -0400)]
Merge.
Alexander Belopolsky [Sun, 4 Aug 2013 19:18:58 +0000 (15:18 -0400)]
Reuse us_per_second in delta_total_seconds.
Raymond Hettinger [Sun, 4 Aug 2013 19:04:11 +0000 (12:04 -0700)]
merge
Alexander Belopolsky [Sun, 4 Aug 2013 18:52:42 +0000 (14:52 -0400)]
Merge.
Alexander Belopolsky [Sun, 4 Aug 2013 18:51:35 +0000 (14:51 -0400)]
Fixes #8860: Round half-microseconds to even in the timedelta constructor.
(Original patch by Mark Dickinson.)
Raymond Hettinger [Sun, 4 Aug 2013 18:51:35 +0000 (11:51 -0700)]
merge
Ethan Furman [Sun, 4 Aug 2013 15:42:23 +0000 (08:42 -0700)]
Close #18635: Move class level private attribute from instance to class.
Charles-François Natali [Sun, 4 Aug 2013 13:35:57 +0000 (15:35 +0200)]
Null merge.
Victor Stinner [Sun, 4 Aug 2013 08:32:26 +0000 (10:32 +0200)]
Hum, VMS code is still present
Victor Stinner [Sun, 4 Aug 2013 08:30:57 +0000 (10:30 +0200)]
Complete What's New in Python 3.4
Larry Hastings [Sun, 4 Aug 2013 06:30:13 +0000 (23:30 -0700)]
Merging the 3.4.0a1 head.
Larry Hastings [Sun, 4 Aug 2013 06:29:24 +0000 (23:29 -0700)]
Cycled Misc/NEWS for alpha 2, touched patchlevel.
Eli Bendersky [Sun, 4 Aug 2013 01:55:10 +0000 (18:55 -0700)]
Issue #17902: Clarify doc of ElementTree.iterparse and IncrementalParser
Based on patch by Aaron Oakley
Eli Bendersky [Sun, 4 Aug 2013 01:52:32 +0000 (18:52 -0700)]
Issue #17902: Clarify doc of ElementTree.iterparse
Eli Bendersky [Sun, 4 Aug 2013 00:48:41 +0000 (17:48 -0700)]
Merge fix for Issue #17011 from 3.3
Eli Bendersky [Sun, 4 Aug 2013 00:47:47 +0000 (17:47 -0700)]
Issue #17011: Fix caching of xpath path when namespaces are present.
Thanks to Stefan Behnel for the report and proposed solution & test.
Serhiy Storchaka [Sat, 3 Aug 2013 22:05:02 +0000 (01:05 +0300)]
Issue #16741: Remove testing of implementation artifact.
Serhiy Storchaka [Sat, 3 Aug 2013 22:04:15 +0000 (01:04 +0300)]
Issue #16741: Remove testing of implementation artifact.
Serhiy Storchaka [Sat, 3 Aug 2013 20:47:48 +0000 (23:47 +0300)]
Issue #18647: Temporary disable the "nothing to repeat" check to make buildbots happy.
Serhiy Storchaka [Sat, 3 Aug 2013 20:46:19 +0000 (23:46 +0300)]
Issue #18647: Temporary disable the "nothing to repeat" check to make buildbots happy.
Larry Hastings [Sat, 3 Aug 2013 20:01:39 +0000 (13:01 -0700)]
Merge from v3.4.0a1 head.
Larry Hastings [Sat, 3 Aug 2013 20:00:18 +0000 (13:00 -0700)]
Added tag v3.4.0a1 for changeset
46535f65e7f3
Larry Hastings [Sat, 3 Aug 2013 19:58:12 +0000 (12:58 -0700)]
Bumped version to 3.4.0a1.
Larry Hastings [Sat, 3 Aug 2013 19:47:53 +0000 (12:47 -0700)]
Updated pydoc topics for Python 3.4.0a1 release.
Serhiy Storchaka [Sat, 3 Aug 2013 18:19:10 +0000 (21:19 +0300)]
Null merge
Serhiy Storchaka [Sat, 3 Aug 2013 18:17:27 +0000 (21:17 +0300)]
Merge heads
Serhiy Storchaka [Sat, 3 Aug 2013 18:17:04 +0000 (21:17 +0300)]
Merge heads
Serhiy Storchaka [Sat, 3 Aug 2013 18:14:05 +0000 (21:14 +0300)]
Issue #16741: Fix an error reporting in int().
Martin v. Löwis [Sat, 3 Aug 2013 18:12:45 +0000 (20:12 +0200)]
Issue #16067: Merge with 3.3
Martin v. Löwis [Sat, 3 Aug 2013 18:09:42 +0000 (20:09 +0200)]
Issue #16067: Add description into MSI file to replace installer's temporary name.
Serhiy Storchaka [Sat, 3 Aug 2013 17:55:06 +0000 (20:55 +0300)]
Issue #16741: Fix an error reporting in int().
Serhiy Storchaka [Sat, 3 Aug 2013 16:28:28 +0000 (19:28 +0300)]
Merge heads
Serhiy Storchaka [Sat, 3 Aug 2013 16:22:28 +0000 (19:22 +0300)]
Issue #17998: Fix an internal error in regular expression engine.
Serhiy Storchaka [Sat, 3 Aug 2013 16:18:38 +0000 (19:18 +0300)]
Issue #17998: Fix an internal error in regular expression engine.
Mark Dickinson [Sat, 3 Aug 2013 16:14:50 +0000 (17:14 +0100)]
Remove debugging print.
doko@ubuntu.com [Sat, 3 Aug 2013 14:18:55 +0000 (16:18 +0200)]
- Fix a fcntl test case on KFreeBSD, Debian #708653 (Petr Salinger).
doko@ubuntu.com [Sat, 3 Aug 2013 14:12:33 +0000 (16:12 +0200)]
- Fix a fcntl test case on KFreeBSD, Debian #708653 (Petr Salinger).
Nick Coghlan [Sat, 3 Aug 2013 13:03:27 +0000 (23:03 +1000)]
Merge #18396 from 3.3
Nick Coghlan [Sat, 3 Aug 2013 12:56:30 +0000 (22:56 +1000)]
Close #18396: fix spurious test_signal failure on Windows
signal.getsignal returns None for some signals if faulthandler
is enabled (Patch by Jeremy Kloth)
Mark Dickinson [Sat, 3 Aug 2013 11:08:22 +0000 (12:08 +0100)]
Minor consistency fixes for some longobject.c exception messages:
- replace 'long int' / 'long' by 'int'
- fix capitalization of "Python" in PyLong_AsUnsignedLong
- "is too large" -> "too large", for consistency with other messages.
Larry Hastings [Sat, 3 Aug 2013 09:49:53 +0000 (02:49 -0700)]
Fix minor documentation markup error.