Commit Graph

94639 Commits

Author SHA1 Message Date
Terry Jan Reedy d34bafa970 Merge with 3.5 2016-06-14 00:53:41 -04:00
Terry Jan Reedy cdd3a99106 Issue #27245: temporary rename for merge. 2016-06-14 00:53:30 -04:00
Terry Jan Reedy ec84417ce8 Issue #27245: IDLE: Cleanly delete custom themes and key bindings.
Previously, when IDLE was started from a console or by import, a cascade
of warnings was emitted.  Patch by Serhiy Storchaka.
2016-06-14 00:53:25 -04:00
Martin Panter bd305e497f Issue #22636: Merge ctypes.util from 3.5 2016-06-14 04:31:14 +00:00
Martin Panter e1b3431cef Issue #22636: Handle OSError from subprocess, e.g. if command not found 2016-06-14 04:08:30 +00:00
Ned Deily ed80db5784 Merge 3.6.0a2 releasing branch into default 2016-06-13 23:55:33 -04:00
Ned Deily 8a43f727a4 Start 3.6.0a3 2016-06-13 23:46:45 -04:00
Martin Panter 1db314bd5c Issue #22636: Merge ctypes.util shell injection fixes from 3.5 2016-06-14 02:59:21 +00:00
Martin Panter 4074f93b33 Issue #16182: Merge readline locale fix from 3.5 2016-06-14 02:47:56 +00:00
Martin Panter b769164636 Issue #17500: Remove merge conflict scar tissue 2016-06-14 02:23:31 +00:00
Martin Panter bfb15ab711 Issue #22636: avoid using a shell in the ctypes.util module
Replace os.popen() with subprocess.Popen. Based on patch by Victor Stinner.

If the "gcc", "cc" or "objdump" command is not available, the code was
supposed to raise an OSError exception. But there was a bug in the code. The
shell code returns the exit code 10 if the required command is missing, and the
code tries to check for the status 10. The problem is that os.popen() doesn't
return the exit code directly, but a status which should be processed by
os.WIFEXITED() and os.WEXITSTATUS(). In practice, the exception was never
raised. The OSError exception was not documented and ctypes.util.find_library()
is expected to return None if the library is not found.
2016-06-14 01:27:11 +00:00
Martin Panter f00c49df10 Issue #16182: Fix readline begidx, endidx, and use locale encoding
Based on patch by Serhiy Storchaka.
2016-06-14 01:16:16 +00:00
Ned Deily e371599004 Issue #27310: Fix IDLE.app failure to launch on OS X due to vestigial import. 2016-06-13 20:27:57 -04:00
Ned Deily 19e21e4948 Issue #27310: remove vestigial import in IDLE.app 2016-06-13 20:22:53 -04:00
Martin Panter 9b1f4431c7 Issue #27136: Merge test_asyncio fix from 3.5 2016-06-13 23:51:02 +00:00
Berker Peksag c4e1e19f12 Issue #27306: Merge from 3.5 2016-06-14 00:49:05 +03:00
Berker Peksag 9748478086 Issue #27306: Fix typo in tarfile documentation
Patch by Gareth Rees.
2016-06-14 00:48:35 +03:00
Berker Peksag c8e005808c Merge from 3.5 2016-06-14 00:43:14 +03:00
Berker Peksag 48b5c98e6e Replace more boilerplate code with modern unittest features in sqlite3 tests 2016-06-14 00:42:50 +03:00
Ned Deily 75bca24270 Added tag v3.6.0a2 for changeset 378893423552 2016-06-13 16:55:39 -04:00
Ned Deily fa42893546 Version bump for 3.6.0a2 2016-06-13 16:54:49 -04:00
Ned Deily 8b9173a8de Update pydoc topics for 3.6.0a2 2016-06-13 16:51:55 -04:00
Larry Hastings 647a6db30a Merge the 3.4.5rc1 tag all the way into default (3.6). 2016-06-13 13:12:52 -07:00
Larry Hastings cd4a3aa260 Forward-merge from 3.5 to default. 2016-06-13 13:01:51 -07:00
Larry Hastings f5b1af6df5 Forward-merge from 3.4 to 3.5. 2016-06-13 12:55:11 -07:00
doko@ubuntu.com fcff437de3 - Comment out socket (SO_REUSEPORT) and posix (O_SHLOCK, O_EXLOCK) constants
exposed on the API which are not implemented on GNU/Hurd. They would not
  work at runtime anyway.
2016-06-13 16:33:04 +02:00
Serhiy Storchaka 8acb568c88 Issue #27025: Generated names for Tkinter widgets are now more meanful
and recognizirable.
2016-06-13 09:24:11 +03:00
Terry Jan Reedy dffd42f130 Whitespace 2016-06-13 00:42:42 -04:00
Terry Jan Reedy d9792a0f18 Issue #27163: Add idlelib/IDLE entry to What's New in 3.6. 2016-06-13 00:41:53 -04:00
Martin Panter 0c9ad59dab Issue #27186: Skip scandir(bytes) test with os.name == "nt" 2016-06-13 03:28:35 +00:00
Larry Hastings 29f9637321 Merge 3.5.2rc1 with current 3.5 branch. 2016-06-12 20:26:28 -07:00
Larry Hastings 6e9a96be9e Post-release fixups for Python 3.5.2rc1. 2016-06-12 20:22:18 -07:00
Martin Panter 5fc7c4dce1 Issue #27136: Change test to use ::1 for better OS X Tiger compatibility 2016-06-13 03:17:47 +00:00
Brett Cannon 544272aff7 Ignore the VS Code config directory 2016-06-12 13:23:15 -07:00
Brett Cannon 82029ac14c Issue #27186: add Include/osmodule.h to the proper build rules 2016-06-12 13:21:22 -07:00
Terry Jan Reedy 2518fa8326 Issue #27239: Continue refactoring idlelib.macosx and adding macosx tests. 2016-06-12 15:49:20 -04:00
Berker Peksag 7670e3c12e Merge from 3.5 2016-06-12 22:35:10 +03:00
Berker Peksag 1003b34c71 Modernize sqlite3 tests
Update current tests that use old pattern with assertRaises
to make them more maintainable.
2016-06-12 22:34:49 +03:00
Brett Cannon 41ae559108 Issue #27186: skip bytes path test for os.scandir() on Windows 2016-06-12 11:11:20 -07:00
Berker Peksag f84f259b0b Merge from 3.5 2016-06-12 19:18:17 +03:00
Berker Peksag 0e1d6802ff Fix typo in _sqlite/module.h 2016-06-12 19:17:49 +03:00
Serhiy Storchaka 64204de04c Issue #27095: Simplified MAKE_FUNCTION and removed MAKE_CLOSURE opcodes.
Patch by Demur Rumed.
2016-06-12 17:36:24 +03:00
Serhiy Storchaka 5697c4b641 Comment fixes extracted from patch by Demur Rumed. 2016-06-12 17:02:10 +03:00
Berker Peksag 0db9016a56 Issue #15657: Null merge from 3.5 2016-06-12 16:35:31 +03:00
Berker Peksag 8f95e65e5d Issue #15657: Delete incorrect statement from PyMethodDef documentation 2016-06-12 16:34:38 +03:00
Berker Peksag 4746080921 Issue #27289: Merge from 3.5 2016-06-12 16:28:16 +03:00
Berker Peksag c74cdc7170 Issue #27289: Prevent test_urllib2net failures due to EOFError raised by ftplib 2016-06-12 16:27:48 +03:00
Serhiy Storchaka 8918b89e61 Issue #25455: Clean up reference loops created in tests for recursive
functools.partial objects.
2016-06-12 15:53:09 +03:00
Serhiy Storchaka 46fe29de31 Issue #25455: Clean up reference loops created in tests for recursive
functools.partial objects.
2016-06-12 15:45:14 +03:00
Berker Peksag 0f355c0022 Issue #27190: Merge from 3.5 2016-06-12 14:10:24 +03:00