Serhiy Storchaka
e7070f09bc
Issue #14373 : C implementation of functools.lru_cache() now can be used with
methods.
11 years ago
Steve Dower
93cfeb93ac
Issue #8232 : webbrowser support incomplete on Windows. Patch by Brandon Milam
11 years ago
Nick Coghlan
53f95024d7
Issue #24373 : Eliminate PEP 489 test refleaks
_testmultiphase and xxlimited now use tp_traverse and
tp_finalize to avoid reference leaks encountered when
combining tp_dealloc with PyType_FromSpec (see
issue #16690 for details)
11 years ago
Eric Snow
4fabf02633
Issue #24369 : Defend against key-changes during iteration.
11 years ago
Eric Snow
db4061cb9d
Issue #24377 : Fix a ref leak in OrderedDict.__repr__.
11 years ago
Eric Snow
4c72918a59
Issue #24362 : Simplify the C OrderedDict fast nodes resize logic.
11 years ago
Eric Snow
ac02ef373f
Issue #24368 : Support keyword arguments in OrderedDict methods.
11 years ago
Eric Snow
b952ab43f2
Issue #24359 : Check for changed OrderedDict size during iteration.
11 years ago
Eric Snow
d171975609
Issue #24348 : Drop superfluous increfs/decrefs.
11 years ago
Eric Snow
a762af74b2
Issue #24347 : Set KeyError if PyDict_GetItemWithError returns NULL.
11 years ago
Benjamin Peterson
0969a9f8ab
add Py_tp_finalize slot ( closes #24345 )
Patch from Petr Viktorin.
11 years ago
Serhiy Storchaka
55a57b0766
Moved Misc/NEWS entry (issue #24270 ) to correct section.
11 years ago
Larry Hastings
61eb146b22
Post-release updates for Python 3.5.0b2.
11 years ago
Tal Einat
d5519ed7f4
Issue #19543 : Implementation of isclose as per PEP 485
For details, see:
PEP 0485 -- A Function for testing approximate equality
Functions added: math.isclose() and cmath.isclose().
Original code by Chris Barker. Patch by Tal Einat.
11 years ago
Serhiy Storchaka
d4ea03c785
Issue #24284 : The startswith and endswith methods of the str class no longer
return True when finding the empty string and the indexes are completely out
of range.
11 years ago
Larry Hastings
d200e0c072
Version bump for Python 3.5.0b2.
11 years ago
Yury Selivanov
bf304fcb32
Issue #23934 : Fix inspect.signature to fail correctly for builtin types.
Initial patch by James Powell.
11 years ago
Serhiy Storchaka
f28fa66351
Issue #5633 : Fixed timeit when the statement is a string and the setup is not.
11 years ago
Yury Selivanov
7aa5341164
Reverting my previous commit.
Something went horribly wrong when I was doing `hg rebase`.
11 years ago
Serhiy Storchaka
fa494fd883
Issue #24115 : Update uses of PyObject_IsTrue(), PyObject_Not(),
PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains()
to check for and handle errors correctly.
11 years ago
Eric Snow
96c6af9b20
Issue #16991 : Add a C implementation of collections.OrderedDict.
11 years ago
Eric Snow
47db71756d
Issue #16991 : Add a C implementation of collections.OrderedDict.
11 years ago
Benjamin Peterson
e20056c8f7
fix importing one char extension modules ( closes #24328 )
11 years ago
Serhiy Storchaka
50451eb912
Issue #24326 : Fixed audioop.ratecv() with non-default weightB argument.
Original patch by David Moore.
11 years ago
Benjamin Peterson
ee85339cc6
in dict displays, evaluate the key before the value ( closes #11205 )
Patch partially by Steve Dougherty.
11 years ago
Yury Selivanov
46c759d76d
Issue 24298: Fix signature() to properly unwrap wrappers around bound methods
11 years ago
Raymond Hettinger
8651a50475
Issue #23359 : Specialize set_lookkey intoa lookup function and an insert function.
11 years ago
Nick Coghlan
55871f04bf
Issue #24285 : fix importing extensions from packages
11 years ago
Serhiy Storchaka
ca208a03f9
Moved Misc/NEWS entries to correct section and fix formatting.
11 years ago
Victor Stinner
387729e183
Issue #23840 : tokenize.open() now closes the temporary binary file on error to
fix a resource warning.
11 years ago
Larry Hastings
aea8fa357b
Added a section for news items for 3.6.
11 years ago
Serhiy Storchaka
410d77f230
Remove UTF-8 BOMs.
11 years ago
Larry Hastings
f46aa8e2d1
Post-release fixes for 3.5.0b1.
11 years ago
Serhiy Storchaka
46c5611948
Backed out changeset: b0a0b9b59012
11 years ago
Serhiy Storchaka
a7a0ad6f73
Issue #24276 : Fixed optimization of property descriptor getter.
11 years ago
Larry Hastings
8252cc9832
Backed out changeset 57776eee74f2
11 years ago
Terry Jan Reedy
4cbb9e647b
Add NEWS item for Idle.
11 years ago
Serhiy Storchaka
1c858c352b
Issue #14373 : Added C implementation of functools.lru_cache(). Based on
patches by Matt Joiner and Alexey Kachayev.
11 years ago
Benjamin Peterson
9bd476ea57
allow square brackets in cookie values ( closes #22931 )
11 years ago
Nick Coghlan
d5cacbb1d9
PEP 489: Multi-phase extension module initialization
Known limitations of the current implementation:
- documentation changes are incomplete
- there's a reference leak I haven't tracked down yet
The leak is most visible by running:
./python -m test -R3:3 test_importlib
However, you can also see it by running:
./python -X showrefcount
Importing the array or _testmultiphase modules, and
then deleting them from both sys.modules and the local
namespace shows significant increases in the total
number of active references each cycle. By contrast,
with _testcapi (which continues to use single-phase
initialisation) the global refcounts stabilise after
a couple of cycles.
11 years ago
Raymond Hettinger
ec219ba1c0
Issue #23086 : Add start and stop arguments to the Sequence.index() mixin method.
11 years ago
Raymond Hettinger
573b44c18f
Issue 22189: Add missing methods to UserString
11 years ago
Gregory P. Smith
ad577b938b
Issue 24230: The tempfile module now accepts bytes for prefix, suffix and dir
parameters and returns bytes in such situations (matching the os module APIs).
11 years ago
Steve Dower
4a7fe7e397
Issue #23955 : Add pyvenv.cfg option to suppress registry/environment lookup for generating sys.path.
Also cleans up and secures getpathp.c
11 years ago
Steve Dower
d9ef74e3dd
Issue 24244: Prevents termination when an invalid format string is encountered on Windows.
11 years ago
Guido van Rossum
46dbb7d103
Preliminary typing.py, anticipating provisional acceptance of PEP 484.
There area bunch of TODOs here, but the biggest (not mentioned in the
file) is that I'm going to take out __instancecheck__ and
__subclasscheck__. However my personal schedule is such that I
probably won't have time for these before Larry tags beta 1. But I
will try -- this commit is mostly to make sure that typing.py doesn't
completely miss the train.
PS. I'm tracking issues at https://github.com/ambv/typehinting/issues .
11 years ago
Zachary Ware
7dc9dea778
Issue #20035 : Reimplement tkinter._fix module as a C function.
The new private C function makes no permanent changes to the environment
and is #ifdef'd out on non-Windows platforms.
11 years ago
Serhiy Storchaka
08d230a540
Issue #24257 : Fixed incorrect uses of PyObject_IsInstance().
Fixed segmentation fault in sqlite3.Row constructor with faked cursor type.
Fixed system error in the comparison of faked types.SimpleNamespace.
11 years ago
Yury Selivanov
d854aacaa9
Fix a misplaced NEWS entry.
11 years ago
Yury Selivanov
bf341fb5f6
Issue 23898: Fix inspect.classify_class_attrs() to work with __eq__
11 years ago