Martin Panter
d27a7c1f22
Issue #27369 : Merge test_pyexpat from 3.2 into 3.3
2016-07-14 01:42:53 +00:00
Martin Panter
076ca6c3c8
Issue #27369 : Don’t test error message detail that changed in Expat 2.2.0
2016-07-14 01:31:46 +00:00
Yury Selivanov
e824315e2b
Merge 3.5 (issue #27392 )
2016-07-12 18:24:25 -04:00
Yury Selivanov
252e9ed974
Issue #27392 : Add loop.connect_accepted_socket().
...
Patch by Jim Fulton.
2016-07-12 18:23:10 -04:00
Ned Deily
aa843d2219
Update pydoc topics for 3.6.0a3
2016-07-11 15:32:48 -04:00
Martin Panter
702f4f5d6f
Issue #23804 : Merge spelling and NEWS fixes from 3.5
2016-07-11 12:54:44 +00:00
Martin Panter
204bf0b9ae
English spelling and grammar fixes
2016-07-11 07:51:37 +00:00
Martin Panter
7386268ffd
Issue #23804 : Merge SSL recv() fix from 3.5
2016-07-11 01:32:09 +00:00
Terry Jan Reedy
4bf9c51f9b
IDLE NEWS items.
2016-07-10 20:30:43 -04:00
Terry Jan Reedy
6f7b0f577e
Issue #27477 : Convert IDLE search dialogs to using ttk widgets.
2016-07-10 20:21:31 -04:00
Martin Panter
bed7f1a512
Issue #23804 : Fix SSL zero-length recv() calls to not block and raise EOF
2016-07-11 00:17:13 +00:00
Terry Jan Reedy
a748032653
Refine geometry of idlelib htests (and a few other fix-ups).
2016-07-10 17:28:10 -04:00
Terry Jan Reedy
cd5e388c39
Issue #27173 : Fix error in test_config that caused test_idle to fail.
2016-07-10 17:26:24 -04:00
Terry Jan Reedy
9bdb1edf35
Issue #27173 : Add 'IDLE Modern Unix' to the built-in key sets.
...
Make the default key set depend on the platform.
Add tests for changes to the config module.
2016-07-10 13:46:34 -04:00
R David Murray
5f21f43af7
#22758 : fix regression in handling of secure cookies.
...
This backports the fix from #16611 , per discussion with the release
manager.
2016-07-10 13:32:43 -04:00
Xavier de Gaye
20bd3b070a
Issue #27027 : Added test.support.is_android that is True when this is an
...
Android build.
2016-07-10 18:20:15 +02:00
Senthil Kumaran
290b42de73
[merge from 3.5] - Issue #27466 : Change time format returned by
...
http.cookie.time2netscape, confirming the netscape cookie format.
2016-07-10 06:49:49 -07:00
Senthil Kumaran
d5b47fb8ce
Issue #27466 : Change time format returned by http.cookie.time2netscape,
...
confirming the netscape cookie format.
2016-07-10 06:45:38 -07:00
Serhiy Storchaka
f9efb8b18b
Issue #27474 : Unified error messages in the __contains__ method of bytes and
...
bytearray for integers in and out of the Py_ssize_t range.
Patch by Xiang Zhang.
2016-07-10 12:37:30 +03:00
Brett Cannon
3fef2eef2e
Issue #26972 : Fix some mistakes in importlib-related docstrings.
...
Thanks to Oren Milman for the patch.
2016-07-08 11:09:35 -07:00
Brett Cannon
fdcdd9ed80
Issue #26896 : Disambiguate uses of "importer" with "finder".
...
Thanks to Oren Milman for the patch.
2016-07-08 11:00:00 -07:00
Terry Jan Reedy
d3b96e1cd4
Whitespace
2016-07-08 00:26:20 -04:00
Terry Jan Reedy
8b22c0aada
Issue #27380 : IDLE: add query.HelpSource class and tests.
...
Remove modules that are combined in new module.
2016-07-08 00:22:50 -04:00
Steven D'Aprano
8c115a46e7
Issue27139 patch by Julio C Cardoza.
2016-07-08 02:38:45 +10:00
Donald Stufft
77e8408346
merge 3.5
2016-07-06 17:50:21 -04:00
Donald Stufft
a1fc45ae73
Fix a test with the new upload URL
2016-07-06 17:46:37 -04:00
Benjamin Peterson
961900ad85
merge 3.5
2016-07-06 14:00:46 -07:00
Benjamin Peterson
9409b4aa8f
merge 3.4
2016-07-06 14:00:38 -07:00
Donald Stufft
ad04a85aff
Switch to the new upload url for PyPI
2016-07-06 16:18:39 -04:00
Donald Stufft
188c118ba5
Switch to the new upload url for PyPI
2016-07-06 15:27:35 -04:00
Serhiy Storchaka
0122ae9ac8
Issue #21708 : Deprecated dbm.dumb behavior that differs from common dbm
...
behavior: creating a database in 'r' and 'w' modes and modifying a database
in 'r' mode.
2016-07-06 12:21:58 +03:00
Terry Jan Reedy
9862b5194d
Issue #27452 : make command line idle-test> python test_help.py work.
...
__file__ is relative in this case.
2016-07-05 21:51:56 -04:00
Terry Jan Reedy
5ce1b86b0e
Issue #27452 : add line counter and crc to IDLE config test dump.
2016-07-05 20:11:37 -04:00
Terry Jan Reedy
2279aeb282
Issue #27452 : add line counter and crc to IDLE configHandler test dump.
2016-07-05 20:09:53 -04:00
Terry Jan Reedy
0cd6b97701
Issue 27437: Add query.ModuleName and use it for file => Load Module.
...
Users can now edit bad entries instead of starting over.
2016-07-03 19:11:13 -04:00
Serhiy Storchaka
bae75cf3fe
Issue #19527 : Fixed tests with defined COUNT_ALLOCS.
2016-07-03 22:30:49 +03:00
Serhiy Storchaka
a793037d80
Issue #19527 : Fixed tests with defined COUNT_ALLOCS.
2016-07-03 22:27:26 +03:00
Serhiy Storchaka
6c94d10a19
Issue #27443 : __length_hint__() of bytearray itearator no longer return
...
negative integer for resized bytearray.
2016-07-03 14:42:17 +03:00
Serhiy Storchaka
af65872da2
Issue #27443 : __length_hint__() of bytearray itearator no longer return
...
negative integer for resized bytearray.
2016-07-03 14:41:36 +03:00
Serhiy Storchaka
0855e706aa
Issue #27007 : The fromhex() class methods of bytes and bytearray subclasses
...
now return an instance of corresponding subclass.
2016-07-01 17:22:31 +03:00
Berker Peksag
cf8b42e904
Issue #27431 : Merge from 3.5
2016-07-01 12:33:25 +03:00
Berker Peksag
8faca61fec
Issue #27431 : Update default protocol version in shelve.Shelf() documentation
...
shelve.open() documentation was updated in f351fb7ea179.
2016-07-01 12:33:00 +03:00
Berker Peksag
a9e1ebb780
Issue #27430 : Merge from 3.5
2016-07-01 12:17:45 +03:00
Berker Peksag
e39682b076
Issue #27430 : Fix typos, patch by scop.
2016-07-01 12:17:05 +03:00
Brett Cannon
16cd909daa
Merge from 3.5 for issue #26664
2016-06-30 11:43:19 -07:00
Brett Cannon
660c8fc997
Issue #26665 : Remove mis-use of ``$`` in activate.fish.
...
This is a revertion of cfc66e37eb8e.
Thanks to 鄭景文 for the bug report. Thanks to Tin Tvrtković, Xiang
Zhang, and Dan McCombs for diagnosing the issue.
2016-06-30 11:41:55 -07:00
Serhiy Storchaka
ee047e589d
Issue #4945 : Improved the documenting of boolean arguments in the json module.
...
Based on patch by Gabriel Genellina.
2016-06-30 14:03:21 +03:00
Serhiy Storchaka
15287f8bcc
Issue #4945 : Improved the documenting of boolean arguments in the json module.
...
Based on patch by Gabriel Genellina.
2016-06-30 13:59:12 +03:00
Martin Panter
34eeed4290
Issue #26721 : Change StreamRequestHandler.wfile to BufferedIOBase
2016-06-29 10:12:22 +00:00
Yury Selivanov
5eef78b113
Merge 3.5 (asyncio)
2016-06-28 11:00:39 -04:00
Yury Selivanov
63bf487688
asyncio: Use socket specs for getaddrinfo() in sock_connect()
...
Patch by Martin Richard. GH PR #365 .
2016-06-28 11:00:22 -04:00
Yury Selivanov
7c6b3ea48c
Merge 3.5 (asyncio)
2016-06-28 10:55:49 -04:00
Yury Selivanov
77bc04a3bc
asyncio: Fix NameError in sslproto _fatal_error()
...
Patch by Richard Walker.
2016-06-28 10:55:36 -04:00
Serhiy Storchaka
7de2840508
Issue #27352 : Fixed an error message in a test.
2016-06-27 23:40:43 +03:00
Larry Hastings
c2f2ef8faa
Merge from 3.5.
2016-06-26 20:00:51 -07:00
Larry Hastings
1b329e791a
Merge.
2016-06-26 19:53:18 -07:00
Terry Jan Reedy
68a53c5d39
Issue #27380 : IDLE: add base Query dialog, with ttk widgets and subclass
...
SectionName. These split class GetCfgSectionNameDialog from
configSectionNameDialog.py, temporarily renamed config_sec.py in 3.7.9a2.
More Query subclasses are planned.
2016-06-26 22:05:10 -04:00
Terry Jan Reedy
754a5c1a1d
Merge Update NEWS and idlelib NEWS.text.
2016-06-26 18:22:32 -04:00
Terry Jan Reedy
1e957d145f
Update NEWS and idlelib NEWS.text.
2016-06-26 18:20:20 -04:00
Terry Jan Reedy
7c1534141d
Issue 27372: Stop test_idle from changing locale, so test passes.
...
In 3.6, the warning is now called an error, making it harder to ignore.
2016-06-26 17:48:02 -04:00
Serhiy Storchaka
b554faddf5
Issue #22115 : Updated Misc/NEWS.
2016-06-26 17:47:46 +03:00
Serhiy Storchaka
745a407df8
Issue #22115 : Fixed tracing Tkinter variables:
...
* tracing in the "u" mode now works
* trace_vdelete() with wrong mode no longer break tracing
* trace_vinfo() now always returns a list of pairs of strings
2016-06-26 17:42:23 +03:00
Serhiy Storchaka
8122174af1
Issue #22115 : Added methods trace_add, trace_remove and trace_info in the
...
tkinter.Variable class. They replace old methods trace_variable, trace,
trace_vdelete and trace_vinfo that use obsolete Tcl commands and might
not work in future versions of Tcl.
2016-06-26 09:46:57 +03:00
Larry Hastings
27d3529d87
Regenerate pydoc topics for 3.4.5 final.
2016-06-25 14:42:04 -07:00
Larry Hastings
66b84c00c5
Update pydoc topics for 3.5.2 final.
2016-06-25 14:09:37 -07:00
Serhiy Storchaka
6bc87b4b4d
Issue #20350 . tkapp.splitlist() is now always used instead of unreliable
...
tkapp.split() in the tkinter package.
2016-06-26 00:09:19 +03:00
Serhiy Storchaka
d3af156ded
Issue #24137 : Fixed IDLE on Linux with tkinter default root disabled.
2016-06-25 23:52:51 +03:00
Serhiy Storchaka
95657cdd40
Issue #26243 : Only the level argument to zlib.compress() is keyword argument
...
now. The first argument is positional-only.
2016-06-25 22:43:05 +03:00
Brett Cannon
696c35e86b
Issue #26186 : Remove the restriction that built-in and extension
...
modules can't be lazily loaded.
Thanks to Python 3.6 allowing for types.ModuleType to have its
__class__ mutated, the restriction can be lifted by calling
create_module() on the wrapped loader.
2016-06-25 10:58:17 -07:00
Brett Cannon
da037616b1
Merge from 3.5
2016-06-25 10:50:24 -07:00
Brett Cannon
e92dc9c23d
Fix a scoping issue where an UnboundLocalError was triggered if a
...
lazy-loaded module was already in sys.modules.
2016-06-25 10:47:53 -07:00
Raymond Hettinger
650c1c9ddd
Minor beautification
2016-06-25 05:36:42 +03:00
Brett Cannon
a32c4d0531
Issue #27038 : Expose DirEntry as os.DirEntry.
...
Thanks to Jelle Zijlstra for the code portion of the patch.
2016-06-24 14:14:44 -07:00
Brett Cannon
c78ca1e044
Issue #27186 : Update os.fspath()/PyOS_FSPath() to check the return
...
type of __fspath__().
As part of this change, also make sure that the pure Python
implementation of os.fspath() is tested.
2016-06-24 12:03:43 -07:00
Berker Peksag
a67d78e50c
Issue #18300 : Merge from 3.5
2016-06-24 09:29:21 +03:00
Berker Peksag
e495646a97
Issue #18300 : Set TERM='' by default in assert_python_*
2016-06-24 09:28:50 +03:00
Berker Peksag
606e5a6efe
Merge from 3.5
2016-06-24 08:48:46 +03:00
Berker Peksag
91d53e7b20
Make PyPIRCCommandTestCase derive from a base class
...
Several test cases in distutils use PyPIRCCommandTestCase as
their base class and as a result of that the following tests
were ran more than once:
* test_server_registration
* test_server_empty_registration
* test_config_interpolation
This commit moves the infrastructure used by other tests
into a new BasePyPIRCCommandTestCase class.
2016-06-24 08:48:27 +03:00
Terry Jan Reedy
47e00e5c46
Issue #27365 : Finish merge so tests pass.
2016-06-22 05:49:15 -04:00
Terry Jan Reedy
ca183efdf4
Issue #27365 : revert temporary rename
2016-06-22 04:57:23 -04:00
Terry Jan Reedy
82c4615be0
Issue #27365 : add chunk
2016-06-22 04:54:18 -04:00
Terry Jan Reedy
df1d34c1b4
Issue #27365 : add chunk
2016-06-22 04:50:16 -04:00
Terry Jan Reedy
5deed33e8f
Issue #27365 : revert temporary rename
2016-06-22 04:32:06 -04:00
Terry Jan Reedy
096c6aae87
Issue #27365 : partial merge
2016-06-22 04:24:27 -04:00
Terry Jan Reedy
317c56de6f
Issue #27365 : temporary rename
2016-06-22 04:21:22 -04:00
Terry Jan Reedy
06a1fcbb00
Issue #27365 : Allow non-ascii in idlelib/NEWS.txt, for contributor names.
...
Rest of patch that should not be cherry picked into 3.5.2 final.
2016-06-22 04:17:28 -04:00
Terry Jan Reedy
b8a79ae812
Issue #27365 : Merge minimal part.
2016-06-22 03:57:32 -04:00
Terry Jan Reedy
05029d56f4
Issue #27365 : Allow non-ascii in idlelib/NEWS.txt - minimal part for 3.5.2.
2016-06-22 03:55:20 -04:00
Terry Jan Reedy
6ff7a14b91
Issue #27365 : Allow non-ascii in idlelib/NEWS.txt - minimal part for 3.5.2.
2016-06-22 03:55:20 -04:00
Terry Jan Reedy
b60adc54d4
Issue #24137 : Run IDLE, test_idle, and htest with tkinter default root disabled.
...
Fix code and tests that fail with this restriction.
Fix htests to not create a second and redundant root and mainloop.
2016-06-21 18:41:38 -04:00
Serhiy Storchaka
aacd53f6cb
Issue #18726 : All optional parameters of the dump(), dumps(),
...
load() and loads() functions and JSONEncoder and JSONDecoder class
constructors in the json module are now keyword-only.
2016-06-22 00:03:20 +03:00
Berker Peksag
4335437506
Issue #20120 : Merge from 3.5
2016-06-20 21:42:05 +03:00
Berker Peksag
c529af3fcb
Issue #20120 : Add a test case to verify the % char can be used in .pypirc
...
I noticed that there is no test for this feature while doing
triaging work on pypa/pypi-legacy.
2016-06-20 21:41:34 +03:00
Stefan Krah
8113f490c5
Merge 3.5.
2016-06-20 12:10:42 +02:00
Stefan Krah
6817c59cf0
Issue #27006 : from_float(): call the subclass' __new__() and __init__().
2016-06-20 12:10:13 +02:00
Serhiy Storchaka
9a573a0c23
Added more tests for issue #27122 .
2016-06-20 05:30:31 +03:00
Serhiy Storchaka
ce1a9f309f
Added more tests for issue #27122 .
2016-06-20 05:29:54 +03:00
Serhiy Storchaka
b84f029baa
Issue #27319 : Methods selection_set(), selection_add(), selection_remove()
...
and selection_toggle() of ttk.TreeView now allow to pass multiple items as
multiple arguments instead of passing them as a tuple. Deprecated
undocumented ability of calling the selection() method with arguments.
2016-06-20 00:05:40 +03:00
Serhiy Storchaka
6c85091b5b
Issue #23641 : Added __getnewargs_ex__ to the list of special mock attributes.
2016-06-19 18:32:07 +03:00
Serhiy Storchaka
5943ea76d5
Issue #23641 : Added __getnewargs_ex__ to the list of special mock attributes.
2016-06-19 18:30:43 +03:00
Serhiy Storchaka
f81a266df9
Issue #27294 : Numerical state in the repr for Tkinter event objects is now
...
represented as a compination of known flags.
2016-06-18 22:09:30 +03:00
Serhiy Storchaka
514f9736a7
Issue #27294 : Numerical state in the repr for Tkinter event objects is now
...
represented as a compination of known flags.
2016-06-18 22:08:11 +03:00
Serhiy Storchaka
9c6c3fb435
Issue #27294 : Numerical state in the repr for Tkinter event objects is now
...
represented as a compination of known flags.
2016-06-18 21:55:26 +03:00
Berker Peksag
45ff4a5487
Issue #27349 : Merge from 3.5
2016-06-18 21:43:16 +03:00
Berker Peksag
56fe4749fb
Issue #27349 : Fix typo in distutils upload command
2016-06-18 21:42:37 +03:00
Serhiy Storchaka
977b3ac1c1
Issue #27177 : Match objects in the re module now support index-like objects
...
as group indices. Based on patches by Jeroen Demeyer and Xiang Zhang.
2016-06-18 16:48:07 +03:00
Berker Peksag
ce4271a3e5
Issue #26536 : Skip test_sio_loopback_fast_path under Windows 7
2016-06-18 16:10:07 +03:00
Serhiy Storchaka
f95de0e8cc
Issue #26754 : PyUnicode_FSDecoder() accepted a filename argument encoded as
...
an iterable of integers. Now only strings and byte-like objects are accepted.
2016-06-18 13:56:16 +03:00
Serhiy Storchaka
9305d83425
Issue #26754 : PyUnicode_FSDecoder() accepted a filename argument encoded as
...
an iterable of integers. Now only strings and byte-like objects are accepted.
2016-06-18 13:53:36 +03:00
Serhiy Storchaka
d91e676fd5
Issue #27343 : Fixed error message for conflicting initializers of ctypes.Structure.
2016-06-18 09:58:55 +03:00
Serhiy Storchaka
886a5f352f
Issue #27343 : Fixed error message for conflicting initializers of ctypes.Structure.
2016-06-18 09:58:24 +03:00
Berker Peksag
75a25867ab
Issue #27312 : Fix TypeError in test_setupapp
2016-06-18 04:18:24 +03:00
Terry Jan Reedy
fdb6ef774a
Issue #27312 : mock out function that fails when called from setupApp during
...
IDLE test_macosx and see if addOpenEventSupport() fails.
2016-06-17 19:55:46 -04:00
Steve Dower
ea93ac013d
Issue #26536 : socket.ioctl now supports SIO_LOOPBACK_FAST_PATH. Patch by Daniel Stokes.
2016-06-17 12:52:18 -07:00
Steve Dower
99d66f917a
Issue #27048 : Prevents distutils failing on Windows when environment variables contain non-ASCII characters
2016-06-17 09:33:11 -07:00
Steve Dower
08bb8a41cc
Issue #27048 : Prevents distutils failing on Windows when environment variables contain non-ASCII characters
2016-06-17 09:32:38 -07:00
Serhiy Storchaka
e80b658dbf
Issue #27238 : Got rid of bare excepts in the turtle module. Original patch
...
by Jelle Zijlstra.
2016-06-14 22:53:43 +03:00
Serhiy Storchaka
cefa9172a2
Issue #27238 : Got rid of bare excepts in the turtle module. Original patch
...
by Jelle Zijlstra.
2016-06-14 22:52:04 +03:00
Gregory P. Smith
881aa38972
Issue #27123 : When an exception is raised within the context being
...
managed by a contextlib.ExitStack() and one of the exit stack
generators catches and raises it in a chain, do not re-raise the
original exception when exiting, let the new chained one through.
This avoids the PEP 479 bug described in issue25782.
2016-06-14 09:24:31 -07:00
Gregory P. Smith
ba2ecd6841
Issue #27123 : When an exception is raised within the context being
...
managed by a contextlib.ExitStack() and one of the exit stack
generators catches and raises it in a chain, do not re-raise the
original exception when exiting, let the new chained one through.
This avoids the PEP 479 bug described in issue25782.
2016-06-14 09:19:20 -07:00
Victor Stinner
c206f1eb1c
subprocess: enhance ResourceWarning message
...
* Add the process identifier to the warning message
* Add also a comment to explain the issue
2016-06-14 16:42:59 +02:00
Berker Peksag
e0b70cd8a9
Issue #16864 : Cursor.lastrowid now supports REPLACE statement
...
Initial patch by Alex LordThorsen.
2016-06-14 15:25:36 +03:00
Martin Panter
34f12d7315
Issue #16182 : Merge test_readline from 3.5
2016-06-14 11:31:39 +00:00
Martin Panter
a8cadb2243
Issue #16182 : One more check for set_pre_input_hook()
2016-06-14 11:29:31 +00:00
Berker Peksag
357be7ccdb
Merge from 3.5
2016-06-14 14:19:33 +03:00
Berker Peksag
f85bce74db
Mark tests as skipped when a SQLite version is not supported
2016-06-14 14:19:02 +03:00
Berker Peksag
7fb468bf3e
Merge from 3.5
2016-06-14 13:25:35 +03:00
Berker Peksag
2b50899a28
Remove empty setUp and tearDown methods from sqlite3 tests
...
They are not used as base classes by another tests so they
can safely be removed.
2016-06-14 13:25:11 +03:00
Serhiy Storchaka
255bbf2d25
Issue #26386 : Fixed ttk.TreeView selection operations with item id's
...
containing spaces.
2016-06-14 12:39:18 +03:00
Serhiy Storchaka
8e6d09c1cc
Issue #26386 : Fixed ttk.TreeView selection operations with item id's
...
containing spaces.
2016-06-14 12:33:31 +03:00
Martin Panter
6d1d2f229e
Issue #16182 : Merge readline update from 3.5
2016-06-14 08:49:51 +00:00
Martin Panter
6afbc653a7
Issue #16182 : set_pre_input_hook() may not exist; document, and update test
2016-06-14 08:45:43 +00:00
doko@ubuntu.com
eea86b0bc0
- Issue #23968 : Update distutils/sysconfig.py to look for the renamed
...
_sysconfigdata module too.
2016-06-14 09:22:16 +02:00
doko@ubuntu.com
c8fd1928d0
- Issue #8637 : Honor a pager set by the env var MANPAGER (in preference to
...
one set by the env var PAGER).
2016-06-14 09:03:52 +02:00
doko@ubuntu.com
5553231b91
- Issue #23968 : Rename the platform directory from plat-$(MACHDEP) to
...
plat-$(PLATFORM_TRIPLET).
Rename the config directory (LIBPL) from config-$(LDVERSION) to
config-$(LDVERSION)-$(PLATFORM_TRIPLET).
Install the platform specifc _sysconfigdata module into the platform
directory and rename it to include the ABIFLAGS.
2016-06-14 08:55:19 +02:00
doko@ubuntu.com
965754521e
- Issue #8637 : Honor a pager set by the env var MANPAGER (in preference to
...
one set by the env var PAGER).
2016-06-14 08:39:31 +02:00
Martin Panter
8e4b7ac7fe
Issue #16182 : Merge test_readline from 3.5
2016-06-14 05:46:17 +00:00
Martin Panter
056f76d978
Issue #16182 : Attempted workarounds for Apple Editline
2016-06-14 05:45:31 +00:00
Terry Jan Reedy
5cd6ea44bf
Issue #27245 : revert temporary rename
2016-06-14 00:55:09 -04:00
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
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
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
Martin Panter
9b1f4431c7
Issue #27136 : Merge test_asyncio fix from 3.5
2016-06-13 23:51:02 +00: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
8b9173a8de
Update pydoc topics for 3.6.0a2
2016-06-13 16:51:55 -04:00
Matthias Klose
a8bb04b9a8
Issue #26867 : Ubuntu's openssl OP_NO_SSLv3 is forced on by default; fix test.
2016-06-12 23:40:00 -07:00
Matthias Klose
f7c562439b
Issue #26867 : Ubuntu's openssl OP_NO_SSLv3 is forced on by default; fix test.
2016-06-12 23:40:00 -07: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
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
Martin Panter
5fc7c4dce1
Issue #27136 : Change test to use ::1 for better OS X Tiger compatibility
2016-06-13 03:17:47 +00: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
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
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
Berker Peksag
7bea2347c7
Issue #27190 : Raise NotSupportedError if sqlite3 is older than 3.3.1
...
Patch by Dave Sawyer.
2016-06-12 14:09:51 +03:00
Berker Peksag
96471105f4
Issue #27188 : Merge from 3.5
2016-06-12 13:42:12 +03:00
Berker Peksag
c415440faa
Issue #27188 : Fix various sqlite3 documentation errors
...
* Connection.execute* methods don't create intermediate cursor objects
* Fix description of seq_of_parameters parameter
* Clarify that Warning is sqlite3.Warning
* sql_script parameter of Cursor.executescript() doesn't accept bytes
* Add missing tests
* Fix various markup errors
Initial patch by Dave Sawyer.
2016-06-12 13:41:47 +03:00
Serhiy Storchaka
b62ff6eb57
Issue #25455 : Fixed a crash in repr of recursive functools.partial objects.
2016-06-12 11:51:26 +03:00
Serhiy Storchaka
179f960d47
Issue #25455 : Fixed a crash in repr of recursive functools.partial objects.
2016-06-12 11:44:06 +03:00
Serhiy Storchaka
4aa15a0d0d
Merge heads
2016-06-12 09:48:19 +03:00
Serhiy Storchaka
cbe6142135
Merge heads
2016-06-12 09:47:57 +03:00
Serhiy Storchaka
f0ee5ccd19
Issue #25455 : Fixed a crash in repr of ElementTree.Element with recursive tag.
2016-06-12 09:47:20 +03:00
Serhiy Storchaka
9062c261a4
Issue #25455 : Fixed a crash in repr of ElementTree.Element with recursive tag.
2016-06-12 09:43:55 +03:00
Serhiy Storchaka
cf2ad55511
Issue #27286 : Fixed compiling BUILD_MAP_UNPACK_WITH_CALL opcode. Calling
...
function with generalized unpacking (PEP 448) and conflicting keyword names
could cause undefined behavior.
2016-06-12 09:35:13 +03:00
Serhiy Storchaka
3c317e76a2
Issue #27286 : Fixed compiling BUILD_MAP_UNPACK_WITH_CALL opcode. Calling
...
function with generalized unpacking (PEP 448) and conflicting keyword names
could cause undefined behavior.
2016-06-12 09:22:01 +03:00
Martin Panter
aea671efc6
Merge typo fixes from 3.5
2016-06-12 06:16:51 +00:00
Martin Panter
70c502aacf
Fix typos and English grammar in documentation and code comment
2016-06-12 06:14:03 +00:00
Martin Panter
50d4c15ba7
Issue #27030 : Merge RE fix from 3.5
2016-06-12 06:08:29 +00:00
Martin Panter
d4704803b9
Fix buggy RE “\parrot_example.py”, uncovered by Issue #27030
2016-06-12 06:07:35 +00:00
Larry Hastings
6e77ebe6e9
Regenerate pydoc topics for 3.4.5rc1.
2016-06-11 22:22:07 -07:00
Martin Panter
5285545271
Issue #16484 : Merge pydoc Windows fixes from 3.5
2016-06-12 04:31:25 +00:00
Martin Panter
4f8aaf6440
Issue #16484 : Fix pydoc link and test on Windows, by Kaushik Nadikuditi
2016-06-12 04:24:06 +00:00
Larry Hastings
b37a142dab
Regenerated pydoc topics for 3.5.2rc1.
2016-06-11 20:40:26 -07:00
Martin Panter
62bdea58c5
Drop unused import
2016-06-12 01:56:50 +00:00
Łukasz Langa
34ad2ef8f9
Merge 3.5, issue #14209
2016-06-11 18:05:42 -07:00
Łukasz Langa
0d18c15fbf
Issue #14209 : pkgutil.iter_zipimport_modules ignores the prefix for packages
...
Patch by James Pickering.
2016-06-11 18:02:46 -07:00
Łukasz Langa
5135e9ed51
Merge 3.5, issue #27194
2016-06-11 16:56:18 -07:00
Łukasz Langa
e7f27481a8
Issue #27194 : superfluous truncate calls in tarfile.py slow down extraction
...
Patch by Jason Fried.
2016-06-11 16:42:36 -07:00
Serhiy Storchaka
6a7506a77f
Issue #27140 : Added BUILD_CONST_KEY_MAP opcode.
2016-06-12 00:39:41 +03:00
Serhiy Storchaka
d611f4cf10
Issue #27294 : Improved repr for Tkinter event objects.
2016-06-12 00:19:44 +03:00
Benjamin Peterson
ab6e156ed3
merge 3.5
2016-06-11 13:19:34 -07:00
Benjamin Peterson
b0557e729e
merge 3.4
2016-06-11 13:18:56 -07:00
Benjamin Peterson
46b32f307c
raise an error when STARTTLS fails
2016-06-11 13:16:42 -07:00
Berker Peksag
28dc1186a8
Issue #20508 : Improve exception message of IPv{4,6}Network.__getitem__
...
Patch by Gareth Rees.
2016-06-11 22:30:05 +03:00