Terry Jan Reedy
62ea43cc06
Merge heads.
2014-01-26 20:10:56 -05:00
Terry Jan Reedy
e7a72a194d
Issue #20338 : Increase allowed tip width slightly and wrap long signagure lines.
...
Original patch by Serhiy Storchaka.
2014-01-26 19:55:07 -05:00
Serhiy Storchaka
30d68c66e3
Issue #19990 : Added tests for the imghdr module.
...
Based on patch by Claudiu Popa.
2014-01-26 23:48:20 +02:00
Serhiy Storchaka
4a44f8791c
Fixed a bug in previous changeset: StreamReader returned '' instead of u''.
2014-01-26 21:19:59 +02:00
Serhiy Storchaka
2403a787b9
Issue #8260 : The read(), readline() and readlines() methods of
...
codecs.StreamReader returned incomplete data when were called after
readline() or read(size). Based on patch by Amaury Forgeot d'Arc.
2014-01-26 19:20:24 +02:00
Benjamin Peterson
072cd0c884
update sphinx url
2014-01-25 13:27:06 -05:00
Benjamin Peterson
72c081d1e7
linkify
2014-01-25 13:26:18 -05:00
Serhiy Storchaka
1adbacfd1c
Issue #20331 : Fixed possible FD leaks in various modules:
...
SimpleHTTPServer, imghdr, mailcap, mimetypes, xml.etree.
2014-01-25 19:42:27 +02:00
Benjamin Peterson
d8be9feb45
update hosting faq
2014-01-24 23:59:57 -05:00
Benjamin Peterson
0ac0eadf8d
new plan: just remove typecasts ( closes #20374 )
2014-01-24 11:44:16 -05:00
Benjamin Peterson
ce75105e10
use new readline function types ( closes #20374 )
2014-01-24 00:32:12 -05:00
Serhiy Storchaka
eb7ef94166
Third attempt to fix test_user_command on OpenSolaris.
2014-01-23 16:08:35 +02:00
Serhiy Storchaka
dc97667254
Other attempt to fix test_user_command on OpenSolaris.
2014-01-23 14:38:44 +02:00
Serhiy Storchaka
83515ecf42
Try to fix test_user_command on OpenSolaris where floats can have different
...
string representation in Tcl and Python.
2014-01-23 11:03:02 +02:00
Serhiy Storchaka
29d8e856b4
Added test_user_command in test_tcl.
...
It tests the convertion Tcl values to Python values when Tcl calls a command
implemented on Python. Currently all values are passed as strings.
2014-01-23 09:42:46 +02:00
Terry Jan Reedy
5924365528
Issue #17390 : Add Python version to Idle editor window title bar.
...
Original patches by Edmond Burnett and Kent Johnson.
2014-01-23 00:36:37 -05:00
Richard Oudkerk
e8a57b98ec
Issue #14548 : Make multiprocessing finalizers check pid before
...
running to cope with possibility of gc running just after fork.
(Backport from 3.x.)
2014-01-23 00:11:04 +00:00
Stefan Krah
70fdd79c92
Fix test failures --without-threads.
2014-01-22 13:18:09 +01:00
Terry Jan Reedy
b190b33f64
Issue #20818 : Remove code from idlelib.CallTipWindow.showtip that is now
...
completely redundant. After 16638 patch, CallTips.get_argspec trims over-long
signature strings as well as docstring lines.
2014-01-21 21:12:13 -05:00
Terry Jan Reedy
82c48e098a
Issue #16638 : Include up to 5 docstring header lines (before first blank) in
...
Idle calltips. This is needed for builtins, such 3.x bytes (which is why 5).
Based on patch by Serhiy Storchaka.
2014-01-21 20:45:03 -05:00
Florent Xicluna
edfd9addf6
Issue #17825 : Cursor ^ is correctly positioned for SyntaxError and IndentationError.
2014-01-22 01:33:59 +01:00
Stefan Krah
70df667dfe
Issue #20246 : Fix test failures on FreeBSD. Patch by Ryan Smith-Roberts.
2014-01-21 23:05:52 +01:00
Terry Jan Reedy
21334e72fd
Issue #16630 : Make Idle calltips work even when __getattr__ raises.
...
Initial patch by Roger Serwy.
2014-01-21 15:36:36 -05:00
Georg Brandl
3ce5255a07
Fix markup error.
2014-01-21 19:21:18 +01:00
Terry Jan Reedy
0e2793c413
Issue #16655 : Explain why Idle's test_calltips has 'fragile' tests of builtins.
...
I do not expect a problem in 2.7, but backported this anyway, 'in case'.
2014-01-21 03:07:43 -05:00
Terry Jan Reedy
598295c63c
Issue #21222 : Whitespace
2014-01-21 00:31:07 -05:00
Terry Jan Reedy
02fd1fd7fd
Issue #20122 : Idlelib: Move tests in 3.x CallTips.py to test_calltips.py.
...
For 2.7 backport, fix get_arg_spec as needed to make expanded tests pass.
2014-01-21 00:26:10 -05:00
Serhiy Storchaka
49259359ee
Issue #20262 : Warnings are raised now when duplicate names are added in the
...
ZIP file or too long ZIP file comment is truncated.
2014-01-20 21:57:09 +02:00
Benjamin Peterson
ad715d9e97
put notes in a ..note section
2014-01-20 00:10:23 -05:00
Benjamin Peterson
235a7c59f1
document that a new Python thread context is created in ctypes callbacks ( closes #6627 )
...
Patch by Nikolaus Rath.
2014-01-20 00:09:53 -05:00
Benjamin Peterson
c802a83930
add Nikolaus Rath to ACKS
2014-01-18 21:50:35 -05:00
R David Murray
b8e18af0e5
#19855 : restore use of LC_ALL, not LC_MESSAGES
...
I didn't realize LC_ALL was an override, and I should have. I tried to
make a test, but it is not clear that the LC variables actually affect
the strings that uuid is using to parse the command output.
2014-01-18 14:55:09 -05:00
Serhiy Storchaka
326b5ab05a
Issue #20270 : urllib and urlparse now support empty ports.
2014-01-18 18:30:09 +02:00
Serhiy Storchaka
7a278da4ee
Issue #20243 : TarFile no longer raise ReadError when opened in write mode.
2014-01-18 16:14:00 +02:00
Serhiy Storchaka
cdf1ebd8fe
Backported test for issue #20238 .
2014-01-18 15:54:32 +02:00
Serhiy Storchaka
75ba21a77d
Issue #20245 : The open functions in the tarfile module now correctly handle empty mode.
2014-01-18 15:35:19 +02:00
Zachary Ware
ce46aed13e
Fix some typos/grammar in current sections of NEWS.
2014-01-17 09:29:24 -06:00
Serhiy Storchaka
af080876dc
Issue #20086 : Restored the use of locale-independing mapping instead of
...
locale-depending str.lower() in locale.normalize().
2014-01-17 09:27:56 +02:00
Benjamin Peterson
8363f77795
fix error check
2014-01-16 16:56:22 -05:00
Serhiy Storchaka
e0ed2d75c8
Issue #19936 : Added executable bits or shebang lines to Python scripts which
...
requires them. Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface.
2014-01-16 18:59:17 +02:00
Benjamin Peterson
09421f82eb
update pysqlite website ( closes #20278 )
2014-01-16 09:52:38 -05:00
Vinay Sajip
ace08aba65
Clarified documentation note on module-level convenience functions.
2014-01-15 13:27:58 +00:00
Zachary Ware
f583f41440
Issue #20255 : Update the about and bugs pages.
2014-01-14 16:01:32 -06:00
Benjamin Peterson
d93d6332ee
add test for #20251
2014-01-14 00:27:42 -05:00
Benjamin Peterson
9e79889184
remove overly strict assertion ( closes #20251 )
2014-01-14 00:21:49 -05:00
Benjamin Peterson
06e486c2d3
correct defaultdict signature in docstring ( closes #20250 )
...
Patch from Andrew Barnert.
2014-01-13 23:56:05 -05:00
Benjamin Peterson
28cf368c1b
complain when nbytes > buflen to fix possible buffer overflow ( closes #20246 )
2014-01-13 22:59:38 -05:00
Zachary Ware
aec3065b99
Fix typo. Pointed out by Finn Ellis on docs@.
2014-01-13 20:38:17 -06:00
R David Murray
dd1c4fda95
#20236 : Fix sphinx markup.
2014-01-13 13:54:54 -05:00
Serhiy Storchaka
d804f53679
Backported test for the open of non-existent tarfile.
2014-01-13 19:08:51 +02:00