Ned Deily
fb77386ffb
Issue #18071 : Extension module builds on OS X could fail with TypeError
...
if Xcode command line tools were not installed.
2013-07-31 00:14:20 -07:00
Terry Jan Reedy
9ba8d6bf34
Make all idle test case names end with 'Test'.
2013-07-30 01:37:36 -04:00
Terry Jan Reedy
aea6c115ed
Update gui section of idle test README.
2013-07-28 16:39:44 -04:00
Raymond Hettinger
662908b5e5
Restore the data block size to 62.
...
The former block size traded away good fit within cache lines in
order to gain faster division in deque_item(). However, compilers
are getting smarter and can now replace the slow division operation
with a fast integer multiply and right shift. Accordingly, it makes
sense to go back to a size that lets blocks neatly fill entire
cache-lines.
GCC-4.8 and CLANG 4.0 both compute "x // 62" with something
roughly equivalent to "x * 9520900167075897609 >> 69".
2013-07-28 02:34:42 -07:00
Terry Jan Reedy
16b10c64d7
Issue #18441 : Move commented out code to issue message.
2013-07-28 00:01:00 -04:00
Terry Jan Reedy
d826d77d11
Issue #18441 : whitespace
2013-07-27 22:29:09 -04:00
Terry Jan Reedy
47cb4d62c6
Issue #18441 : Comment out code that will not compile because the standard
...
library has a package, lib-tk, that cannot be imported by normal means.
Lib/test/test_tk, etc, have special code to access this package. I will not
bother with it unless the darwin check is needed before it gets moved to
test.(test-)support.py.
2013-07-27 22:27:25 -04:00
Terry Jan Reedy
d71244f189
Issue #18441 : add Mac (darwin) gui check. This is not needed today, but has been
...
in the past and might be needed again in the future
2013-07-27 22:06:03 -04:00
Terry Jan Reedy
cc8506ecbe
Update int division to quiet 2to3 warning.
2013-07-27 20:28:53 -04:00
Terry Jan Reedy
6fb6f8cf58
Issue #18441 : Correct previous patch, which hg committed before I wanted it to.
2013-07-27 19:07:07 -04:00
Terry Jan Reedy
09eb26fe26
Issue #18441 : Make test.support.requires('gui') skip when it should.
...
(Consolidating this check and various checks in tkinter files and moving them
to test.support and test.regrtest will be another issue.)
2013-07-21 20:13:24 -04:00
Terry Jan Reedy
241f653b8a
Remove repetition of string escapes note 1 at end of note 2.
2013-07-27 15:54:05 -04:00
Terry Jan Reedy
349065500a
Issue #18539 : Calltips now work for float default arguments.
2013-07-26 18:21:32 -04:00
R David Murray
d5648ac382
#15130 : remove repeat of abstract paragraph from socket howto body.
...
Patch by Tshepang Lekhonkhobe.
2013-07-25 13:33:35 -04:00
Ezio Melotti
e21b6ae725
#14853 : remove test that was making too many assumptions about stdin. Patch by Elena Oat.
2013-07-25 05:21:00 +02:00
Vinay Sajip
bcf55a758d
Issue #18541 : simplified LoggerAdapter example.
2013-07-24 17:47:52 +01:00
Terry Jan Reedy
f688f725b5
Backed out changeset: 23b0164b9c82 #18441 not working
2013-07-21 21:57:52 -04:00
Terry Jan Reedy
1ad65ac841
Backed out changeset: 9f922270a929 so can backout larger patch
2013-07-21 21:57:02 -04:00
Terry Jan Reedy
518e48b2bc
Issue #18441 : fix buildbot name-error for TclError.
2013-07-21 21:24:45 -04:00
Terry Jan Reedy
7af16b3829
Issue #18439 : Move news entry misplaced by graft merge.
2013-07-21 21:08:29 -04:00
Terry Jan Reedy
68ad1d1372
Issue #18439 : Make patchcheck work on Windows for ACKS, NEWS.
2013-07-21 20:57:44 -04:00
Terry Jan Reedy
2c636fd655
Issue #18441 : Make test.support.requires('gui') skip when it should.
...
(Consolidating this check and various checks in tkinter files and moving them
to test.support and test.regrtest will be another issue.)
2013-07-21 20:13:24 -04:00
Ned Deily
14ef0c8d6b
Issue #17532 : Prevent exception when changing key sets if Options menu is empty.
2013-07-20 14:38:24 -07:00
Raymond Hettinger
69468146b4
Issue #18513 : Add workaround for OS X 10.8 cexp bug that leads to wrong cmath.rect(0.0,-0.0) results.
2013-07-20 10:56:58 -07:00
Serhiy Storchaka
f52d574481
Issue #18448 : Fix a typo in Demo/newmetaclasses/Eiffel.py.
2013-07-16 22:11:28 +03:00
Raymond Hettinger
b77ed2c54b
Backport c952f3d122ae: Tweak the deque struct by moving the least used fields
...
(maxlen and weakref) to the end.
2013-07-16 02:34:19 -07:00
Raymond Hettinger
90180c1c3f
Move the leftlink to the end of the block structure.
...
The current pattern of memory access will update both the leftlink and
rightlink at the same time, so they should be positioned side-by-side
for better cache locality.
Keeping the leftlink at the front of the structure would make sense
only if the paired updates were eliminated by backporting changesets
49a9c734304d, 3555cc0ca35b, ae9ee46bd471, and 744dd749e25b. However,
that isn't likely to happen, so we're better off with the leftlink at
the end of the structure.
2013-07-16 01:59:30 -07:00
Ned Deily
b7a285f528
Issue #18471 : Fix typo in heapq documentation (reported by François Pinard).
2013-07-15 19:07:41 -07:00
Richard Oudkerk
c8ef9bc694
Issue #18455 : multiprocessing should not retry connect() with same socket.
2013-07-15 18:37:48 +01:00
Ronald Oussoren
a85fa5c666
Move entry from #18427 to the right section in the NEWS file
2013-07-15 18:35:14 +02:00
Ned Deily
c967a593c9
Issue #18452 : fix several "occurrence" typos (reported by Févry Thibault).
2013-07-14 12:42:27 -07:00
Terry Jan Reedy
a25a31a901
Issue #18365 : convert buildbot errors to skips.
2013-07-13 04:05:42 -04:00
Terry Jan Reedy
c8a198ce02
Issue #18279 : Add tests for idlelib/RstripExtension.py. Original patch by
...
Phil Webster. With that available, modify RstripExtension.py to stop deleting
null slices, which caused a file to be marked as changed when it was not.
2013-07-13 02:34:35 -04:00
Terry Jan Reedy
e7cbd3f07c
Issue #18365 : 2.7 corrections so tests run
2013-07-13 00:02:27 -04:00
R David Murray
d781b07e29
#18437 : fix comment typo.
2013-07-12 22:57:12 -04:00
Terry Jan Reedy
fccb0d2d0d
Issue #18365 : normalize whitespace
2013-07-12 20:18:33 -04:00
Terry Jan Reedy
16c107046f
Issue #18365 : Add mock Text class and test thereof versus tk.Text.
...
Based on patches by Todd.Rovito and Phil Webster.
2013-07-12 20:10:17 -04:00
R David Murray
4f0102f189
#18389 : Clarify that relpath does not access the file system.
...
Initial patch by Madison May.
2013-07-12 18:21:41 -04:00
Serhiy Storchaka
fab65428d5
Issue #18101 : Tcl.split() now process Unicode strings nested in a tuple as it
...
do with byte strings.
Added tests for Tcl.split() and tcl.splitline().
2013-07-11 20:32:48 +03:00
Serhiy Storchaka
fe2e839565
Fix reference leaks introduced by the patch for issue #5308 .
2013-07-11 19:14:07 +03:00
Serhiy Storchaka
8cedb89ccd
Merge heads
2013-07-11 18:28:35 +03:00
Serhiy Storchaka
6cda0adf3a
Issue #18336 . Fix a link to StreamReader's read() method.
2013-07-11 18:25:19 +03:00
Ronald Oussoren
3687e8055c
Issue #18427 : str.replace could crash the interpreter with huge strings.
...
This fixes two places where 'int' was used to represent
the size of strings, instead of 'Py_ssize_t'.
(The issue is not present in the corresponding code in the 3.x branches)
Fixes #18427
2013-07-11 13:33:55 +02:00
R David Murray
f7c8584545
#18424 : PEP8ify the tense of the sum docstring.
2013-07-10 16:23:15 -04:00
Ronald Oussoren
cc879a0592
Issue #18377 : Code cleanup in Python Launcher
...
This changeset fixes a number of compiler warnings in the Python Launcher
binary for OSX. It also cleans up whitespace usage in those sources.
2013-07-07 09:49:23 +02:00
Ronald Oussoren
51ee65645a
Issue #12990 : The "Python Launcher" on OSX could not launch python scripts that have paths that include wide characters.
2013-07-06 13:19:58 +02:00
Christian Heimes
20d46692fc
Issue #18347 : ElementTree's html serializer now preserves the case of closing tags.
2013-07-05 01:41:30 +02:00
Antoine Pitrou
0c503c2c7f
Issue #11185 : Fix test_wait4 under AIX. Patch by Sébastien Sablé.
2013-07-04 21:03:10 +02:00
Eric V. Smith
e38905b4fa
Closes #18312 : 'make distclean' no longer deletes files in dot-directories.
2013-07-02 09:02:03 -04:00
Richard Oudkerk
1e462fefd6
Issue #17261 : Ensure multiprocessing's proxies use proper address.
2013-07-02 13:31:43 +01:00