Antoine Pitrou
257cf2fb83
In _PyGC_Fini(), lose the reference that was kept to the time module
2013-08-06 20:50:48 +02:00
Ezio Melotti
0e0ccf73ff
#18443 : remove the TextMate entry now that the bundle has been removed and fix ordering. Patch by Févry Thibault.
2013-08-06 19:52:25 +03:00
Christian Heimes
73207e03ad
Issue #18368 : PyOS_StdioReadline() no longer leaks memory when realloc() fails.
2013-08-06 16:03:33 +02:00
Christian Heimes
9ae513caa7
Issue #18368 : PyOS_StdioReadline() no longer leaks memory when realloc() fails.
2013-08-06 15:59:16 +02:00
Serhiy Storchaka
9b855de8d2
Issue #14323 : Expanded the number of digits in the coefficients for the
...
RGB -- YIQ conversions so that they match the FCC NTSC versions.
2013-08-06 11:51:23 +03:00
Raymond Hettinger
536f9fdcf3
Put the most important and most frequency accessed struct member first.
2013-08-05 22:43:22 -07:00
Raymond Hettinger
c629d4c9a2
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
2013-08-05 22:24:50 -07:00
Antoine Pitrou
9e3d27b574
Followup to 862ab99ab570: I forgot to add the magnificent test_frame.py.
2013-08-05 23:35:43 +02:00
Antoine Pitrou
58720d6145
Issue #17934 : Add a clear() method to frame objects, to help clean up expensive details (local variables) and break reference cycles.
2013-08-05 23:26:40 +02:00
Antoine Pitrou
c53204b947
Issue #4885 : Add weakref support to mmap objects. Patch by Valerie Lambert.
2013-08-05 23:17:30 +02:00
Gregory P. Smith
914061ab15
* 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.
2013-08-05 13:14:37 -07:00
Mark Dickinson
e5192cdbb9
Issue #18661 : typo in grp.struct_group docstring (fix merged from 3.3). Thanks Vajrasky Kok.
2013-08-05 17:57:54 +01:00
Mark Dickinson
fb29a164df
Issue #18661 : typo in grp.struct_group docstring. Thanks Vajrasky Kok.
2013-08-05 17:57:01 +01:00
Mark Dickinson
f3e4b62d02
Issue #18659 : Backed out changeset cfd875bcbe41 after buildbot failures.
2013-08-05 10:59:36 +01:00
Mark Dickinson
a9e626f704
Issue #18659 : fix test_format test that wasn't being executed. Thanks Vajrasky Kok for the patch.
2013-08-05 10:30:14 +01:00
R David Murray
2833f42802
#18657 : remove duplicate entries from Misc/ACKS.
...
Patch by Madison May.
2013-08-04 15:48:29 -04:00
Raymond Hettinger
d7bd7a5525
Silence compiler warnings for strict function prototype declarations.
2013-08-04 12:43:37 -07:00
Terry Jan Reedy
95f34ab959
Issue #18151 : Replace remaining Idle 'open...close' pairs with 'with open'.
2013-08-04 15:39:03 -04:00
Raymond Hettinger
c86d7e989c
Silence compiler warning for an unused declaration
2013-08-04 12:00:36 -07:00
Raymond Hettinger
e56666d17f
Silence compiler warning about an uninitialized variable
2013-08-04 11:51:03 -07:00
Jason R. Coombs
b2aa6f4055
Issue 18532: Added tests and documentation to formally specify the .name attribute on hashlib objects.
2013-08-03 11:39:39 +02:00
R David Murray
21e9ac7c1a
Merge: #18657 : remove duplicate entries from Misc/ACKS.
2013-08-04 15:50:08 -04:00
Raymond Hettinger
28dc9b9fc0
merge
2013-08-04 12:43:59 -07:00
Terry Jan Reedy
ec53111f76
Merge with 3.3
2013-08-04 15:39:32 -04:00
Alexander Belopolsky
44473f26de
Merge.
2013-08-04 15:19:49 -04:00
Alexander Belopolsky
df7027bb9e
Reuse us_per_second in delta_total_seconds.
2013-08-04 15:18:58 -04:00
Raymond Hettinger
b3325a18ae
merge
2013-08-04 12:04:11 -07:00
Alexander Belopolsky
0d4f94a739
Merge.
2013-08-04 14:52:42 -04:00
Alexander Belopolsky
790d269d39
Fixes #8860 : Round half-microseconds to even in the timedelta constructor.
...
(Original patch by Mark Dickinson.)
2013-08-04 14:51:35 -04:00
Raymond Hettinger
5ed1b38a7d
merge
2013-08-04 11:51:35 -07:00
Ethan Furman
5e5a8230c2
Close #18635 : Move class level private attribute from instance to class.
2013-08-04 08:42:23 -07:00
Charles-François Natali
af760db067
Null merge.
2013-08-04 15:35:57 +02:00
Victor Stinner
8580dab513
Hum, VMS code is still present
2013-08-04 10:32:26 +02:00
Victor Stinner
f3fd13b5dd
Complete What's New in Python 3.4
2013-08-04 10:30:57 +02:00
Larry Hastings
b90f417d69
Merging the 3.4.0a1 head.
2013-08-03 23:30:13 -07:00
Larry Hastings
a3c6a1fb6f
Cycled Misc/NEWS for alpha 2, touched patchlevel.
2013-08-03 23:29:24 -07:00
Eli Bendersky
c4216ab92b
Issue #17902 : Clarify doc of ElementTree.iterparse and IncrementalParser
...
Based on patch by Aaron Oakley
2013-08-03 18:55:10 -07:00
Eli Bendersky
ca97fd3053
Issue #17902 : Clarify doc of ElementTree.iterparse
2013-08-03 18:52:32 -07:00
Eli Bendersky
b9b6ce6f2c
Merge fix for Issue #17011 from 3.3
2013-08-03 17:48:41 -07:00
Eli Bendersky
2acc525a97
Issue #17011 : Fix caching of xpath path when namespaces are present.
...
Thanks to Stefan Behnel for the report and proposed solution & test.
2013-08-03 17:47:47 -07:00
Serhiy Storchaka
739e75000f
Issue #16741 : Remove testing of implementation artifact.
2013-08-04 01:05:02 +03:00
Serhiy Storchaka
3ceaff0777
Issue #16741 : Remove testing of implementation artifact.
2013-08-04 01:04:15 +03:00
Serhiy Storchaka
3efad82b05
Issue #18647 : Temporary disable the "nothing to repeat" check to make buildbots happy.
2013-08-03 23:47:48 +03:00
Serhiy Storchaka
5e376a7809
Issue #18647 : Temporary disable the "nothing to repeat" check to make buildbots happy.
2013-08-03 23:46:19 +03:00
Larry Hastings
436151e2ca
Merge from v3.4.0a1 head.
2013-08-03 13:01:39 -07:00
Larry Hastings
70a892b581
Added tag v3.4.0a1 for changeset 46535f65e7f3
2013-08-03 13:00:18 -07:00
Larry Hastings
1f08c772f5
Bumped version to 3.4.0a1.
2013-08-03 12:58:12 -07:00
Larry Hastings
4e0f6639d8
Updated pydoc topics for Python 3.4.0a1 release.
2013-08-03 12:47:53 -07:00
Serhiy Storchaka
7e53793023
Null merge
2013-08-03 21:19:10 +03:00
Serhiy Storchaka
616c44188d
Merge heads
2013-08-03 21:17:27 +03:00