]>
granicus.if.org Git - python/log
Terry Jan Reedy [Thu, 24 Sep 2015 05:39:30 +0000 (01:39 -0400)]
Issue #22820: Explain need for *print* when running file from Idle editor.
Terry Jan Reedy [Thu, 24 Sep 2015 00:00:33 +0000 (20:00 -0400)]
Issue 25224: Augment Idle doc feature list and no-subprocess section
to finish making current README.txt obsolete.
Terry Jan Reedy [Wed, 23 Sep 2015 07:52:23 +0000 (03:52 -0400)]
Issue #25219: Update doc for Idle command line options.
Some were missing and notes were not correct.
Terry Jan Reedy [Wed, 23 Sep 2015 07:45:13 +0000 (03:45 -0400)]
Idlelib.help: add 'b' prefix needed for bytes + bytes.
Martin Panter [Wed, 23 Sep 2015 05:28:13 +0000 (05:28 +0000)]
Issue #12067: Rewrite Comparisons section in the language reference
Some of the details of comparing mixed types were incorrect or ambiguous.
NotImplemented is only relevant at a lower level than the Expressions
chapter. Added details of comparing range() objects, and default behaviour
and consistency suggestions for user-defined classes. Patch from Andy Maier.
Terry Jan Reedy [Wed, 23 Sep 2015 02:59:40 +0000 (22:59 -0400)]
Issue #16893: Move idlelib.EditorWindow.HelpDialog deprecation warning
so it is not triggered on import. The problem is creation of a now-unused
instance "helpDialog = HelpDialog()", left for back compatibility.
So instead trigger the warning when that instance or another is used.
Martin Panter [Wed, 23 Sep 2015 01:14:35 +0000 (01:14 +0000)]
Issue #25047: Respect case writing XML encoding declarations
This restores the ability to write encoding names in uppercase like "UTF-8",
which worked in Python 2.
Terry Jan Reedy [Wed, 23 Sep 2015 01:13:28 +0000 (21:13 -0400)]
whitespace
Terry Jan Reedy [Wed, 23 Sep 2015 01:10:27 +0000 (21:10 -0400)]
Issue #24570: Right-click for context menus now work on Mac Aqual also.
Patch by Mark Roseman.
Steve Dower [Wed, 23 Sep 2015 00:35:24 +0000 (17:35 -0700)]
Handle calls to win32_ver from non-Windows platform
Steve Dower [Wed, 23 Sep 2015 00:29:51 +0000 (17:29 -0700)]
Issue #19143: platform module now reads Windows version from kernel32.dll to avoid compatibility shims.
Terry Jan Reedy [Tue, 22 Sep 2015 02:42:32 +0000 (22:42 -0400)]
whitespace
Terry Jan Reedy [Tue, 22 Sep 2015 02:36:42 +0000 (22:36 -0400)]
Issue #16893: Add idlelib.help.copy_strip() to copy-rstrip Doc/.../idle.html.
Change destination to help.html. Adjust NEWS entries.
Terry Jan Reedy [Mon, 21 Sep 2015 23:28:22 +0000 (19:28 -0400)]
Issue #24861: add Idle news item and correct previous errors.
Victor Stinner [Mon, 21 Sep 2015 20:28:44 +0000 (22:28 +0200)]
Issue #23630: Fix test_asyncio on Windows
The proactor event loop requires also to mock loop._stop_serving.
Victor Stinner [Mon, 21 Sep 2015 20:20:19 +0000 (22:20 +0200)]
Issue #25114: Fix test_asyncio
ssl.SSLContext() does not always disable compression. Fix unit test.
Victor Stinner [Mon, 21 Sep 2015 16:33:43 +0000 (18:33 +0200)]
Issue #23630, asyncio: host parameter of loop.create_server() can now be a
sequence of strings. Patch written by Yann Sionneau.
Victor Stinner [Mon, 21 Sep 2015 16:06:17 +0000 (18:06 +0200)]
Issue #25114, asyncio: add ssl_object extra info to SSL transports
This info is required on Python 3.5 and newer to get specific information on
the SSL object, like getting the binary peer certificate (instead of getting
it as text).
Victor Stinner [Mon, 21 Sep 2015 07:04:01 +0000 (09:04 +0200)]
Issue #25138: test_socket.test_idna() uses support.transient_internet() instead
of catching socket.EAI_NODATA error which doesn't exist on FreeBSD.
Terry Jan Reedy [Mon, 21 Sep 2015 05:44:06 +0000 (01:44 -0400)]
Issue #24861: Add docstring to idlelib.__init__ with 'private' warning.
Terry Jan Reedy [Mon, 21 Sep 2015 05:07:59 +0000 (01:07 -0400)]
Move items from NEWS to idlelib/NEWS.txt. Standardize headers spacing: 2 lines
above "What's New and 0 lines above "Release date". Remove most old headers
for non-final releases (they currently do not get carried forward.
Berker Peksag [Mon, 21 Sep 2015 03:50:55 +0000 (06:50 +0300)]
Issue #23484: Document differences between synchronization primitives of
threading and multiprocessing modules.
In multiprocessing, the name of the first parameter of the acquire methods is
"block", but "blocking" in threading.
This commit also improves documentation of Lock and RLock.
Patch by Davin Potts.
Terry Jan Reedy [Mon, 21 Sep 2015 03:21:22 +0000 (23:21 -0400)]
Add NEWS items for Idle.
Berker Peksag [Mon, 21 Sep 2015 03:12:50 +0000 (06:12 +0300)]
Issue #25169: os.getppid() is available on Windows since Python 3.2.
Patch by Bar Harel.
Terry Jan Reedy [Mon, 21 Sep 2015 03:05:25 +0000 (23:05 -0400)]
Issue #16893: finish deprecation.
Terry Jan Reedy [Mon, 21 Sep 2015 02:55:39 +0000 (22:55 -0400)]
Issue #25199: Idle: add synchronization comments for future maintainers.
Terry Jan Reedy [Mon, 21 Sep 2015 00:03:01 +0000 (20:03 -0400)]
Issue #16893: whitespace in idle.html.
Terry Jan Reedy [Sun, 20 Sep 2015 23:57:13 +0000 (19:57 -0400)]
Issue #16893: Replace help.txt with idle.html for Idle doc display.
The new idlelib/idle.html is copied from Doc/build/html/idle.html.
It looks better than help.txt and will better document Idle as released.
The tkinter html viewer that works for this file was written by Rose Roseman.
The new code is in idlelib/help.py, a new file for help menu classes.
The now unused EditorWindow.HelpDialog class and helt.txt file are deprecated.
Benjamin Peterson [Sun, 20 Sep 2015 18:17:41 +0000 (23:17 +0500)]
remove reference to PyGoogle (#25145)
Patch by Bar Harel.
Benjamin Peterson [Sun, 20 Sep 2015 18:16:45 +0000 (23:16 +0500)]
use a more modern UA (#25145)
Terry Jan Reedy [Sun, 20 Sep 2015 06:34:03 +0000 (02:34 -0400)]
Issue #24199: Add stacklevel to deprecation warning call.
Martin Panter [Sun, 20 Sep 2015 00:28:50 +0000 (00:28 +0000)]
Issue #25176: Correct link for cgi.parse_qsl; patch from Ville Skyttä
Serhiy Storchaka [Sat, 19 Sep 2015 07:55:20 +0000 (10:55 +0300)]
Issue #25101: Try to create a file to test write access in test_zipfile.
Victor Stinner [Fri, 18 Sep 2015 14:32:23 +0000 (16:32 +0200)]
Issue #24836: Skip FormatDateTests of test_email.test_utils on Mac OS X Snow
Leopard because this OS uses out of date (pre 2011k) timezone files.
Victor Stinner [Fri, 18 Sep 2015 12:42:05 +0000 (14:42 +0200)]
Issue #23517: Fix rounding in fromtimestamp() and utcfromtimestamp() methods
of datetime.datetime: microseconds are now rounded to nearest with ties going
to nearest even integer (ROUND_HALF_EVEN), instead of being rounding towards
zero (ROUND_DOWN). It's important that these methods use the same rounding
mode than datetime.timedelta to keep the property:
(datetime(1970,1,1) + timedelta(seconds=t)) == datetime.utcfromtimestamp(t)
It also the rounding mode used by round(float) for example.
Add more unit tests on the rounding mode in test_datetime.
Serhiy Storchaka [Fri, 18 Sep 2015 07:07:18 +0000 (10:07 +0300)]
Issue #25108: Backported tests for traceback functions print_stack(),
format_stack(), and extract_stack() called without arguments.
Ethan Furman [Fri, 18 Sep 2015 05:20:41 +0000 (22:20 -0700)]
Issue24756: clarify usage of run_docstring_examples()
Berker Peksag [Tue, 15 Sep 2015 16:59:03 +0000 (19:59 +0300)]
Issue #25127: Fix typo in concurrent.futures.rst
Reported by Jakub Wilk.
Victor Stinner [Mon, 14 Sep 2015 22:22:55 +0000 (00:22 +0200)]
test_gdb: fix regex to parse the GDB version
Fix the regex to support the version 7.10: minor version with two digits
Serhiy Storchaka [Sun, 13 Sep 2015 18:05:37 +0000 (21:05 +0300)]
Use :menuselection: in whatsnew/3.4.
Benjamin Peterson [Sun, 13 Sep 2015 00:20:47 +0000 (17:20 -0700)]
fix name of argument in docstring and the docs (closes #25076)
Patch by TAKASE Arihiro.
Kristján Valur Jónsson [Sat, 12 Sep 2015 15:30:23 +0000 (15:30 +0000)]
Issue #25021: Merge from 3.3 to 3.4
Kristján Valur Jónsson [Sat, 12 Sep 2015 15:20:54 +0000 (15:20 +0000)]
Issue #25021: Correctly make sure that product.__setstate__ does not access
invalid memory.
Serhiy Storchaka [Sat, 12 Sep 2015 14:45:25 +0000 (17:45 +0300)]
Marked keystrokes with the :kbd: role.
Fixed the case of the "Ctrl-" prefixes.
Martin Panter [Sat, 12 Sep 2015 00:34:28 +0000 (00:34 +0000)]
Issue #16473: Fix byte transform codec documentation; test quotetabs=True
This changes the equivalent functions listed for the Base-64, hex and Quoted-
Printable codecs to reflect the functions actually used. Also mention and
test the "quotetabs" setting for Quoted-Printable encoding.
Martin Panter [Fri, 11 Sep 2015 23:39:34 +0000 (23:39 +0000)]
Issue #25063: socket.sendfile() does not exist in 3.4
Remove notice that was backported in revision
50527a1b769c .
Martin Panter [Fri, 11 Sep 2015 23:14:57 +0000 (23:14 +0000)]
Issue #25043: Document BDADDR_ and HCI_ Bluetooth socket constants
Patch from Tim Tisdall.
Zachary Ware [Fri, 11 Sep 2015 15:51:47 +0000 (10:51 -0500)]
Fix grammatical error in csv docs.
Reported by Nat Dunn on docs@
Victor Stinner [Fri, 11 Sep 2015 10:37:30 +0000 (12:37 +0200)]
Issue #24684: socket.socket.getaddrinfo() now calls
PyUnicode_AsEncodedString() instead of calling the encode() method of the
host, to handle correctly custom string with an encode() method which doesn't
return a byte string. The encoder of the IDNA codec is now called directly
instead of calling the encode() method of the string.
Martin Panter [Fri, 11 Sep 2015 03:58:30 +0000 (03:58 +0000)]
Issue #25030: Do not document seek() as if it accepts keyword arguments
Patch from Shiyao Ma.
Martin Panter [Fri, 11 Sep 2015 02:45:10 +0000 (02:45 +0000)]
Issue #25022: Avoid warning about unused suspicious rule
Martin Panter [Fri, 11 Sep 2015 02:23:41 +0000 (02:23 +0000)]
Issue #24984: BTPROTO_SCO supports only bytes objects
Zachary Ware [Thu, 10 Sep 2015 20:50:58 +0000 (15:50 -0500)]
Issue #25022: Add NEWS, fix docs to not mention the old example.
Zachary Ware [Thu, 10 Sep 2015 19:37:42 +0000 (14:37 -0500)]
Issue #25022: Remove PC/example_nt/
It was very much outdated, and the topic is better covered elsewhere.
Berker Peksag [Thu, 10 Sep 2015 18:41:15 +0000 (21:41 +0300)]
Use print function in mock docs.
Berker Peksag [Wed, 9 Sep 2015 20:35:25 +0000 (23:35 +0300)]
Issue #24857: Comparing call_args to a long sequence now correctly returns a
boolean result instead of raising an exception.
Patch by A Kaptur.
Martin Panter [Wed, 9 Sep 2015 06:47:58 +0000 (06:47 +0000)]
Issue #24984: Document AF_BLUETOOTH socket address formats
Patch from Tim Tisdall.
Martin Panter [Wed, 9 Sep 2015 05:29:24 +0000 (05:29 +0000)]
os.sendfile(headers=None, trailers=None) arguments are not actually accepted
Needs to be tested on a BSD.
Terry Jan Reedy [Wed, 9 Sep 2015 06:10:17 +0000 (02:10 -0400)]
Issue 24199: Deprecate idlelib.idlever with a warning on import.
Martin Panter [Wed, 9 Sep 2015 01:01:13 +0000 (01:01 +0000)]
Issue #23738: Document and test actual keyword parameter names
Also fix signature because os.utime(..., ns=None) is not allowed.
Serhiy Storchaka [Tue, 8 Sep 2015 06:59:02 +0000 (09:59 +0300)]
Fixed tests for shutil.make_archive() with relative base_name in the case when
the path of the directory for temporary files contains symlinks.
Raymond Hettinger [Tue, 8 Sep 2015 04:36:29 +0000 (00:36 -0400)]
Fix whitespace in comment.
Zachary Ware [Tue, 8 Sep 2015 04:30:46 +0000 (23:30 -0500)]
Issue #25010: Fix path for .pyd example project.
Patch by Shaun Walbridge
Serhiy Storchaka [Tue, 8 Sep 2015 02:47:23 +0000 (05:47 +0300)]
Issue #24982: shutil.make_archive() with the "zip" format now adds entries
for directories (including empty directories) in ZIP file.
Added test for comparing shutil.make_archive() with the "zip" command.
Serhiy Storchaka [Mon, 7 Sep 2015 19:51:56 +0000 (22:51 +0300)]
Raise more correct exception on overflow in setting buffer_size attribute of
expat parser.
Serhiy Storchaka [Mon, 7 Sep 2015 19:37:02 +0000 (22:37 +0300)]
Issue #25019: Fixed a crash caused by setting non-string key of expat parser.
Added additional tests for expat parser attributes.
Based on patch by John Leitch.
Serhiy Storchaka [Mon, 7 Sep 2015 16:58:23 +0000 (19:58 +0300)]
Issue #25018: Fixed testing shutil.make_archive() with relative base_name on
Windows. The test now makes sense on non-Windows. Added similar test for
zip format.
Serhiy Storchaka [Mon, 7 Sep 2015 10:55:25 +0000 (13:55 +0300)]
Explicitly test archive name in shutil.make_archive() tests to expose failure
details in issue25018.
Terry Jan Reedy [Mon, 7 Sep 2015 05:58:13 +0000 (01:58 -0400)]
Issue #24889: When starting Idle, force focus onto Idle window if not already
there (as when opening Idle from interactive Python on Windows).
Steve Dower [Mon, 7 Sep 2015 05:18:36 +0000 (22:18 -0700)]
Issue #24917: time_strftime() buffer over-read.
Martin Panter [Mon, 7 Sep 2015 02:57:47 +0000 (02:57 +0000)]
Issue #25004: Handle out-of-disk-space error in LargeMmapTests
Patch from John Beck.
Martin Panter [Mon, 7 Sep 2015 02:08:55 +0000 (02:08 +0000)]
Issue #23406: Clarify documentation on multiplying a sequence
Patch from Matheus Vieira Portela.
Ezio Melotti [Sun, 6 Sep 2015 18:38:06 +0000 (21:38 +0300)]
#23144: Make sure that HTMLParser.feed() returns all the data, even when convert_charrefs is True.
Serhiy Storchaka [Sun, 6 Sep 2015 15:33:19 +0000 (18:33 +0300)]
Fix, refactor and extend tests for shutil.make_archive().
Serhiy Storchaka [Sun, 6 Sep 2015 11:13:25 +0000 (14:13 +0300)]
Use support.change_cwd() in tests.
Steve Dower [Sun, 6 Sep 2015 06:09:00 +0000 (23:09 -0700)]
Backed out changeset:
a29b49d57769
Steve Dower [Sun, 6 Sep 2015 03:55:34 +0000 (20:55 -0700)]
Issue #24917: time_strftime() Buffer Over-read. Patch by John Leitch.
Terry Jan Reedy [Sat, 5 Sep 2015 23:13:26 +0000 (19:13 -0400)]
Issue #16180: Exit pdb if file has syntax error, instead of trapping user
in an infinite loop. Patch by Xavier de Gaye.
Victor Stinner [Fri, 4 Sep 2015 15:27:49 +0000 (17:27 +0200)]
Fix race condition in create_stdio()
Issue #24891: Fix a race condition at Python startup if the file descriptor
of stdin (0), stdout (1) or stderr (2) is closed while Python is creating
sys.stdin, sys.stdout and sys.stderr objects. These attributes are now set
to None if the creation of the object failed, instead of raising an OSError
exception. Initial patch written by Marco Paolini.
R David Murray [Fri, 4 Sep 2015 14:01:19 +0000 (10:01 -0400)]
#24998: fix cut and paste error in subprocess example.
Terry Jan Reedy [Fri, 4 Sep 2015 08:37:56 +0000 (04:37 -0400)]
Issue #24745: Prevent IDLE initialization crash with Tk 8.4; patch by Ned Deily.
Victor Stinner [Thu, 3 Sep 2015 19:30:26 +0000 (21:30 +0200)]
Don't use defined() in C preprocessor macros
The ICC compiler doesn't seem to support defined() in macro expansion. Example
of warning:
warning #3199: "defined" is always false in a macro expansion in Microsoft mode
Victor Stinner [Thu, 3 Sep 2015 13:42:26 +0000 (15:42 +0200)]
test_gdb: oops, the regex to parse the gdb version was still too strict
Victor Stinner [Thu, 3 Sep 2015 10:14:25 +0000 (12:14 +0200)]
test_wsgiref: add missing import (support)
Senthil Kumaran [Thu, 3 Sep 2015 09:26:31 +0000 (02:26 -0700)]
Fix test_wsgiref execution from the test module.
Victor Stinner [Thu, 3 Sep 2015 07:45:53 +0000 (09:45 +0200)]
test_gdb: fix regex to parse GDB version for 'GNU gdb 6.1.1 [FreeBSD]\n'
Terry Jan Reedy [Thu, 3 Sep 2015 02:07:44 +0000 (22:07 -0400)]
Issue #21192: Change 'RUN' back to 'RESTART' when running editor file.
Victor Stinner [Wed, 2 Sep 2015 22:07:47 +0000 (00:07 +0200)]
Fix test_warnings: don't modify warnings.filters
BaseTest now ensures that unittest.TestCase.assertWarns() uses the same
warnings module than warnings.catch_warnings(). Otherwise,
warnings.catch_warnings() will be unable to remove the added filter.
Victor Stinner [Wed, 2 Sep 2015 21:19:55 +0000 (23:19 +0200)]
test_gdb: use subprocess.Popen context manager to fix ResourceWarning warnings
when the test is interrupted (or fail).
Victor Stinner [Wed, 2 Sep 2015 21:12:14 +0000 (23:12 +0200)]
test_gdb: fix regex to parse gdb version for SUSE Linux Entreprise
Mention also the detected GDB version on verbose mode and on error (if the
major version is smaller than 7).
Victor Stinner [Wed, 2 Sep 2015 13:39:01 +0000 (15:39 +0200)]
asyncio doc: fix subprocess sections
Martin Panter [Mon, 31 Aug 2015 03:15:52 +0000 (03:15 +0000)]
Issue #24952: Clarify default argument of stack_size() in threading, _thread
Patch from Mattip.
Benjamin Peterson [Sun, 30 Aug 2015 21:42:38 +0000 (14:42 -0700)]
fix spelling that was a bit confused (closes #24963)
Raymond Hettinger [Sun, 30 Aug 2015 16:13:48 +0000 (09:13 -0700)]
Issue #24931: Resolve __dict__ conflict in namedtuple subclasses.
Zachary Ware [Sun, 30 Aug 2015 03:25:04 +0000 (22:25 -0500)]
Issue #24962: Remove space from filename
Robert Collins [Thu, 27 Aug 2015 22:34:51 +0000 (10:34 +1200)]
Issue #21112: Fix regression in unittest.expectedFailure on subclasses.
Patch from Berker Peksag.
Zachary Ware [Thu, 27 Aug 2015 20:54:39 +0000 (15:54 -0500)]
Issue #24947: Fix grammar in asyncio doc
Patch by tagatac
Terry Jan Reedy [Thu, 27 Aug 2015 17:02:11 +0000 (13:02 -0400)]
Issue #24790: correct typo noticed by Eric Smith
Terry Jan Reedy [Thu, 27 Aug 2015 03:37:14 +0000 (23:37 -0400)]
Issue #24790: Restore unused function.
Terry Jan Reedy [Thu, 27 Aug 2015 03:13:22 +0000 (23:13 -0400)]
Issue #24782: In Idle extension config dialog, replace tabs with sorted list.
Patch by Mark Roseman.