Serhiy Storchaka
dde0815c35
Issue #7990 : dir() on ElementTree.Element now lists properties: "tag",
...
"text", "tail" and "attrib". Original patch by Santoso Wijaya.
2015-11-25 15:28:13 +02:00
Martin Panter
f65dd1d4db
Issue #25576 : Apply fix to new urlopen() doc string
2015-11-24 23:00:37 +00:00
Martin Panter
33623b145d
Issue #25695 : Defer creation of TESTDIRN until the test case is run
2015-11-24 22:12:05 +00:00
Raymond Hettinger
2831b383e9
merge
2015-11-23 21:04:53 -08:00
Raymond Hettinger
c3f7d1753f
Fix non-ascii character
2015-11-23 21:03:09 -08:00
Raymond Hettinger
a89013d930
merge
2015-11-23 20:43:56 -08:00
Raymond Hettinger
c9c3dd87c1
Add a missing docstring
2015-11-23 20:43:28 -08:00
Martin Panter
745f6b3a5d
Issue #25663 : Update rlcompleter test for new 3.6 behaviour
2015-11-24 00:20:00 +00:00
Martin Panter
450c988184
Issue #25663 : Merge rlcompleter fix from 3.5
2015-11-24 00:19:10 +00:00
Martin Panter
11bb1ad155
Issue #25663 : Merge rlcompleter fix from 3.4 into 3.5
2015-11-24 00:10:45 +00:00
Martin Panter
ed92910852
Issue #25663 : Make rlcompleter avoid duplicate global names
2015-11-23 23:50:26 +00:00
Serhiy Storchaka
698068b013
Issue #25688 : Fixed file leak in ElementTree.iterparse() raising an error.
2015-11-23 15:46:14 +02:00
Serhiy Storchaka
6f988b5990
Issue #25688 : Fixed file leak in ElementTree.iterparse() raising an error.
2015-11-23 15:45:12 +02:00
Serhiy Storchaka
e3d4ec4766
Issue #25688 : Fixed file leak in ElementTree.iterparse() raising an error.
2015-11-23 15:44:03 +02:00
Serhiy Storchaka
b1ce30281d
Issue #23914 : Fixed SystemError raised by unpickler on broken pickle data.
2015-11-23 15:20:21 +02:00
Serhiy Storchaka
4409c6cfae
Issue #23914 : Fixed SystemError raised by unpickler on broken pickle data.
2015-11-23 15:19:23 +02:00
Serhiy Storchaka
e9b3074cf9
Issue #23914 : Fixed SystemError raised by unpickler on broken pickle data.
2015-11-23 15:17:43 +02:00
Larry Hastings
3715cab3cb
Merge 3.5.1rc1 release changes back into main 3.5 branch.
2015-11-22 23:27:07 -08:00
Serhiy Storchaka
0cd3effacd
Issue #25691 : Fixed crash on deleting ElementTree.Element attributes.
2015-11-23 08:49:39 +02:00
Serhiy Storchaka
3987fefd6f
Issue #25691 : Fixed crash on deleting ElementTree.Element attributes.
2015-11-23 08:47:26 +02:00
Serhiy Storchaka
b6aa5375d5
Issue #25691 : Fixed crash on deleting ElementTree.Element attributes.
2015-11-23 08:42:25 +02:00
Victor Stinner
da43ee4316
Issue #25694 : Fix test_regrtest for installed Python
2015-11-22 15:18:54 +01:00
Serhiy Storchaka
bf57bff1a9
Issue #25624 : ZipFile now always writes a ZIP_STORED header for directory
...
entries. Patch by Dingyuan Wang.
2015-11-22 14:50:59 +02:00
Serhiy Storchaka
6e3d2ba269
Issue #25624 : ZipFile now always writes a ZIP_STORED header for directory
...
entries. Patch by Dingyuan Wang.
2015-11-22 14:50:25 +02:00
Serhiy Storchaka
8bc792a602
Issue #25624 : ZipFile now always writes a ZIP_STORED header for directory
...
entries. Patch by Dingyuan Wang.
2015-11-22 14:49:58 +02:00
Serhiy Storchaka
ac8abe2100
Issue #19687 : Fixed memory leak on failed Element slice assignment.
...
Added new tests for Element slice assignments.
2015-11-22 12:30:54 +02:00
Serhiy Storchaka
36e4f760f6
Issue #19687 : Fixed memory leak on failed Element slice assignment.
...
Added new tests for Element slice assignments.
2015-11-22 12:30:28 +02:00
Serhiy Storchaka
04d759b1e4
Issue #19687 : Fixed memory leak on failed Element slice assignment.
...
Added new tests for Element slice assignments.
2015-11-22 12:18:38 +02:00
Larry Hastings
1fb5b735f5
Updated pydoc topics for 3.5.1rc1.
2015-11-21 23:50:36 -08:00
Terry Jan Reedy
d40d90ab8f
Update idlelib/NEWS.txt.
2015-11-21 13:33:57 -05:00
Terry Jan Reedy
4a93cf794c
Update idlelib/NEWS.txt.
2015-11-21 13:33:06 -05:00
Terry Jan Reedy
6e92c1137b
Update idlelib/NEWS.txt.
2015-11-21 13:31:27 -05:00
Serhiy Storchaka
f7d75db803
Issue #25686 : test_shutil no longer uses the distutils package for searching
...
and running external archivers.
2015-11-21 14:10:30 +02:00
Serhiy Storchaka
efd83feb7d
Issue #25686 : test_shutil no longer uses the distutils package for searching
...
and running external archivers.
2015-11-21 14:09:58 +02:00
Serhiy Storchaka
b42de2f309
Issue #25686 : test_shutil no longer uses the distutils package for searching
...
and running external archivers.
2015-11-21 14:09:26 +02:00
Martin Panter
36befa5b4c
Issue #25626 : Merge zlib fix from 3.5
2015-11-21 10:57:15 +00:00
Terry Jan Reedy
266b276f34
Merge with 3.5
2015-11-21 00:05:35 -05:00
Terry Jan Reedy
d13cade381
Merge with 3.4
2015-11-21 00:05:17 -05:00
Terry Jan Reedy
e1b02e0459
Issue 15348: Stop debugger engine (normally in user process)
...
before closing debugger window in IDLE process.
2015-11-21 00:05:03 -05:00
Terry Jan Reedy
20fe98350e
Merge with 3.5
2015-11-20 19:37:14 -05:00
Terry Jan Reedy
0a7b2ae550
Merge with 3.4
2015-11-20 19:37:00 -05:00
Terry Jan Reedy
6a904c16f7
Issue #24455 : Prevent IDLE from hanging when a) closing the shell while the
...
debugger is active (15347); b) closing the debugger with the [X] button
(15348); and c) activating the debugger when already active (24455).
The patch by Mark Roseman does this by making two changes.
1. To suspend and resume the gui.interaction method, use the tcl vwait
mechanism interded for this purpose instead of root.mainloop & .quit.
2. In gui.run, allow any existing interaction to terminate first.
2015-11-20 19:36:43 -05:00
Yury Selivanov
5444de93ac
Merge 3.5
2015-11-20 12:58:00 -05:00
Yury Selivanov
875e4fbcca
Merge 3.4
2015-11-20 12:57:47 -05:00
Yury Selivanov
0f3c9765d4
asyncio: Fix with github
...
See https://github.com/python/asyncio/pull/295 for details
2015-11-20 12:57:34 -05:00
Yury Selivanov
ded6689117
Merge 3.5
2015-11-20 12:44:12 -05:00
Yury Selivanov
e342b8e8fe
Merge 3.4
2015-11-20 12:44:03 -05:00
Yury Selivanov
a211a7a0e7
asyncio.tests: Fix whitespace
2015-11-20 12:43:52 -05:00
Yury Selivanov
38b6468ff2
Merge 3.5
2015-11-20 12:41:53 -05:00
Yury Selivanov
4733e1f78d
Merge 3.4
2015-11-20 12:41:43 -05:00
Yury Selivanov
d59bba88e3
asyncio: Drop "value" parameter from Task._step method.
2015-11-20 12:41:03 -05:00
Yury Selivanov
aa31c35e55
Merge 3.5
2015-11-20 12:40:02 -05:00
Yury Selivanov
abe61079de
Merge 3.4
2015-11-20 12:39:51 -05:00
Yury Selivanov
b485bb416c
asyncio: Sync with github
2015-11-20 12:39:43 -05:00
Terry Jan Reedy
b74a707cbd
Merge with 3.5
2015-11-20 12:22:18 -05:00
Terry Jan Reedy
812b24842c
Merge with 3.4
2015-11-20 12:22:06 -05:00
Terry Jan Reedy
4379d15d4c
Make it slightly clearer that IDLE close message is referring to user program,
...
not to IDLE itself.
2015-11-20 12:21:48 -05:00
Serhiy Storchaka
9e788af7cc
Issue #25665 : Test pickling with all protocols in test_typing.
2015-11-20 18:33:33 +02:00
Serhiy Storchaka
6d9e92396f
Issue #25665 : Test pickling with all protocols in test_typing.
2015-11-20 18:33:02 +02:00
Martin Panter
e99e97762c
Issue #25626 : Change zlib to accept Py_ssize_t and cap to UINT_MAX
...
The underlying zlib library stores sizes in “unsigned int”. The corresponding
Python parameters are all sizes of buffers filled in by zlib, so it is okay
to reduce higher values to the UINT_MAX internal cap. OverflowError is still
raised for sizes that do not fit in Py_ssize_t.
Sizes are now limited to Py_ssize_t rather than unsigned long, because Python
byte strings cannot be larger than Py_ssize_t. Previously this could result
in a SystemError on 32-bit platforms.
This resolves a regression in the gzip module when reading more than UINT_MAX
or LONG_MAX bytes in one call, introduced by revision 62723172412c.
2015-11-20 08:13:35 +00:00
Victor Stinner
c50ec007ff
Merge 3.5 (issue #25670 )
2015-11-20 08:50:17 +01:00
Victor Stinner
6fbd7741db
Issue #25670 : Remove duplicate getattr() from ast.NodeTransformer
2015-11-20 08:49:58 +01:00
Martin Panter
5e02af4961
Issue #25583 : Merge makedirs fix from 3.5
2015-11-20 02:37:29 +00:00
Martin Panter
97cabb9fa5
Issue #25583 : Merge makedirs fix from 3.4 into 3.5
2015-11-20 02:35:46 +00:00
Guido van Rossum
13d9b86d46
Issue #25593 : Change semantics of EventLoop.stop(). (Merge 3.5->3.6)
2015-11-19 13:34:24 -08:00
Guido van Rossum
82f9feaf10
Issue #25593 : Change semantics of EventLoop.stop(). (Merge 3.4->3.5)
2015-11-19 13:33:34 -08:00
Guido van Rossum
41f69f4cc7
Issue #25593 : Change semantics of EventLoop.stop().
2015-11-19 13:28:47 -08:00
Guido van Rossum
1b2bd70f98
Issue #25665 : Make NamedTuple picklable. (Merge 3.5->3.6)
2015-11-19 08:16:52 -08:00
Guido van Rossum
557d1eb0f3
Issue #25665 : Make NamedTuple picklable.
2015-11-19 08:16:31 -08:00
Guido van Rossum
ca0f0a6bad
Remove unused imports from test_typing.py. (Merge 3.5->3.6)
2015-11-18 21:19:18 -08:00
Guido van Rossum
05e3090e3a
Remove unused imports from test_typing.py.
2015-11-18 21:18:51 -08:00
Guido van Rossum
5497ac4758
Issue #25472 : In B[<type>], insert B in front of __bases__, to make the __dict__ descriptor work. (Merge 3.5->3.6)
2015-11-18 21:13:42 -08:00
Guido van Rossum
bb7c57c6cd
Issue #25472 : In B[<type>], insert B in front of __bases__, to make the __dict__ descriptor work.
2015-11-18 21:12:58 -08:00
Martin Panter
a82642f9db
Issue #25583 : Avoid incorrect errors raised by os.makedirs(exist_ok=True)
2015-11-19 04:48:44 +00:00
Yury Selivanov
5c9f204300
Merge 3.5
2015-11-18 12:40:41 -05:00
Yury Selivanov
576fe71c12
asyncio: Error if awaiting in parallel on the same coroutine
...
See https://github.com/python/asyncio/pull/293 for details.
2015-11-18 12:40:26 -05:00
Yury Selivanov
b3dd6d70c7
asyncio: Error if awaiting in parallel on the same coroutine
...
This change won't do anything in CPython 3.4
See https://github.com/python/asyncio/pull/293 for details.
2015-11-18 12:39:45 -05:00
Yury Selivanov
4990289bbf
Merge 3.5
2015-11-17 12:20:26 -05:00
Yury Selivanov
5498f2b6bf
Merge 3.4
2015-11-17 12:20:02 -05:00
Yury Selivanov
5d7e3b6cd2
asyncio: Cleanup Future API
...
See https://github.com/python/asyncio/pull/292 for details.
2015-11-17 12:19:41 -05:00
Yury Selivanov
cfcc2bdcb2
Merge 3.5
2015-11-17 12:02:44 -05:00
Yury Selivanov
7f324ba735
Merge 3.4
2015-11-17 12:02:32 -05:00
Yury Selivanov
0013ccedd1
asyncio: Sync with github
2015-11-17 12:02:21 -05:00
Yury Selivanov
43b53091f0
Merge 3.5
2015-11-16 15:12:54 -05:00
Yury Selivanov
cfff959c07
Merge 3.4
2015-11-16 15:12:44 -05:00
Yury Selivanov
a4afc4876b
asyncio: Optimize Task._wakeup
...
See https://github.com/python/asyncio/pull/289 for details.
2015-11-16 15:12:10 -05:00
Yury Selivanov
efbee31b47
Merge 3.5
2015-11-16 12:43:46 -05:00
Yury Selivanov
1334f83de2
Merge 3.4
2015-11-16 12:43:35 -05:00
Yury Selivanov
5bb1afb332
asyncio: Add Transport.is_closing()
...
See https://github.com/python/asyncio/pull/291 for details.
2015-11-16 12:43:21 -05:00
Terry Jan Reedy
d8b10fd975
Merge with 3.5
2015-11-16 07:36:44 -05:00
Terry Jan Reedy
4bc534d589
Merge with 3.4
2015-11-16 07:36:33 -05:00
Terry Jan Reedy
4932ac244f
Issue #24750 : whitespace
2015-11-16 07:36:22 -05:00
Terry Jan Reedy
a8a6419d4e
Merge with 3.5
2015-11-16 07:33:01 -05:00
Terry Jan Reedy
5922d739d4
Merge with 3.4
2015-11-16 07:32:46 -05:00
Terry Jan Reedy
d36d817a84
Issue #24750 : Improve appearance of IDLE editor window status bar.
...
Patch by Mark Roseman.
2015-11-16 07:32:26 -05:00
Martin Panter
a28cdafe83
Issue #20220 : Merge time zone workaround from 3.5
2015-11-16 09:43:05 +00:00
Martin Panter
42347100bf
Issue #20220 : Merge time zone workaround from 3.4 into 3.5
2015-11-16 09:42:41 +00:00
Martin Panter
fca22327ca
Issue #20220 : Revert time zone test debugging, revision 139c18943d9b
2015-11-16 09:22:19 +00:00
Serhiy Storchaka
51eca24748
Issue #9051 : Added tests for pickling and copying the timezone objects.
2015-11-16 11:20:17 +02:00
Serhiy Storchaka
f242aebbd3
Issue #9051 : Added tests for pickling and copying the timezone objects.
2015-11-16 11:19:31 +02:00
Serhiy Storchaka
e28209f251
Issue #9051 : Added tests for pickling and copying the timezone objects.
2015-11-16 11:12:58 +02:00
Martin Panter
6e0889f0c7
Issue #20220 : Add DST rules to work around glibc quirk
...
This was triggering intermittent failures in unrelated tests.
2015-11-16 07:21:38 +00:00
Gregory P. Smith
f31f9718ac
Fixes #23564 : Fix a partially broken sanity check in the _posixsubprocess
...
internals regarding how fds_to_pass were passed to the child. The bug
had no actual impact as subprocess.py already avoided it.
2015-11-15 21:29:43 -08:00
Gregory P. Smith
d0a5b1c343
Fixes #23564 : Fix a partially broken sanity check in the _posixsubprocess
...
internals regarding how fds_to_pass were passed to the child. The bug
had no actual impact as subprocess.py already avoided it.
2015-11-15 21:15:26 -08:00
Gregory P. Smith
97b0b1e8d4
Fix issue #6973 : When we know a subprocess.Popen process has died, do
...
not allow the send_signal(), terminate(), or kill() methods to do
anything as they could potentially signal a different process.
2015-11-15 18:31:34 -08:00
Gregory P. Smith
2cd1b3b089
Fix issue #6973 : When we know a subprocess.Popen process has died, do
...
not allow the send_signal(), terminate(), or kill() methods to do
anything as they could potentially signal a different process.
2015-11-15 18:26:11 -08:00
Gregory P. Smith
a0c9caad66
Fix issue #6973 : When we know a subprocess.Popen process has died, do
...
not allow the send_signal(), terminate(), or kill() methods to do
anything as they could potentially signal a different process.
2015-11-15 18:19:10 -08:00
Serhiy Storchaka
0304729ec4
Issue #25388 : Fixed tokenizer crash when processing undecodable source code
...
with a null byte.
2015-11-14 15:12:04 +02:00
Serhiy Storchaka
7e2b870b85
Issue #25388 : Fixed tokenizer crash when processing undecodable source code
...
with a null byte.
2015-11-14 15:11:17 +02:00
Serhiy Storchaka
0d441119f5
Issue #25388 : Fixed tokenizer crash when processing undecodable source code
...
with a null byte.
2015-11-14 15:10:35 +02:00
Martin Panter
19e69c5a20
Issue #23883 : Add missing APIs to __all__; patch by Jacek Kołodziej
2015-11-14 12:46:42 +00:00
Martin Panter
d226d308a3
Issue #23883 : Add test.support.check__all__() and test gettext.__all__
...
Patches by Jacek Kołodziej.
2015-11-14 11:47:00 +00:00
Martin Panter
63c1ebb67b
Issue #25168 : Temporary timezone and cache debugging
2015-11-14 08:54:30 +00:00
Martin Panter
22fd1c262a
Merge typo and grammar fixes from 3.5
2015-11-14 01:29:13 +00:00
Martin Panter
32acc16cda
Merge typo and grammar fixes from 3.4 into 3.5
2015-11-14 01:14:25 +00:00
Martin Panter
2e4571a456
Fix a few grammar problems in the documentation and comments
2015-11-14 01:07:43 +00:00
Martin Panter
ac34e09bbf
Correct Content-Type syntax in documentation
2015-11-14 00:58:32 +00:00
Martin Panter
6fe39266c8
Issue #25590 : Complete attribute names even if they are not yet created
2015-11-13 23:54:02 +00:00
Martin Panter
f4ad5f5dea
Issue #25590 : Merge rlcompleter getattr change from 3.5
2015-11-13 23:48:17 +00:00
Martin Panter
fa9ea04673
Issue #25590 : Merge rlcompleter change from 3.4 into 3.5
2015-11-13 23:10:39 +00:00
Martin Panter
06622ead80
Issue #25590 : Make rlcompleter only call getattr() once per attribute
...
Previously it was called another time via hasattr(), and both calls were
made once for dir(f) and again for dir(f.__class__). This includes a
backport of changing from a list to a set from revision 4dbb315fe667.
2015-11-13 22:47:00 +00:00
Martin Panter
ceaabc100c
Issue #25498 : Merge ctypes crash fix from 3.5
2015-11-13 22:14:53 +00:00
Martin Panter
75559affad
Issue #25498 : Update error message for 3.5
2015-11-13 22:12:58 +00:00
Martin Panter
0da4ac1f21
Issue #25498 : Merge ctypes crash fix from 3.4 into 3.5
2015-11-13 22:12:12 +00:00
Martin Panter
1bb651540e
Issue #25498 : Fix GC crash due to ctypes objects wrapping a memoryview
...
This was a regression caused by revision 1da9630e9b7f. Based on patch by
Eryksun.
2015-11-13 21:43:39 +00:00
Yury Selivanov
84fdc4958f
Merge 3.5
2015-11-13 12:29:14 -05:00
Yury Selivanov
c73771afd8
Merge 3.4
2015-11-13 12:29:03 -05:00
Yury Selivanov
abe9625eeb
asyncio: Fix sporadic failing unittests in debug mode
2015-11-13 12:28:48 -05:00
Terry Jan Reedy
fbc741c729
Merge with 3.5
2015-11-12 15:25:07 -05:00
Terry Jan Reedy
30c328f611
Merge with 3.4
2015-11-12 15:24:50 -05:00
Terry Jan Reedy
5496ba2ddb
Indent
2015-11-12 15:24:33 -05:00
Terry Jan Reedy
9fc4091802
Merge with 3.5
2015-11-12 15:06:34 -05:00
Terry Jan Reedy
8f1a98058f
Merge with 3.4
2015-11-12 15:06:20 -05:00
Terry Jan Reedy
c15a7c615e
Whitespace
2015-11-12 15:06:07 -05:00
Terry Jan Reedy
4df5c7aa30
Merge with 3.5
2015-11-12 15:03:30 -05:00
Terry Jan Reedy
e19f3ec072
Merge with 3.4
2015-11-12 15:03:17 -05:00
Terry Jan Reedy
d0c0f0041c
Issue #25313 : Change the handling of new built-in text color themes to better
...
address the compatibility problem introduced by the addition of IDLE Dark.
Consistently use the revised idleConf.CurrentTheme everywhere in idlelib.
2015-11-12 15:02:57 -05:00
Serhiy Storchaka
d5c075143b
Issue #25607 : Restore old distutils logging threshold after running tests that
...
parse command line arguments.
2015-11-12 19:47:38 +02:00
Serhiy Storchaka
2f85555531
Issue #25607 : Restore old distutils logging threshold after running tests that
...
parse command line arguments.
2015-11-12 19:47:14 +02:00
Serhiy Storchaka
84023247b4
Issue #25607 : Restore old distutils logging threshold after running tests that
...
parse command line arguments.
2015-11-12 19:46:23 +02:00
Serhiy Storchaka
30c49cb17f
Restore old distutils logging threshold after running test_log.
2015-11-12 13:28:07 +02:00
Serhiy Storchaka
ef2462ea3f
Restore old distutils logging threshold after running test_log.
2015-11-12 13:15:56 +02:00
Serhiy Storchaka
fda7fe0148
Restore old distutils logging threshold after running test_log.
2015-11-12 13:15:41 +02:00
Serhiy Storchaka
12ab296f82
Issue #22995 : Default implementation of __reduce__ and __reduce_ex__ now
...
rejects builtin types with not defined __new__.
Added tests for non-pickleable types.
2015-11-12 11:34:39 +02:00
Serhiy Storchaka
609a2e17ad
Issue #22995 : Default implementation of __reduce__ and __reduce_ex__ now
...
rejects builtin types with not defined __new__.
Added tests for non-pickleable types.
2015-11-12 11:31:51 +02:00
Serhiy Storchaka
d7a4415599
Issue #22995 : Default implementation of __reduce__ and __reduce_ex__ now
...
rejects builtin types with not defined __new__.
Added tests for non-pickleable types.
2015-11-12 11:23:04 +02:00
Benjamin Peterson
d5d6e331fb
merge 3.5 ( #25530 )
2015-11-11 22:45:36 -08:00
Benjamin Peterson
45bde5d2ee
merge 3.4 ( #25530 )
2015-11-11 22:45:22 -08:00
Benjamin Peterson
a9dcdabccb
always set OP_NO_SSLv3 by default ( closes #25530 )
2015-11-11 22:38:41 -08:00
Serhiy Storchaka
3dc56a6cec
Issue #25595 : Fixed test_deleted_cwd in test_importlib on AIX.
2015-11-11 08:27:13 +02:00
Serhiy Storchaka
35abe19c24
Issue #25595 : Fixed test_deleted_cwd in test_importlib on AIX.
2015-11-11 08:26:59 +02:00
Serhiy Storchaka
a15a98638a
Issue #6598 : Avoid clock wrapping around in test_make_msgid_collisions.
...
Use time.monotonic instead of time.clock.
2015-11-10 19:52:20 +02:00
Serhiy Storchaka
c6ce13d910
Issue #6598 : Avoid clock wrapping around in test_make_msgid_collisions.
...
Use time.monotonic instead of time.clock.
2015-11-10 19:51:56 +02:00
Serhiy Storchaka
e1dc3d47e0
Issue #6598 : Avoid clock wrapping around in test_make_msgid_collisions.
...
Use time.monotonic or time.time instead of time.clock.
2015-11-10 19:50:14 +02:00
Stefan Krah
3407cc26cb
Merge 3.5.
2015-11-10 18:18:07 +01:00
Stefan Krah
0ce5b6e268
Iaaue #25598 : Fix memory_hex from #9951 for non-contiguous buffers.
2015-11-10 18:17:22 +01:00
Serhiy Storchaka
fa02131adb
Issue #25263 : Fixed the tkinter.test.test_tkinter.test_font.FontTest test
...
failure when the test is ran the second time.
The root attribute was set in parent class in setUpClass and then
overridded in child class in tearDownClass.
2015-11-10 15:31:52 +02:00
Serhiy Storchaka
e46e09d0f5
Issue #25263 : Fixed the tkinter.test.test_tkinter.test_font.FontTest test
...
failure when the test is ran the second time.
The root attribute was set in parent class in setUpClass and then
overridded in child class in tearDownClass.
2015-11-10 15:31:38 +02:00
Serhiy Storchaka
40fe35a95e
Issue #25263 : Fixed the tkinter.test.test_tkinter.test_font.FontTest test
...
failure when the test is ran the second time.
The root attribute was set in parent class in setUpClass and then
overridded in child class in tearDownClass.
2015-11-10 15:30:35 +02:00
Serhiy Storchaka
cc10c33765
Issue #25584 : Added "escape" to the __all__ list in the glob module.
...
From patch by Xavier de Gaye.
2015-11-09 23:18:32 +02:00
Serhiy Storchaka
04b5700b36
Issue #25584 : Added "escape" to the __all__ list in the glob module.
...
From patch by Xavier de Gaye.
2015-11-09 23:18:19 +02:00
Serhiy Storchaka
8e43e11be3
Issue #25584 : Fixed recursive glob() with patterns starting with '**'.
2015-11-09 23:12:28 +02:00
Serhiy Storchaka
735b790fed
Issue #25584 : Fixed recursive glob() with patterns starting with '**'.
2015-11-09 23:12:07 +02:00
Serhiy Storchaka
563f2ae753
Issue #25582 : Fixed 100 MB memory leak in test_ctypes.
2015-11-09 22:33:39 +02:00
Serhiy Storchaka
82639816df
Issue #25582 : Fixed 100 MB memory leak in test_ctypes.
2015-11-09 22:32:23 +02:00
Serhiy Storchaka
b63902a748
Issue #25582 : Fixed 100 MB memory leak in test_ctypes.
2015-11-09 22:31:10 +02:00
Serhiy Storchaka
b9d672491d
Issue #25263 : Trying to fix test_use on Windows.
...
Avoid possible weird behavior of WideInt convertion.
"winfo id" always returns string hexadecimal representation.
2015-11-09 14:43:31 +02:00
Martin Panter
cc99cd7045
Issue #24802 : Merge ValueError test case from 3.5
2015-11-08 11:09:37 +00:00
Martin Panter
d61d860ed3
Issue #24802 : Update test case for ValueError in 3.5
2015-11-08 11:09:13 +00:00
R David Murray
7861667c8e
Merge: #25446 : Fix regression in smtplib's AUTH LOGIN support.
2015-11-08 01:05:11 -05:00
R David Murray
b0deeb47d8
#25446 : Fix regression in smtplib's AUTH LOGIN support.
...
The auth method tests simply weren't adequate because of the fact that
smtpd doesn't support authentication. I borrowed some of Milan's
code for that from issue #21935 and added it to the smtplib tests.
Also discovered that the direct test for the 'auth' method wasn't actually
testing anything and fixed it.
The fix makes the new authobject mechanism work the way it is
documented...the problem was that wasn't checking for a 334 return code
if an initial-response was provided, which works fine for auth plain
and cram-md5, but not for auth login.
2015-11-08 01:03:52 -05:00
Serhiy Storchaka
29a2f7c6b3
Issue #25263 : Trying to fix test_use on Windows.
2015-11-07 18:06:24 +02:00
Serhiy Storchaka
96b6ff20d3
Issue #22643 : Skip test_case_operation_overflow on computers with low memory.
2015-11-07 16:55:39 +02:00
Serhiy Storchaka
3d717d05de
Issue #22643 : Skip test_case_operation_overflow on computers with low memory.
2015-11-07 16:55:16 +02:00
Serhiy Storchaka
411dfd871c
Issue #22643 : Skip test_case_operation_overflow on computers with low memory.
2015-11-07 16:54:48 +02:00
Serhiy Storchaka
41a87637c0
Issue #892902 : Added new tests for pickling recursive collections.
2015-11-07 11:17:15 +02:00
Serhiy Storchaka
838b7cc0e7
Issue #892902 : Added new tests for pickling recursive collections.
2015-11-07 11:17:02 +02:00
Serhiy Storchaka
608c213530
Issue #892902 : Added new tests for pickling recursive collections.
2015-11-07 11:16:10 +02:00
Martin Panter
9513ba3b8f
Issue #24802 : Merge null termination fixes from 3.5
2015-11-07 03:15:32 +00:00
Martin Panter
61d6e4ae9d
Issue #24802 : Merge null termination fixes from 3.4 into 3.5
2015-11-07 02:56:11 +00:00
Martin Panter
eeb896c411
Issue #24802 : Copy bytes-like objects to null-terminated buffers if necessary
...
This avoids possible buffer overreads when int(), float(), compile(), exec()
and eval() are passed bytes-like objects. Similar code is removed from the
complex() constructor, where it was not reachable.
Patch by John Leitch, Serhiy Storchaka and Martin Panter.
2015-11-07 02:32:21 +00:00
Martin Panter
eb1d89abdd
Issue #25064 : Merge tempfile doc from 3.5
2015-11-07 00:56:56 +00:00
Martin Panter
9b566c324d
Issue #25064 : Adjust documentation according to new mkstemp signature
...
The mkstemp() and mkdtemp() signatures have already been updated, but the
higher-level functions still suggest that the default values are forced to
text strings. Also merged some paragraphs describing the "suffix" and
"prefix" parameters, and pointed out that mktemp() does not support the new
changes.
2015-11-07 00:32:50 +00:00
Martin Panter
e2e0deec45
Issue #18010 : Merge pydoc web search fix from 3.5
2015-11-06 01:08:34 +00:00
Martin Panter
98da9d0e0d
Issue #18010 : Merge pydoc web search fix from 3.4 into 3.5
2015-11-06 00:51:38 +00:00
Martin Panter
9ad0aae656
Issue #18010 : Fix pydoc web server search to handle package exceptions
...
Implementation by Antoine Pitrou.
2015-11-06 00:27:14 +00:00
Yury Selivanov
a2149ed1c0
Merge 3.5
2015-11-05 14:30:41 -05:00
Yury Selivanov
7931be403d
Merge 3.4
2015-11-05 14:29:19 -05:00
Yury Selivanov
ade0412613
asyncio: Optimize asyncio.sleep(0)
2015-11-05 14:29:04 -05:00
Serhiy Storchaka
7c1455be6b
Issue #25554 : Got rid of circular references in regular expression parsing.
2015-11-05 17:51:15 +02:00
Serhiy Storchaka
b5d0a21553
Issue #25554 : Got rid of circular references in regular expression parsing.
2015-11-05 17:49:26 +02:00
Serhiy Storchaka
f83afa508f
Issue #25449 : Fixed a crash and leaking NULL in repr() of OrderedDict that
...
was mutated by direct calls of dict methods.
2015-11-04 22:33:33 +02:00
Serhiy Storchaka
710cd34bdb
Issue #25449 : Fixed a crash and leaking NULL in repr() of OrderedDict that
...
was mutated by direct calls of dict methods.
2015-11-04 22:33:07 +02:00
Serhiy Storchaka
161b6ff19c
Issue #25449 : Iterating OrderedDict with keys with unstable hash now raises
...
KeyError in C implementations as well as in Python implementation.
Added tests for OrderedDict subclasses.
2015-11-04 22:08:52 +02:00
Serhiy Storchaka
b45b7b2137
Issue #25449 : Iterating OrderedDict with keys with unstable hash now raises
...
KeyError in C implementations as well as in Python implementation.
Added tests for OrderedDict subclasses.
2015-11-04 22:05:38 +02:00
Victor Stinner
45550178ef
regrtest: display progress every 30 seconds (instead of 60 seconds) when
...
running tests in multiprocessing mode (-jN).
2015-11-04 09:03:53 +01:00
Eric V. Smith
a78c7954d5
Issue 25483: Add an opcode to make f-string formatting more robust.
2015-11-03 12:45:05 -05:00
Victor Stinner
2753a096e0
locale.delocalize(): only call localeconv() once
2015-11-03 14:34:51 +01:00
Serhiy Storchaka
4a7c03aab4
Issue #25523 : Merge a-to-an corrections from 3.5.
2015-11-02 14:44:29 +02:00
Serhiy Storchaka
f51d715845
Issue #25523 : Further a-to-an corrections new in 3.5.
2015-11-02 14:40:41 +02:00