]> granicus.if.org Git - python/log
python
9 years agoAdd recent IDLE NEWS items.
Terry Jan Reedy [Tue, 29 Sep 2015 03:38:57 +0000 (23:38 -0400)]
Add recent IDLE NEWS items.

9 years agoCorrect Misc/NEWS about asyncio.Queue rewrite.
Guido van Rossum [Mon, 28 Sep 2015 23:50:38 +0000 (16:50 -0700)]
Correct Misc/NEWS about asyncio.Queue rewrite.

9 years agoIssue #25233: Rewrite the guts of Queue to be more understandable and correct.
Guido van Rossum [Mon, 28 Sep 2015 14:42:34 +0000 (07:42 -0700)]
Issue #25233: Rewrite the guts of Queue to be more understandable and correct.

9 years agoIssue #25249: Remove unneeded mkstemp helper in test_subprocess
Berker Peksag [Mon, 28 Sep 2015 10:33:14 +0000 (13:33 +0300)]
Issue #25249: Remove unneeded mkstemp helper in test_subprocess

The helper was added in 76641824cf05 11 years ago and it can be
removed now since all supported Python versions have tempfile.mkstemp().

Patch by Nir Soffer.

9 years agoIssue #24972: New option is only valid in tk 8.5+.
Terry Jan Reedy [Mon, 28 Sep 2015 08:52:49 +0000 (04:52 -0400)]
Issue #24972: New option is only valid in tk 8.5+.

9 years agoIssue #24972: Inactive selection background now matches active selection
Terry Jan Reedy [Mon, 28 Sep 2015 08:16:32 +0000 (04:16 -0400)]
Issue #24972: Inactive selection background now matches active selection
background, as selected by user, on all systems.  This also fixes a problem
with found items not highlighted on Windows.  Initial patch by Mark Roseman.
Fix replaces workaround with obscure but proper configuration option.

9 years agoBacked out changeset: 70c01dd35100
Terry Jan Reedy [Mon, 28 Sep 2015 02:50:54 +0000 (22:50 -0400)]
Backed out changeset: 70c01dd35100

9 years agoIssue #24972: Inactive selection background now matches active selection
Terry Jan Reedy [Mon, 28 Sep 2015 02:46:17 +0000 (22:46 -0400)]
Issue #24972: Inactive selection background now matches active selection
background, as selected by user, on all systems.  This also fixes a problem
with found items not highlighted on Windows.  Initial patch by Mark Roseman.
Fix replaces workaround with obscure but proper configuration option.

9 years agomerge
Alexander Belopolsky [Mon, 28 Sep 2015 02:34:07 +0000 (22:34 -0400)]
merge

9 years agoCloses issue #23600: Wrong results from tzinfo.fromutc().
Alexander Belopolsky [Mon, 28 Sep 2015 02:31:45 +0000 (22:31 -0400)]
Closes issue #23600: Wrong results from tzinfo.fromutc().

9 years agoCloses issue #23600: Wrong results from tzinfo.fromutc().
Alexander Belopolsky [Mon, 28 Sep 2015 01:41:55 +0000 (21:41 -0400)]
Closes issue #23600: Wrong results from tzinfo.fromutc().

9 years agoIssue #25203: Failed readline.set_completer_delims() no longer left the
Serhiy Storchaka [Sun, 27 Sep 2015 19:34:59 +0000 (22:34 +0300)]
Issue #25203: Failed readline.set_completer_delims() no longer left the
 module in inconsistent state.

9 years agoFix English phrasing.
R David Murray [Sun, 27 Sep 2015 16:36:19 +0000 (12:36 -0400)]
Fix English phrasing.

9 years agofix spacing
Benjamin Peterson [Sun, 27 Sep 2015 09:13:40 +0000 (02:13 -0700)]
fix spacing

9 years agomerge heads
Benjamin Peterson [Sun, 27 Sep 2015 09:07:19 +0000 (02:07 -0700)]
merge heads

9 years agomake wikipedia link https
Benjamin Peterson [Sun, 27 Sep 2015 09:05:01 +0000 (02:05 -0700)]
make wikipedia link https

9 years agoIssue #25198: When using the Idle dov TOC menu, put the section title at the
Terry Jan Reedy [Sun, 27 Sep 2015 08:40:08 +0000 (04:40 -0400)]
Issue #25198: When using the Idle dov TOC menu, put the section title at the
top of the window, unless it is too near the bottom to do do.

9 years agoshorten and fix casing of title
Benjamin Peterson [Sun, 27 Sep 2015 08:23:10 +0000 (01:23 -0700)]
shorten and fix casing of title

9 years agoinitialize return value to NULL to avoid compiler compliants (closes #25245)
Benjamin Peterson [Sun, 27 Sep 2015 08:16:03 +0000 (01:16 -0700)]
initialize return value to NULL to avoid compiler compliants (closes #25245)

9 years agoIssue #24570: Idle: make calltip and completion boxes appear on Macs
Terry Jan Reedy [Sun, 27 Sep 2015 00:03:57 +0000 (20:03 -0400)]
Issue #24570: Idle: make calltip and completion boxes appear on Macs
affected by a tk regression.  Initial patch by Mark Roseman.

9 years agoIssue #24988: Idle ScrolledList context menus (used in debugger)
Terry Jan Reedy [Sat, 26 Sep 2015 22:50:26 +0000 (18:50 -0400)]
Issue #24988: Idle ScrolledList context menus (used in debugger)
now work on Mac Aqua.  Patch by Mark Roseman.

9 years agoprevent overflow in _Unpickler_Read
Benjamin Peterson [Sat, 26 Sep 2015 07:08:34 +0000 (00:08 -0700)]
prevent overflow in _Unpickler_Read

9 years agoIssue #25173: Replace 'master' with 'parent' in tkinter.messagebox calls.
Terry Jan Reedy [Sat, 26 Sep 2015 02:22:55 +0000 (22:22 -0400)]
Issue #25173: Replace 'master' with 'parent' in tkinter.messagebox calls.
This associates the message box with the widget and is better for Mac OSX.
Patch by Mark Roseman.

9 years agoIssue #25211: Eliminate lazy error message class by using subTest
Martin Panter [Fri, 25 Sep 2015 23:50:47 +0000 (23:50 +0000)]
Issue #25211: Eliminate lazy error message class by using subTest

Some of the calls to the Frm class were buggy anyway.

9 years agoIssue #25198: Idle doc viewer now uses user width and height setting.
Terry Jan Reedy [Fri, 25 Sep 2015 04:49:18 +0000 (00:49 -0400)]
Issue #25198: Idle doc viewer now uses user width and height setting.
The height is reduced by 3/4 to account for extra spacing between lines,
relative to an Idle editor, and extra tall header lines.

9 years agoIssue #25225: add revised .html.
Terry Jan Reedy [Fri, 25 Sep 2015 03:18:57 +0000 (23:18 -0400)]
Issue #25225: add revised .html.

9 years agoIssue #25225: Condense and rewrite Idle doc section on text colors.
Terry Jan Reedy [Fri, 25 Sep 2015 03:13:49 +0000 (23:13 -0400)]
Issue #25225: Condense and rewrite Idle doc section on text colors.

9 years agoIssue #25198: In Idle doc viewer, fix indent of fixed-pitch <pre> text
Terry Jan Reedy [Thu, 24 Sep 2015 21:32:01 +0000 (17:32 -0400)]
Issue #25198: In Idle doc viewer, fix indent of fixed-pitch <pre> text
by adding a new tag.  Patch by Mark Roseman. Also give <pre> text a very
light blueish-gray background similar to that used by Sphinx html.

9 years agoAdd Benjamin Hodgson to Misc/ACK
Andrew Svetlov [Thu, 24 Sep 2015 11:34:07 +0000 (14:34 +0300)]
Add Benjamin Hodgson to Misc/ACK

9 years agoFix #25208: Improve "Develop with asyncio" doc page.
Andrew Svetlov [Thu, 24 Sep 2015 11:32:39 +0000 (14:32 +0300)]
Fix #25208: Improve "Develop with asyncio" doc page.

Patch by Benjamin Hodgson.

9 years agoIssue 21995: Explain some differences between IDLE and console Python.
Terry Jan Reedy [Thu, 24 Sep 2015 07:09:43 +0000 (03:09 -0400)]
Issue 21995: Explain some differences between IDLE and console Python.

9 years agoIssue #24894: Document the codec iso8859_11
Victor Stinner [Thu, 24 Sep 2015 07:04:05 +0000 (09:04 +0200)]
Issue #24894: Document the codec iso8859_11

Patch written by Prashant Tyagi.

9 years agoIssue #22820: Explain need for *print* when running file from Idle editor.
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.

9 years agoIssue 25224: Augment Idle doc feature list and no-subprocess section
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.

9 years agoIssue #25219: Update doc for Idle command line options.
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.

9 years agoIdlelib.help: add 'b' prefix needed for bytes + bytes.
Terry Jan Reedy [Wed, 23 Sep 2015 07:45:13 +0000 (03:45 -0400)]
Idlelib.help: add 'b' prefix needed for bytes + bytes.

9 years agoIssue #12067: Rewrite Comparisons section in the language reference
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.

9 years agoIssue #16893: Move idlelib.EditorWindow.HelpDialog deprecation warning
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.

9 years agoIssue #25047: Respect case writing XML encoding declarations
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.

9 years agowhitespace
Terry Jan Reedy [Wed, 23 Sep 2015 01:13:28 +0000 (21:13 -0400)]
whitespace

9 years agoIssue #24570: Right-click for context menus now work on Mac Aqual also.
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.

9 years agoHandle calls to win32_ver from non-Windows platform
Steve Dower [Wed, 23 Sep 2015 00:35:24 +0000 (17:35 -0700)]
Handle calls to win32_ver from non-Windows platform

9 years agoIssue #19143: platform module now reads Windows version from kernel32.dll to avoid...
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.

9 years agowhitespace
Terry Jan Reedy [Tue, 22 Sep 2015 02:42:32 +0000 (22:42 -0400)]
whitespace

9 years agoIssue #16893: Add idlelib.help.copy_strip() to copy-rstrip Doc/.../idle.html.
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.

9 years agoIssue #24861: add Idle news item and correct previous errors.
Terry Jan Reedy [Mon, 21 Sep 2015 23:28:22 +0000 (19:28 -0400)]
Issue #24861: add Idle news item and correct previous errors.

9 years agoIssue #23630: Fix test_asyncio on Windows
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.

9 years agoIssue #25114: Fix test_asyncio
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.

9 years agoIssue #23630, asyncio: host parameter of loop.create_server() can now be a
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.

9 years agoIssue #25114, asyncio: add ssl_object extra info to SSL transports
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).

9 years agoIssue #25138: test_socket.test_idna() uses support.transient_internet() instead
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.

9 years agoIssue #24861: Add docstring to idlelib.__init__ with 'private' warning.
Terry Jan Reedy [Mon, 21 Sep 2015 05:44:06 +0000 (01:44 -0400)]
Issue #24861: Add docstring to idlelib.__init__ with 'private' warning.

9 years agoMove items from NEWS to idlelib/NEWS.txt. Standardize headers spacing: 2 lines
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.

9 years agoIssue #23484: Document differences between synchronization primitives of
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.

9 years agoAdd NEWS items for Idle.
Terry Jan Reedy [Mon, 21 Sep 2015 03:21:22 +0000 (23:21 -0400)]
Add NEWS items for Idle.

9 years agoIssue #25169: os.getppid() is available on Windows since Python 3.2.
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.

9 years agoIssue #16893: finish deprecation.
Terry Jan Reedy [Mon, 21 Sep 2015 03:05:25 +0000 (23:05 -0400)]
Issue #16893: finish deprecation.

9 years agoIssue #25199: Idle: add synchronization comments for future maintainers.
Terry Jan Reedy [Mon, 21 Sep 2015 02:55:39 +0000 (22:55 -0400)]
Issue #25199: Idle: add synchronization comments for future maintainers.

9 years agoIssue #16893: whitespace in idle.html.
Terry Jan Reedy [Mon, 21 Sep 2015 00:03:01 +0000 (20:03 -0400)]
Issue #16893: whitespace in idle.html.

9 years agoIssue #16893: Replace help.txt with idle.html for Idle doc display.
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.

9 years agoremove reference to PyGoogle (#25145)
Benjamin Peterson [Sun, 20 Sep 2015 18:17:41 +0000 (23:17 +0500)]
remove reference to PyGoogle (#25145)

Patch by Bar Harel.

9 years agouse a more modern UA (#25145)
Benjamin Peterson [Sun, 20 Sep 2015 18:16:45 +0000 (23:16 +0500)]
use a more modern UA (#25145)

9 years agoIssue #24199: Add stacklevel to deprecation warning call.
Terry Jan Reedy [Sun, 20 Sep 2015 06:34:03 +0000 (02:34 -0400)]
Issue #24199: Add stacklevel to deprecation warning call.

9 years agoIssue #25176: Correct link for cgi.parse_qsl; patch from Ville Skyttä
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ä

9 years agoIssue #25101: Try to create a file to test write access in test_zipfile.
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.

9 years agoIssue #24836: Skip FormatDateTests of test_email.test_utils on Mac OS X Snow
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.

9 years agoIssue #23517: Fix rounding in fromtimestamp() and utcfromtimestamp() methods
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.

9 years agoIssue #25108: Backported tests for traceback functions print_stack(),
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.

9 years agoIssue24756: clarify usage of run_docstring_examples()
Ethan Furman [Fri, 18 Sep 2015 05:20:41 +0000 (22:20 -0700)]
Issue24756: clarify usage of run_docstring_examples()

9 years agoIssue #25127: Fix typo in concurrent.futures.rst
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.

9 years agotest_gdb: fix regex to parse the GDB version
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

9 years agoUse :menuselection: in whatsnew/3.4.
Serhiy Storchaka [Sun, 13 Sep 2015 18:05:37 +0000 (21:05 +0300)]
Use :menuselection: in whatsnew/3.4.

9 years agofix name of argument in docstring and the docs (closes #25076)
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.

9 years agoIssue #25021: Merge from 3.3 to 3.4
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

9 years agoIssue #25021: Correctly make sure that product.__setstate__ does not access
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.

9 years agoMarked keystrokes with the :kbd: role.
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.

9 years agoIssue #16473: Fix byte transform codec documentation; test quotetabs=True
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.

9 years agoIssue #25063: socket.sendfile() does not exist in 3.4
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.

9 years agoIssue #25043: Document BDADDR_ and HCI_ Bluetooth socket constants
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.

9 years agoFix grammatical error in csv docs.
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@

9 years agoIssue #24684: socket.socket.getaddrinfo() now calls
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.

9 years agoIssue #25030: Do not document seek() as if it accepts keyword arguments
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.

9 years agoIssue #25022: Avoid warning about unused suspicious rule
Martin Panter [Fri, 11 Sep 2015 02:45:10 +0000 (02:45 +0000)]
Issue #25022: Avoid warning about unused suspicious rule

9 years agoIssue #24984: BTPROTO_SCO supports only bytes objects
Martin Panter [Fri, 11 Sep 2015 02:23:41 +0000 (02:23 +0000)]
Issue #24984: BTPROTO_SCO supports only bytes objects

9 years agoIssue #25022: Add NEWS, fix docs to not mention the old example.
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.

9 years agoIssue #25022: Remove PC/example_nt/
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.

9 years agoUse print function in mock docs.
Berker Peksag [Thu, 10 Sep 2015 18:41:15 +0000 (21:41 +0300)]
Use print function in mock docs.

9 years agoIssue #24857: Comparing call_args to a long sequence now correctly returns a
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.

9 years agoIssue #24984: Document AF_BLUETOOTH socket address formats
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.

9 years agoos.sendfile(headers=None, trailers=None) arguments are not actually accepted
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.

9 years agoIssue 24199: Deprecate idlelib.idlever with a warning on import.
Terry Jan Reedy [Wed, 9 Sep 2015 06:10:17 +0000 (02:10 -0400)]
Issue 24199: Deprecate idlelib.idlever with a warning on import.

9 years agoIssue #23738: Document and test actual keyword parameter names
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.

9 years agoFixed tests for shutil.make_archive() with relative base_name in the case when
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.

9 years agoFix whitespace in comment.
Raymond Hettinger [Tue, 8 Sep 2015 04:36:29 +0000 (00:36 -0400)]
Fix whitespace in comment.

9 years agoIssue #25010: Fix path for .pyd example project.
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

9 years agoIssue #24982: shutil.make_archive() with the "zip" format now adds entries
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.

9 years agoRaise more correct exception on overflow in setting buffer_size attribute of
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.

9 years agoIssue #25019: Fixed a crash caused by setting non-string key 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.

9 years agoIssue #25018: Fixed testing shutil.make_archive() with relative base_name on
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.

9 years agoExplicitly test archive name in shutil.make_archive() tests to expose failure
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.