]> granicus.if.org Git - python/log
python
9 years agomerge 3.5 (#25530)
Benjamin Peterson [Thu, 12 Nov 2015 06:45:36 +0000 (22:45 -0800)]
merge 3.5 (#25530)

9 years agomerge 3.4 (#25530)
Benjamin Peterson [Thu, 12 Nov 2015 06:45:22 +0000 (22:45 -0800)]
merge 3.4 (#25530)

9 years agoalways set OP_NO_SSLv3 by default (closes #25530)
Benjamin Peterson [Thu, 12 Nov 2015 06:38:41 +0000 (22:38 -0800)]
always set OP_NO_SSLv3 by default (closes #25530)

9 years agomerge 3.5 (#25569)
Benjamin Peterson [Thu, 12 Nov 2015 06:14:31 +0000 (22:14 -0800)]
merge 3.5 (#25569)

9 years agomerge 3.5 (#25569)
Benjamin Peterson [Thu, 12 Nov 2015 06:14:08 +0000 (22:14 -0800)]
merge 3.5 (#25569)

9 years agofix memory leak in _get_crl_dp (closes #25569)
Benjamin Peterson [Thu, 12 Nov 2015 06:07:38 +0000 (22:07 -0800)]
fix memory leak in _get_crl_dp (closes #25569)

Patch started by Stéphane Wirtel.

9 years agoMerge with 3.5
Zachary Ware [Thu, 12 Nov 2015 05:34:00 +0000 (23:34 -0600)]
Merge with 3.5

9 years agoMerge with 3.4
Zachary Ware [Thu, 12 Nov 2015 05:33:50 +0000 (23:33 -0600)]
Merge with 3.4

9 years agoRewrite re.VERBOSE section.
Zachary Ware [Thu, 12 Nov 2015 05:32:14 +0000 (23:32 -0600)]
Rewrite re.VERBOSE section.

It now has slightly better rationale and a less awkward wording in the
explanation.

Inspired by a report of a neither/or conflict by 'animalize' on docs@.

9 years agoCloses #25603: Merge with 3.5
Zachary Ware [Thu, 12 Nov 2015 05:00:01 +0000 (23:00 -0600)]
Closes #25603: Merge with 3.5

9 years agoIssue #25603: Add missing parenthesis.
Zachary Ware [Thu, 12 Nov 2015 04:59:44 +0000 (22:59 -0600)]
Issue #25603: Add missing parenthesis.

9 years agoMerge with 3.5
Zachary Ware [Thu, 12 Nov 2015 04:54:28 +0000 (22:54 -0600)]
Merge with 3.5

9 years agoFix awkward grammar in whatsnew.
Zachary Ware [Thu, 12 Nov 2015 04:53:47 +0000 (22:53 -0600)]
Fix awkward grammar in whatsnew.

Reported on docs@ by Keith Briggs.

9 years agoFix typos in whatsnew.
Zachary Ware [Thu, 12 Nov 2015 04:41:43 +0000 (22:41 -0600)]
Fix typos in whatsnew.

Reported on docs@ by Igor Zhun.

9 years agoIssue #25595: Fixed test_deleted_cwd in test_importlib on AIX.
Serhiy Storchaka [Wed, 11 Nov 2015 06:27:13 +0000 (08:27 +0200)]
Issue #25595: Fixed test_deleted_cwd in test_importlib on AIX.

9 years agoIssue #25595: Fixed test_deleted_cwd in test_importlib on AIX.
Serhiy Storchaka [Wed, 11 Nov 2015 06:26:59 +0000 (08:26 +0200)]
Issue #25595: Fixed test_deleted_cwd in test_importlib on AIX.

9 years agoIssue #6598: Avoid clock wrapping around in test_make_msgid_collisions.
Serhiy Storchaka [Tue, 10 Nov 2015 17:52:20 +0000 (19:52 +0200)]
Issue #6598: Avoid clock wrapping around in test_make_msgid_collisions.
Use time.monotonic instead of time.clock.

9 years agoIssue #6598: Avoid clock wrapping around in test_make_msgid_collisions.
Serhiy Storchaka [Tue, 10 Nov 2015 17:51:56 +0000 (19:51 +0200)]
Issue #6598: Avoid clock wrapping around in test_make_msgid_collisions.
Use time.monotonic instead of time.clock.

9 years agoIssue #6598: Avoid clock wrapping around in test_make_msgid_collisions.
Serhiy Storchaka [Tue, 10 Nov 2015 17:50:14 +0000 (19:50 +0200)]
Issue #6598: Avoid clock wrapping around in test_make_msgid_collisions.
Use time.monotonic or time.time instead of time.clock.

9 years agoMerge 3.5.
Stefan Krah [Tue, 10 Nov 2015 17:35:47 +0000 (18:35 +0100)]
Merge 3.5.

9 years agoFix Visual Studio warning.
Stefan Krah [Tue, 10 Nov 2015 17:35:19 +0000 (18:35 +0100)]
Fix Visual Studio warning.

9 years agoMerge 3.5.
Stefan Krah [Tue, 10 Nov 2015 17:18:07 +0000 (18:18 +0100)]
Merge 3.5.

9 years agoIaaue #25598: Fix memory_hex from #9951 for non-contiguous buffers.
Stefan Krah [Tue, 10 Nov 2015 17:17:22 +0000 (18:17 +0100)]
Iaaue #25598: Fix memory_hex from #9951 for non-contiguous buffers.

9 years agoIssue #25263: Fixed the tkinter.test.test_tkinter.test_font.FontTest test
Serhiy Storchaka [Tue, 10 Nov 2015 13:31:52 +0000 (15:31 +0200)]
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.

9 years agoIssue #25263: Fixed the tkinter.test.test_tkinter.test_font.FontTest test
Serhiy Storchaka [Tue, 10 Nov 2015 13:31:38 +0000 (15:31 +0200)]
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.

9 years agoIssue #25263: Fixed the tkinter.test.test_tkinter.test_font.FontTest test
Serhiy Storchaka [Tue, 10 Nov 2015 13:30:35 +0000 (15:30 +0200)]
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.

9 years agoMerge 3.5 (pytime)
Victor Stinner [Tue, 10 Nov 2015 11:11:52 +0000 (12:11 +0100)]
Merge 3.5 (pytime)

9 years agopytime.c: rename pygettimeofday_new() to pygettimeofday()
Victor Stinner [Tue, 10 Nov 2015 11:11:39 +0000 (12:11 +0100)]
pytime.c: rename pygettimeofday_new() to pygettimeofday()

I forgot to rename it in my previous refactoring of pytime.c.

9 years agomerge
Raymond Hettinger [Tue, 10 Nov 2015 08:09:49 +0000 (00:09 -0800)]
merge

9 years agoImprove appearance of example code
Raymond Hettinger [Tue, 10 Nov 2015 08:09:34 +0000 (00:09 -0800)]
Improve appearance of example code

9 years agomerge
Raymond Hettinger [Tue, 10 Nov 2015 08:00:17 +0000 (00:00 -0800)]
merge

9 years agoRemove confusing section from named tuple recipes.
Raymond Hettinger [Tue, 10 Nov 2015 08:00:00 +0000 (00:00 -0800)]
Remove confusing section from named tuple recipes.

9 years agoAdded missed periods at the ends of sentences in Misc/NEWS.
Serhiy Storchaka [Mon, 9 Nov 2015 22:31:28 +0000 (00:31 +0200)]
Added missed periods at the ends of sentences in Misc/NEWS.

9 years agoAdded missed periods at the ends of sentences in Misc/NEWS.
Serhiy Storchaka [Mon, 9 Nov 2015 22:31:10 +0000 (00:31 +0200)]
Added missed periods at the ends of sentences in Misc/NEWS.

9 years agoAdded missed periods at the ends of sentences in Misc/NEWS.
Serhiy Storchaka [Mon, 9 Nov 2015 22:20:43 +0000 (00:20 +0200)]
Added missed periods at the ends of sentences in Misc/NEWS.

9 years agoFixed markup in Misc/NEWS.
Serhiy Storchaka [Mon, 9 Nov 2015 21:44:31 +0000 (23:44 +0200)]
Fixed markup in Misc/NEWS.

9 years agoFixed markup in Misc/NEWS.
Serhiy Storchaka [Mon, 9 Nov 2015 21:43:56 +0000 (23:43 +0200)]
Fixed markup in Misc/NEWS.

9 years agoFixed markup in Misc/NEWS.
Serhiy Storchaka [Mon, 9 Nov 2015 21:41:39 +0000 (23:41 +0200)]
Fixed markup in Misc/NEWS.

9 years agoIssue #25584: Added "escape" to the __all__ list in the glob module.
Serhiy Storchaka [Mon, 9 Nov 2015 21:18:32 +0000 (23:18 +0200)]
Issue #25584: Added "escape" to the __all__ list in the glob module.
From patch by Xavier de Gaye.

9 years agoIssue #25584: Added "escape" to the __all__ list in the glob module.
Serhiy Storchaka [Mon, 9 Nov 2015 21:18:19 +0000 (23:18 +0200)]
Issue #25584: Added "escape" to the __all__ list in the glob module.
From patch by Xavier de Gaye.

9 years agoIssue #25584: Fixed recursive glob() with patterns starting with '**'.
Serhiy Storchaka [Mon, 9 Nov 2015 21:12:28 +0000 (23:12 +0200)]
Issue #25584: Fixed recursive glob() with patterns starting with '**'.

9 years agoIssue #25584: Fixed recursive glob() with patterns starting with '**'.
Serhiy Storchaka [Mon, 9 Nov 2015 21:12:07 +0000 (23:12 +0200)]
Issue #25584: Fixed recursive glob() with patterns starting with '**'.

9 years agoNull merge 3.5
Victor Stinner [Mon, 9 Nov 2015 20:55:13 +0000 (21:55 +0100)]
Null merge 3.5

9 years agoIssue #25582: Fixed 100 MB memory leak in test_ctypes.
Serhiy Storchaka [Mon, 9 Nov 2015 20:33:39 +0000 (22:33 +0200)]
Issue #25582: Fixed 100 MB memory leak in test_ctypes.

9 years agoIssue #25582: Fixed 100 MB memory leak in test_ctypes.
Serhiy Storchaka [Mon, 9 Nov 2015 20:32:23 +0000 (22:32 +0200)]
Issue #25582: Fixed 100 MB memory leak in test_ctypes.

9 years agoIssue #25582: Fixed 100 MB memory leak in test_ctypes.
Serhiy Storchaka [Mon, 9 Nov 2015 20:31:10 +0000 (22:31 +0200)]
Issue #25582: Fixed 100 MB memory leak in test_ctypes.

9 years agomerge
Raymond Hettinger [Mon, 9 Nov 2015 16:26:28 +0000 (08:26 -0800)]
merge

9 years agoImprove namedtuple doc string examples
Raymond Hettinger [Mon, 9 Nov 2015 16:24:53 +0000 (08:24 -0800)]
Improve namedtuple doc string examples

9 years agoIssue #25263: Trying to fix test_use on Windows.
Serhiy Storchaka [Mon, 9 Nov 2015 12:43:31 +0000 (14:43 +0200)]
Issue #25263: Trying to fix test_use on Windows.

Avoid possible weird behavior of WideInt convertion.
"winfo id" always returns string hexadecimal representation.

9 years agoFixes installer not allowing launcher to be selected.
Steve Dower [Mon, 9 Nov 2015 12:31:20 +0000 (07:31 -0500)]
Fixes installer not allowing launcher to be selected.

9 years agoFixes installer not allowing launcher to be selected.
Steve Dower [Mon, 9 Nov 2015 12:31:05 +0000 (07:31 -0500)]
Fixes installer not allowing launcher to be selected.

9 years agoIssue #24802: Merge ValueError test case from 3.5
Martin Panter [Sun, 8 Nov 2015 11:09:37 +0000 (11:09 +0000)]
Issue #24802: Merge ValueError test case from 3.5

9 years agoIssue #24802: Update test case for ValueError in 3.5
Martin Panter [Sun, 8 Nov 2015 11:09:13 +0000 (11:09 +0000)]
Issue #24802: Update test case for ValueError in 3.5

9 years agoMerge: #25446: Fix regression in smtplib's AUTH LOGIN support.
R David Murray [Sun, 8 Nov 2015 06:05:11 +0000 (01:05 -0500)]
Merge: #25446: Fix regression in smtplib's AUTH LOGIN support.

9 years ago#25446: Fix regression in smtplib's AUTH LOGIN support.
R David Murray [Sun, 8 Nov 2015 06:03:52 +0000 (01:03 -0500)]
#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.

9 years agoNull merge from 3.4
Steve Dower [Sat, 7 Nov 2015 18:08:53 +0000 (10:08 -0800)]
Null merge from 3.4

9 years agoNull merge from 3.4
Steve Dower [Sat, 7 Nov 2015 18:08:04 +0000 (10:08 -0800)]
Null merge from 3.4

9 years agoIssue #24306: Sets component ID for launcher to match 3.5 and later to avoid downgrading.
Steve Dower [Sat, 7 Nov 2015 18:07:04 +0000 (10:07 -0800)]
Issue #24306: Sets component ID for launcher to match 3.5 and later to avoid downgrading.

9 years agoIssue #25263: Trying to fix test_use on Windows.
Serhiy Storchaka [Sat, 7 Nov 2015 16:06:24 +0000 (18:06 +0200)]
Issue #25263: Trying to fix test_use on Windows.

9 years agoIssue #22643: Skip test_case_operation_overflow on computers with low memory.
Serhiy Storchaka [Sat, 7 Nov 2015 14:55:39 +0000 (16:55 +0200)]
Issue #22643: Skip test_case_operation_overflow on computers with low memory.

9 years agoIssue #22643: Skip test_case_operation_overflow on computers with low memory.
Serhiy Storchaka [Sat, 7 Nov 2015 14:55:16 +0000 (16:55 +0200)]
Issue #22643: Skip test_case_operation_overflow on computers with low memory.

9 years agoIssue #22643: Skip test_case_operation_overflow on computers with low memory.
Serhiy Storchaka [Sat, 7 Nov 2015 14:54:48 +0000 (16:54 +0200)]
Issue #22643: Skip test_case_operation_overflow on computers with low memory.

9 years agoIssue #25558: Use compile-time asserts.
Serhiy Storchaka [Sat, 7 Nov 2015 13:42:38 +0000 (15:42 +0200)]
Issue #25558: Use compile-time asserts.

9 years agoIssue #892902: Added new tests for pickling recursive collections.
Serhiy Storchaka [Sat, 7 Nov 2015 09:17:15 +0000 (11:17 +0200)]
Issue #892902: Added new tests for pickling recursive collections.

9 years agoIssue #892902: Added new tests for pickling recursive collections.
Serhiy Storchaka [Sat, 7 Nov 2015 09:17:02 +0000 (11:17 +0200)]
Issue #892902: Added new tests for pickling recursive collections.

9 years agoIssue #892902: Added new tests for pickling recursive collections.
Serhiy Storchaka [Sat, 7 Nov 2015 09:16:10 +0000 (11:16 +0200)]
Issue #892902: Added new tests for pickling recursive collections.

9 years agoIssue #24802: Merge null termination fixes from 3.5
Martin Panter [Sat, 7 Nov 2015 03:15:32 +0000 (03:15 +0000)]
Issue #24802: Merge null termination fixes from 3.5

9 years agoIssue #24802: Merge null termination fixes from 3.4 into 3.5
Martin Panter [Sat, 7 Nov 2015 02:56:11 +0000 (02:56 +0000)]
Issue #24802: Merge null termination fixes from 3.4 into 3.5

9 years agoIssue #24802: Copy bytes-like objects to null-terminated buffers if necessary
Martin Panter [Sat, 7 Nov 2015 02:32:21 +0000 (02:32 +0000)]
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.

9 years agoIssue #25064: Merge tempfile doc from 3.5
Martin Panter [Sat, 7 Nov 2015 00:56:56 +0000 (00:56 +0000)]
Issue #25064: Merge tempfile doc from 3.5

9 years agoIssue #25064: Adjust documentation according to new mkstemp signature
Martin Panter [Sat, 7 Nov 2015 00:32:50 +0000 (00:32 +0000)]
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.

9 years agoIssue #25555: Fix parser and AST: fill lineno and col_offset of "arg" node when
Victor Stinner [Fri, 6 Nov 2015 16:01:48 +0000 (17:01 +0100)]
Issue #25555: Fix parser and AST: fill lineno and col_offset of "arg" node when
compiling AST from Python objects.

9 years agoIssue #25555: Fix parser and AST: fill lineno and col_offset of "arg" node when
Victor Stinner [Fri, 6 Nov 2015 16:01:48 +0000 (17:01 +0100)]
Issue #25555: Fix parser and AST: fill lineno and col_offset of "arg" node when
compiling AST from Python objects.

9 years agoIssue #25410: Made testing that od_fast_nodes and dk_entries are in sync more
Serhiy Storchaka [Fri, 6 Nov 2015 10:00:43 +0000 (12:00 +0200)]
Issue #25410: Made testing that od_fast_nodes and dk_entries are in sync more
reliable.

9 years agoIssue #25410: Made testing that od_fast_nodes and dk_entries are in sync more
Serhiy Storchaka [Fri, 6 Nov 2015 10:00:03 +0000 (12:00 +0200)]
Issue #25410: Made testing that od_fast_nodes and dk_entries are in sync more
reliable.

9 years agoFixed merging error in 3ebeeed1eb28.
Serhiy Storchaka [Fri, 6 Nov 2015 09:21:02 +0000 (11:21 +0200)]
Fixed merging error in 3ebeeed1eb28.
Thanks Марк Коренберг.

9 years agoFixed merging error in 3ebeeed1eb28.
Serhiy Storchaka [Fri, 6 Nov 2015 09:19:42 +0000 (11:19 +0200)]
Fixed merging error in 3ebeeed1eb28.
Thanks Марк Коренберг.

9 years agoIssue #24726: Revert setting the value on the dict if
Serhiy Storchaka [Fri, 6 Nov 2015 09:07:31 +0000 (11:07 +0200)]
Issue #24726: Revert setting the value on the dict if
_odict_add_new_node() fails.

9 years agoIssue #24726: Revert setting the value on the dict if
Serhiy Storchaka [Fri, 6 Nov 2015 09:07:11 +0000 (11:07 +0200)]
Issue #24726: Revert setting the value on the dict if
_odict_add_new_node() fails.

9 years agoIssue #25558: Refactoring OrderedDict iteration.
Serhiy Storchaka [Fri, 6 Nov 2015 08:40:05 +0000 (10:40 +0200)]
Issue #25558: Refactoring OrderedDict iteration.

9 years agoIssue #25558: Refactoring OrderedDict iteration.
Serhiy Storchaka [Fri, 6 Nov 2015 08:39:51 +0000 (10:39 +0200)]
Issue #25558: Refactoring OrderedDict iteration.

9 years agoIssue #18010: Merge pydoc web search fix from 3.5
Martin Panter [Fri, 6 Nov 2015 01:08:34 +0000 (01:08 +0000)]
Issue #18010: Merge pydoc web search fix from 3.5

9 years agoIssue #18010: Merge pydoc web search fix from 3.4 into 3.5
Martin Panter [Fri, 6 Nov 2015 00:51:38 +0000 (00:51 +0000)]
Issue #18010: Merge pydoc web search fix from 3.4 into 3.5

9 years agoIssue #18010: Fix pydoc web server search to handle package exceptions
Martin Panter [Fri, 6 Nov 2015 00:27:14 +0000 (00:27 +0000)]
Issue #18010: Fix pydoc web server search to handle package exceptions

Implementation by Antoine Pitrou.

9 years agoMerge 3.5
Yury Selivanov [Thu, 5 Nov 2015 19:30:41 +0000 (14:30 -0500)]
Merge 3.5

9 years agoMerge 3.4
Yury Selivanov [Thu, 5 Nov 2015 19:29:19 +0000 (14:29 -0500)]
Merge 3.4

9 years agoasyncio: Optimize asyncio.sleep(0)
Yury Selivanov [Thu, 5 Nov 2015 19:29:04 +0000 (14:29 -0500)]
asyncio: Optimize asyncio.sleep(0)

9 years agoIssue #25554: Got rid of circular references in regular expression parsing.
Serhiy Storchaka [Thu, 5 Nov 2015 15:51:15 +0000 (17:51 +0200)]
Issue #25554: Got rid of circular references in regular expression parsing.

9 years agoIssue #25554: Got rid of circular references in regular expression parsing.
Serhiy Storchaka [Thu, 5 Nov 2015 15:49:26 +0000 (17:49 +0200)]
Issue #25554: Got rid of circular references in regular expression parsing.

9 years agoReuse Py_STRINGIFY() macro in sre_lib.h and dynload_win.c.
Serhiy Storchaka [Thu, 5 Nov 2015 15:43:42 +0000 (17:43 +0200)]
Reuse Py_STRINGIFY() macro in sre_lib.h and dynload_win.c.

9 years agoIssue #25556: Add assertions to PyObject_GetItem() to ensure that an exception
Victor Stinner [Thu, 5 Nov 2015 12:56:58 +0000 (13:56 +0100)]
Issue #25556: Add assertions to PyObject_GetItem() to ensure that an exception
is raised when it returns NULL.

Simplify also ceval.c: rely on the fact that PyObject_GetItem() raised an
exception when it returns NULL.

9 years agoMerge 3.5
Victor Stinner [Thu, 5 Nov 2015 12:55:43 +0000 (13:55 +0100)]
Merge 3.5

9 years agoIssue #25556: Fix LOAD_GLOBAL bytecode when globals type is not dict and the
Victor Stinner [Thu, 5 Nov 2015 12:55:20 +0000 (13:55 +0100)]
Issue #25556: Fix LOAD_GLOBAL bytecode when globals type is not dict and the
requested name doesn't exist in globals: clear the KeyError exception before
calling PyObject_GetItem(). Fail also if the raised exception is not a
KeyError.

9 years agosysmodule.c: reuse Py_STRINGIFY() macro
Victor Stinner [Thu, 5 Nov 2015 10:21:38 +0000 (11:21 +0100)]
sysmodule.c: reuse Py_STRINGIFY() macro

9 years agoIssue #24726: Fixed issue number for previous changeset 76e848554b5d.
Serhiy Storchaka [Wed, 4 Nov 2015 20:38:40 +0000 (22:38 +0200)]
Issue #24726: Fixed issue number for previous changeset 76e848554b5d.

9 years agoIssue #24726: Fixed issue number for previous changeset 59c7615ea921.
Serhiy Storchaka [Wed, 4 Nov 2015 20:37:46 +0000 (22:37 +0200)]
Issue #24726: Fixed issue number for previous changeset 59c7615ea921.

9 years agoIssue #25449: Fixed a crash and leaking NULL in repr() of OrderedDict that
Serhiy Storchaka [Wed, 4 Nov 2015 20:33:33 +0000 (22:33 +0200)]
Issue #25449: Fixed a crash and leaking NULL in repr() of OrderedDict that
was mutated by direct calls of dict methods.

9 years agoIssue #25449: Fixed a crash and leaking NULL in repr() of OrderedDict that
Serhiy Storchaka [Wed, 4 Nov 2015 20:33:07 +0000 (22:33 +0200)]
Issue #25449: Fixed a crash and leaking NULL in repr() of OrderedDict that
was mutated by direct calls of dict methods.

9 years agoIssue #25449: Iterating OrderedDict with keys with unstable hash now raises
Serhiy Storchaka [Wed, 4 Nov 2015 20:08:52 +0000 (22:08 +0200)]
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.

9 years agoIssue #25449: Iterating OrderedDict with keys with unstable hash now raises
Serhiy Storchaka [Wed, 4 Nov 2015 20:05:38 +0000 (22:05 +0200)]
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.