Łukasz Langa
7c1457bed2
Merge with current default
2013-07-01 16:03:17 +02:00
Łukasz Langa
3720c77e30
Issue #18244 : Adopt C3-based linearization in functools.singledispatch for improved ABC support
2013-07-01 16:00:38 +02:00
Christian Heimes
54882bfc18
Singular form just like the other error message.
2013-07-01 15:23:48 +02:00
Christian Heimes
8087879349
Singular form just like the other error message.
2013-07-01 15:23:39 +02:00
Christian Heimes
bfafab1849
Issue #18339 : Negative ints keys in unpickler.memo dict no longer cause a
...
segfault inside the _pickle C extension.
2013-07-01 15:18:49 +02:00
Christian Heimes
a24b4d260b
Issue #18339 : Negative ints keys in unpickler.memo dict no longer cause a
...
segfault inside the _pickle C extension.
2013-07-01 15:17:45 +02:00
Christian Heimes
04926aeb2f
Issue 18240: The HMAC module is no longer restricted to bytes and accepts
...
any bytes-like object, e.g. memoryview. Original patch by Jonas Borgström.
2013-07-01 13:08:42 +02:00
Terry Jan Reedy
ec4bdac8dd
(merge) Issue #7136 : In the Idle File menu, "New Window" is renamed "New File".
...
Patch by Tal Einat, Roget Serwy, and Todd Rovito.
2013-07-01 00:52:18 -04:00
Terry Jan Reedy
8a0b7756e2
Issue #7136 : In the Idle File menu, "New Window" is renamed "New File".
...
Patch by Tal Einat, Roget Serwy, and Todd Rovito.
2013-07-01 00:42:52 -04:00
Terry Jan Reedy
7afadc856b
Merge with 3.3
2013-06-30 18:37:51 -04:00
Terry Jan Reedy
acd5f81149
Issue #18189 : add test_delegator for Idle Delegator class.
...
Also change private dict used as a set to a set.
2013-06-30 18:37:05 -04:00
Vinay Sajip
53b1c24f54
Issue #18224 : Updated test.
2013-06-30 22:11:46 +01:00
Vinay Sajip
ef1f777e0a
Issue #18224 : Updated test.
2013-06-30 22:11:10 +01:00
Vinay Sajip
893c7e7829
Closes #18224 : Removed pydoc script from created venv, as it causes problems on Windows and adds no value over and above python -m pydoc ...
2013-06-30 22:08:27 +01:00
Vinay Sajip
61d003a8f1
Issue #18224 : Removed pydoc script from created venv, as it causes problems on Windows and adds no value over and above python -m pydoc ...
2013-06-30 22:06:52 +01:00
Terry Jan Reedy
14c4799581
Merge with 3.3
2013-06-30 16:52:40 -04:00
Terry Jan Reedy
56fe854a77
Issue 18189: remove unused methods in idlelib.Delegator.Delegator.
...
Idle code already uses x.delegate instead of x.getdelegate().
The printed report must have been for testing.
2013-06-30 16:52:19 -04:00
R David Murray
5766f3b0d1
Null merge #18038 : Use non-deprecated assert names in tests.
...
Brett already fixed this in 3.4 in 4f7c25ab2ed2.
2013-06-30 11:50:53 -04:00
R David Murray
c170f37d38
#18038 : Use non-deprecated assert names in tests.
2013-06-30 11:46:32 -04:00
R David Murray
634e076bbe
Merge #18155 : Regex-escape delimiter, in case it is a regex special char.
2013-06-29 18:42:24 -04:00
R David Murray
925a322570
#18155 : Regex-escape delimiter, in case it is a regex special char.
...
Patch by Vajrasky Kok, with slight modification to the tests by me.
2013-06-29 18:40:53 -04:00
Terry Jan Reedy
06beaba785
Merge with 3.3
2013-06-29 18:22:25 -04:00
Terry Jan Reedy
e4e530e7e8
Issue #18103 : Update README.txt and test_idle to describe and run gui tests.
2013-06-29 18:22:02 -04:00
Christian Heimes
721724270d
Fix segfault in pyexpat.c caused by 84375
...
u can be NULL, use XDECREF
2013-06-29 21:49:27 +02:00
Christian Heimes
82e6b94b95
Fix resource leak in pickle module
...
CID 983309 (#1 of 1): Resource leak (RESOURCE_LEAK)
leaked_storage: Variable unicode_str going out of scope leaks the storage it points to.
2013-06-29 21:37:34 +02:00
Christian Heimes
d47802eef7
Fix ref leak in error case of unicode find, count, formatlong
...
CID 983315: Resource leak (RESOURCE_LEAK)
CID 983316: Resource leak (RESOURCE_LEAK)
CID 983317: Resource leak (RESOURCE_LEAK)
2013-06-29 21:33:36 +02:00
Christian Heimes
d47a0456b1
Fix ref leak in error case of unicode index
...
CID 983319 (#1 of 2): Resource leak (RESOURCE_LEAK)
leaked_storage: Variable substring going out of scope leaks the storage it points to.
2013-06-29 21:21:37 +02:00
Christian Heimes
ea71a525c3
Fix ref leak in error case of unicode rindex and rfind
...
CID 983320: Resource leak (RESOURCE_LEAK)
CID 983321: Resource leak (RESOURCE_LEAK)
leaked_storage: Variable substring going out of scope leaks the storage it points to.
2013-06-29 21:17:34 +02:00
Christian Heimes
22ed7fe906
Fix resource leak in parser, free node ptr
...
CID 1028068 (#1 of 1): Resource leak (RESOURCE_LEAK)
leaked_storage: Variable n going out of scope leaks the storage it points to.
2013-06-29 21:03:51 +02:00
Christian Heimes
b91ffaa1d8
Fix NULL ptr dereferencing in local_timezone(). nameo can be NULL
...
CID 1040362 (#1 of 1): Explicit null dereferenced (FORWARD_NULL)
var_deref_op: Dereferencing null pointer _py_decref_tmp.
2013-06-29 20:52:33 +02:00
Christian Heimes
b582155789
Fix memory leak in pyexpat PyUnknownEncodingHandler
...
CID 1040367 (#1 of 1): Resource leak (RESOURCE_LEAK)
leaked_storage: Variable u going out of scope leaks the storage it points to.
2013-06-29 20:43:13 +02:00
Christian Heimes
305e49e17e
Fix memory leak in endswith
...
CID 1040368 (#1 of 1): Resource leak (RESOURCE_LEAK)
leaked_storage: Variable substring going out of scope leaks the storage it points to.
2013-06-29 20:41:06 +02:00
Terry Jan Reedy
b7bb6f571b
Merge with 3.3
2013-06-29 13:16:17 -04:00
Terry Jan Reedy
c4565a9524
Issue #18237 : Fix assertRaisesRegexp error caought by Jeff Tratner.
2013-06-29 13:15:43 -04:00
Antoine Pitrou
3a5053b8cf
Issue #18322 : fix some test_stat nits.
2013-06-29 12:58:57 +02:00
Terry Jan Reedy
a92bfa457c
Merge with 3.3
2013-06-28 23:52:05 -04:00
Terry Jan Reedy
95a3f11f95
Issue *18081, #18242 : Change Idle warnings capture in PyShell and run to stop
...
replacing warnings.formatwarnings and to reverse replacement of
warnings.showwarnings when import is complete and when main function exits.
Add test_warning.py. Vinay Sajip provided capture_warnings function.
2013-06-28 23:50:12 -04:00
Terry Jan Reedy
912bad7cd7
Issue #18081 : Back out temporary changeset, 2a9e1eb3719c, to merge new patch.
...
If buildbots run before next push, test_logging will (temporarily) fail.
2013-06-28 23:47:40 -04:00
Ethan Furman
e2563462fc
Added rationale for defaulting to 1 in the functional API.
2013-06-28 19:37:17 -07:00
Terry Jan Reedy
b1c68274ce
Merge with 3.3
2013-06-28 18:59:52 -04:00
Terry Jan Reedy
70d2c711f1
Issue #18315 : Improve fileinput docs by adding 'bufsize' where missing and
...
replacing redundant signature in input() docstring with one-line summary.
Original patch by Terrel Shumway.
2013-06-28 18:59:28 -04:00
Ethan Furman
3fe70b4acc
Added example to enum docs show access to name and value attributes of enum members.
2013-06-28 14:02:34 -07:00
R David Murray
cf873c699f
Merge #14360 : Add news item.
2013-06-28 15:09:10 -04:00
R David Murray
02e4a7b4a3
#14360 : Add news item.
2013-06-28 15:08:03 -04:00
R David Murray
3bca8ac3d0
Improve imap error message in unusual failure mode.
...
We ran into this during the sprits at PyCon and this patch has been
sitting on my disk ever since. This just adds some information to the
error message that we found useful during debugging. There's no good
way to add a test, since the message only got generated via code
that we had modified for debugging purposes.
2013-06-28 14:52:57 -04:00
R David Murray
9a2f139ba0
#18111 : Add What's New entry for max/min default.
2013-06-28 13:31:19 -04:00
Charles-François Natali
37cfb0a920
Issue #17914 : Use os.cpu_count() instead of multiprocessing.cpu_count() where
...
applicable.
2013-06-28 19:25:45 +02:00
R David Murray
c723da361a
Merge #14360 : make encoders.encode_quopri work.
2013-06-27 18:38:36 -04:00
R David Murray
f6069f9f22
#14360 : make encoders.encode_quopri work.
...
There were no tests for the encoders module. encode_base64 worked
because it is the default and so got tested implicitly elsewhere, and
we use encode_7or8bit internally, so that worked, too. I previously
fixed encode_noop, so this fix means that everythign in the encoders
module now works, hopefully correctly. Also added an explicit test
for encode_base64.
2013-06-27 18:37:00 -04:00
Martin v. Löwis
cd83fa8c3e
Issue #13483 : Use VirtualAlloc in obmalloc on Windows.
2013-06-27 12:23:29 +02:00