Serhiy Storchaka
314464d0ab
Issue #25510 : fileinput.FileInput.readline() now returns b'' instead of ''
...
at the end if the FileInput was opened with binary mode.
Patch by Ryosuke Ito.
2015-11-01 16:43:58 +02:00
Martin Panter
1f1177d69a
Fix some spelling errors in documentation and code comments
2015-10-31 11:48:53 +00:00
Terry Jan Reedy
3e8a7ad7fc
Issue #25519 : Mark difflib.ndiff as a functions where not already.
2015-10-30 19:41:16 -04:00
Terry Jan Reedy
a05e7f6743
Issue #25505 : Remove unused buggy method.
2015-10-30 19:25:34 -04:00
Terry Jan Reedy
bbdc065506
Issue #25507 : move test-specific imports to test function (idlelib.IOBinding).
2015-10-30 02:47:06 -04:00
Benjamin Peterson
dcc13ef1e9
fix usage of undefined name ( #25504 )
2015-10-29 21:10:57 -07:00
Serhiy Storchaka
ea4cb63e68
Issue #21827 : Fixed textwrap.dedent() for the case when largest common
...
whitespace is a substring of smallest leading whitespace.
Based on patch by Robert Li.
2015-10-28 21:39:36 +02:00
Terry Jan Reedy
68b6874f59
Issue #25432 : Explain isinstance behaviour when type is a tuple.
2015-10-28 03:14:56 -04:00
Zachary Ware
df2660e430
Issue #25494 : Remove extra quote from docstring.
...
Patch by John Mark Vandenberg.
2015-10-27 22:00:41 -05:00
Terry Jan Reedy
4c973e9a4b
Display IDLE warning as a warning rather than as an error.
...
Clarify message and expected action for beginners.
Guard against astral chars in path incorporated in message.
2015-10-27 03:38:02 -04:00
Martin Panter
5487c13e44
Issue #23391 : Restore OSError constructor argument documentation
...
This restores details lost in revision 097f4fda61a4 (since Python 3.3,
related to the new OSError subclasses). Further additions:
* Markup for attributes and constructor signature
* Explain "winerror" and "filename2"
* Extend test to check for filename2 defaulting to None
* Clarify that the constructor can return a subclass
I have intentionally left out any details of allowing more than five
arguments, or how the "args" attribute is set for four or more arguments.
These details seem to be dependent on the Python version and platform.
2015-10-26 11:05:42 +00:00
Zachary Ware
f085a16f55
Issue #25456 : Fix test_idle when Tcl/Tk DLLs are loaded from python.exe's home
...
rather than from elsewhere on PATH.
2015-10-24 23:22:16 -05:00
Benjamin Peterson
d9dbf49383
accepted sockets shouldn't inherit the SOCK_NONBLOCK flag ( closes #25471 )
2015-10-24 20:06:04 -07:00
Serhiy Storchaka
458123bd18
Issue21160: Correct comments in nturl2path. Patch by Jurko Gospodnetić.
2015-10-24 17:39:36 +03:00
Zachary Ware
677744b386
Closes #25456 : Copy Tcl/Tk DLLs to build directory on Windows
...
This removes the need to add externals/tcltk[64]/bin to PATH to be able
to import tkinter. Also documents the necessity for the DLLs to be
on PATH or in python.exe's directory.
2015-10-24 01:34:22 -05:00
Victor Stinner
0e316f688e
Issue #25461 : Rephrase os.walk() doc
...
Patch written by Bernt Røskar Brenna.
2015-10-23 12:38:11 +02:00
Terry Jan Reedy
d081229c4e
Issue #24782 : Limit width of canvas and hence IDLE settings dialog.
2015-10-22 03:27:31 -04:00
Terry Jan Reedy
47304c0669
Issue #24782 : Don't try to run now-removed extension dialog test.
2015-10-20 02:15:28 -04:00
Berker Peksag
f84499a4e3
rstlint: Fix "default role used" warning
...
This should make buildbots green.
2015-10-20 03:41:38 +03:00
Guido van Rossum
19ff6977a7
Issue #24885 : Update note in docs about stream convenience functions.
2015-10-19 13:18:04 -07:00
Guido van Rossum
06d48dbea8
Fix whitespace.
2015-10-19 12:00:04 -07:00
Guido van Rossum
c44ecdf687
Issue #25441 : asyncio: Raise error from drain() when socket is closed.
2015-10-19 11:49:30 -07:00
doko@ubuntu.com
2bf91bf46c
- Issue #25440 : Fix output of python-config --extension-suffix.
2015-10-19 14:07:57 +02:00
Vinay Sajip
277640af0f
Closes #25411 : Improved Unicode support in SMTPHandler.
2015-10-17 16:13:10 +01:00
Vinay Sajip
4de9dae57d
Added entry to logging cookbook.
2015-10-17 13:58:19 +01:00
Berker Peksag
edb9111d41
Issue #25418 : Fix markup in object.__hash__ documentation
...
Patch by TAKASE Arihiro.
2015-10-16 11:22:50 +03:00
Terry Jan Reedy
b2f87608d1
Issue #24782 : whitespace
2015-10-13 22:09:06 -04:00
Terry Jan Reedy
93f3542ae4
Issue #24782 : Finish converting the Configure Extension dialog into a new
...
tab in the IDLE Preferences dialog. Code patch by Mark Roseman.
2015-10-13 22:03:51 -04:00
Serhiy Storchaka
5805ddeedb
Issue #25380 : Fixed protocol for the STACK_GLOBAL opcode in
...
pickletools.opcodes.
2015-10-13 21:12:32 +03:00
Zachary Ware
83fd0a81a4
Issue #25093 : Fix test_tcl's testloadWithUNC for paths with spaces
...
Patch by Serhiy Storchaka.
2015-10-12 23:27:58 -05:00
Benjamin Peterson
b395188088
actually link to the version attributes documentation
2015-10-11 23:03:22 -07:00
Terry Jan Reedy
d0cadba85f
Issue #22726 : Re-activate config dialog help button with some content about
...
the other buttons and the new IDLE Dark theme.
2015-10-11 22:07:31 -04:00
Serhiy Storchaka
1fdc80b55f
Cleanup test_descr: remove C8 that is the same as C3.
2015-10-11 17:42:39 +03:00
Benjamin Peterson
0071b3dfcb
don't mention Python 2.2 ( closes #25375 )
2015-10-10 23:23:55 -07:00
Benjamin Peterson
414918a939
use the with statement for locking the internal condition ( closes #25362 )
...
Patch by Nir Soffer.
2015-10-10 19:34:46 -07:00
Benjamin Peterson
b397e3b526
add a missing comma ( closes #25371 )
2015-10-10 19:32:20 -07:00
Serhiy Storchaka
0289155b72
Correct Misc/NEWS.
2015-10-10 20:26:16 +03:00
Brett Cannon
89065d9fc7
Issue #25099 : Skip relevant tests in test_compileall when an entry on
...
sys.path has an unwritable __pycache__ directory.
This typically comes up when someone runs the test suite from an
administrative install of Python on Windows where the user does not
have write permissions to the stdlib's directory.
Thanks to Zachary Ware and Matthias Klose for reporting bugs related
to this issue.
(grafted from 34bbd537b3e688dfbb6498e9083445a6a72fc4b1)
2015-10-09 15:09:43 -07:00
Serhiy Storchaka
7b2cfc4465
Issue #25365 : test_pickle now works in threads disabled builds.
2015-10-10 20:10:07 +03:00
Martin Panter
7c6420a552
Issue #25322 : Fix test for nested contextlib.suppress
2015-10-10 11:04:44 +00:00
Martin Panter
d21e0b52f1
Issue #25161 : Add full stops in documentation; patch by Takase Arihiro
2015-10-10 10:36:22 +00:00
Martin Panter
cfad54344f
Issue #22413 : Document newline effect on StringIO initializer and getvalue
...
Also add to comment in the C code.
2015-10-10 03:01:20 +00:00
Martin Panter
e44dba3b4f
Issue #24402 : Factor out PtyTests.run_child() in input() tests
...
This reuses existing code to hopefully make the new test_input_no_stdout_
fileno() test work. It is hanging Free BSD 9 and OS X Tiger buildbots, and I
don't know why.
2015-10-10 05:27:15 +00:00
Martin Panter
c9a6ab56cf
Issue #24402 : Fix input() when stdout.fileno() fails; diagnosed by Eryksun
...
Also factored out some test cases into a new PtyTests class.
2015-10-10 01:25:38 +00:00
Vinay Sajip
ff1f3d9ff1
Closes #25344 : Added cookbook recipe to show buffering of logging events.
2015-10-10 00:52:35 +01:00
Berker Peksag
24a610984d
Issue #16802 : Document fileno parameter of socket.socket()
...
Patch by Henrik Heimbuerger and Bar Harel.
2015-10-08 06:34:01 +03:00
Martin Panter
9955a373a8
Various minor typos in documentation and comments
2015-10-07 10:26:23 +00:00
Martin Panter
85b8f45515
Issue #25286 : Dictionary views are not sequences
...
Also change glossary heading from view
2015-10-07 09:56:46 +00:00
Benjamin Peterson
bd6c41a185
prevent unacceptable bases from becoming bases through multiple inheritance ( #24806 )
2015-10-06 19:36:54 -07:00
Zachary Ware
106ddf07b3
Issue #25097 : Re-raise any other pywin32 error
2015-10-06 15:28:43 -05:00