Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython2
/
8b4d5148bbf94faea242101922a05f0c2d684715
/
Objects
/
typeobject.c
bf2bd8f
bpo-25750: fix refcounts in type_getattro() (GH-6118) (GH-9091)
by Victor Stinner
· 6 years ago
ea21206
closes bpo-34477: Objects/typeobject.c: Add missing NULL check to type_init() (GH-8876)
by Miss Islington (bot)
· 6 years ago
3dd1ccb
bpo-29902: Emit a Py3k deprecation warning when pickling or copying (#2823)
by Serhiy Storchaka
· 7 years ago
e9f9b04
[2.7] bpo-25794: Fix `type.__setattr__()` for non-interned or unicode attribute names. (GH-1652) (#1675)
by Serhiy Storchaka
· 7 years ago
4403d50
revert a37cc3d926ec (#5322)
by Benjamin Peterson
· 8 years ago
d1aad3f
Backed out changeset ea904d4b3634
by Benjamin Peterson
· 8 years ago
f8f2138
fix refleak in reduce_2 error case
by Benjamin Peterson
· 8 years ago
cffc0f4
declarations to the top of the block
by Benjamin Peterson
· 8 years ago
daf82f7
Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code.
by Serhiy Storchaka
· 8 years ago
61dd7ff
Issue #26906: Resolving special methods of uninitialized type now causes
by Serhiy Storchaka
· 8 years ago
0ea51b1
Issue #18287: PyType_Ready() now checks that tp_name is not NULL.
by Serhiy Storchaka
· 8 years ago
42e9d94
Fix a refleak in call_maybe()
by Victor Stinner
· 8 years ago
c9921d3
Fix a refleak in call_method()
by Victor Stinner
· 8 years ago
3d36f0f
Spelling and grammar fixes in code comments and documentation
by Martin Panter
· 8 years ago
ee69451
fix refleaks in PyDict_SetItem error cases (closes #27248)
by Benjamin Peterson
· 8 years ago
646b528
Issue #22463: Backport compiler warning fixes and workarounds
by Martin Panter
· 8 years ago
1a9ee94
Issue #27225: Fixed a reference leak in type_new when setting __new__ fails.
by Serhiy Storchaka
· 8 years ago
6ee36a5
Backed out changeset e7062dd9085e (#25731)
by Benjamin Peterson
· 8 years ago
9ec6464
Issue #26718: super.__init__ no longer leaks memory if called multiple times.
by Serhiy Storchaka
· 8 years ago
bc62af1
Issue #22570: Renamed Py_SETREF to Py_XSETREF.
by Serhiy Storchaka
· 8 years ago
b59b04d
fix hash member name (closes #22847)
by Benjamin Peterson
· 8 years ago
4a0a955
fix debug assertion
by Benjamin Peterson
· 8 years ago
225e7c0
Issue #22847: Improve method cache efficiency.
by Antoine Pitrou
· 10 years ago
a4acf1f
set tp_new from the class in the hierarchy that actually owns the descriptor (closes #25731)
by Benjamin Peterson
· 8 years ago
607965e
Comment out two tests that won't pass now after reverting the typeobject.c
by Barry Warsaw
· 8 years ago
f65395c
Issue #22995: [UPDATE] Comment out the one of the pickleability tests in
by Barry Warsaw
· 8 years ago
28f35f2
Issue #25961: Fixed compilation error and a leak in type constructor.
by Serhiy Storchaka
· 9 years ago
f9347e3
Issue #25961: Disallowed null characters in the type name.
by Serhiy Storchaka
· 9 years ago
b8e54dd
Issue #22995: Instances of extension types with a state that aren't
by Serhiy Storchaka
· 9 years ago
5951f23
Issue #20440: Massive replacing unsafe attribute setting code with special
by Serhiy Storchaka
· 9 years ago
ee1b24c
Issue #24097: Fixed crash in object.__reduce__() if slot name is freed inside
by Serhiy Storchaka
· 9 years ago
fedcf94
Issue #22995: Default implementation of __reduce__ and __reduce_ex__ now
by Serhiy Storchaka
· 9 years ago
77d12ec
prevent unacceptable bases from becoming bases through multiple inheritance (#24806)
by Benjamin Peterson
· 9 years ago
f0aa88f
Fixed indentation of Python examples in C comments.
by Serhiy Storchaka
· 9 years ago
ce16424
Issue #22079: Py3k warning now is issued in PyType_Ready() instead of
by Serhiy Storchaka
· 9 years ago
323ab6d
Issue #23629: Fix the default __sizeof__ implementation for variable-sized objects.
by Antoine Pitrou
· 9 years ago
4c54387
Issue #22079: PyType_Ready() now checks that statically allocated type has
by Serhiy Storchaka
· 9 years ago
e2defc4
remove tautological condition (closes #22954)
by Benjamin Peterson
· 10 years ago
409062c
Closes #22772: fix __ifloordiv__ and __itruediv__ docstring.
by Georg Brandl
· 10 years ago
f794b14
Issue #16447: Fix potential segfault when setting __name__ on a class.
by Mark Dickinson
· 11 years ago
74001fa
list slotdefs in offset order rather than sorting them (closes #17610)
by Benjamin Peterson
· 11 years ago
5aff27a
#7963: fix error message when 'object' called with arguments.
by R David Murray
· 11 years ago
ac7b49f
Improve tooltips by listing the most common argument pattern first.
by Raymond Hettinger
· 11 years ago
47770ed
Fixed memory leak in error branch of object_repr which may leak a reference to mod when type_name returns NULL. CID 715371
by Christian Heimes
· 12 years ago
4e80eea
Fixed possible reference leak to mod when type_name() returns NULL
by Christian Heimes
· 12 years ago
58098a7
Issue #13992: The trashcan mechanism is now thread-safe. This eliminates
by Antoine Pitrou
· 12 years ago
c5bef75
Issue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly.
by Antoine Pitrou
· 12 years ago
f1ae5cf
fix possible refleak (closes #14752)
by Benjamin Peterson
· 12 years ago
d157a4c
don't use a slot wrapper from a different special method (closes #14658)
by Benjamin Peterson
· 12 years ago
6e7832b
check to make sure the attribute is a string (#14334)
by Benjamin Peterson
· 12 years ago
a8d4585
allow cycles throught the __dict__ slot to be cleared (closes #1469629)
by Benjamin Peterson
· 12 years ago
5b4b2da
Fix the fix for issue #12149: it was incorrect, although it had the side
by Antoine Pitrou
· 13 years ago
d784185
Issue #13161: fix doc strings of __i*__ operators
by Eli Bendersky
· 13 years ago
de66ecc
fix possible refleaks
by Benjamin Peterson
· 13 years ago
304f0f9
Issue #11603: Fix a crash when __str__ is rebound as __repr__.
by Antoine Pitrou
· 13 years ago
1616645
Issue #12149: Update the method cache after a type's dictionnary gets
by Antoine Pitrou
· 13 years ago
80a09c7
use '->' to indicate return values
by Benjamin Peterson
· 13 years ago
c2077b0
#11565: Fix several typos. Patch by Piotr Kasprzyk.
by Ezio Melotti
· 13 years ago
fba3347
Merged revisions 88069 via svnmerge from
by Benjamin Peterson
· 13 years ago
cd85001
Merged revisions 88066 via svnmerge from
by Benjamin Peterson
· 13 years ago
cf94b8b
Merged revisions 88063 via svnmerge from
by Benjamin Peterson
· 13 years ago
f4676b0
Merged revisions 87960 via svnmerge from
by Benjamin Peterson
· 13 years ago
9b911ca
Merged revisions 87952-87954 via svnmerge from
by Benjamin Peterson
· 13 years ago
35c6be0
Merged revisions 85193 via svnmerge from
by Benjamin Peterson
· 14 years ago
a5d5cc4
Merged revisions 85154 via svnmerge from
by Benjamin Peterson
· 14 years ago
6f3d6a9
Merged revisions 84320 via svnmerge from
by Benjamin Peterson
· 14 years ago
b8de9fa
Merged revisions 84106 via svnmerge from
by Alexander Belopolsky
· 14 years ago
77acee9
Fix comment typo.
by Mark Dickinson
· 14 years ago
e4b83e0
Issue #8627: Fix "XXX undetected error" from unchecked PyErr_WarnPy3k return.
by Mark Dickinson
· 14 years ago
23f0d6b
Issue #8627: remove out-of-date warning about overriding __cmp__
by Mark Dickinson
· 14 years ago
67783b1
fix ref counting
by Benjamin Peterson
· 14 years ago
039c585
implement object.__format__ with PyObject_Format
by Benjamin Peterson
· 14 years ago
c83ea13
Untabify C files. Will watch buildbots.
by Antoine Pitrou
· 14 years ago
8a478ce
Remove an unneeded assignment.
by Brett Cannon
· 14 years ago
d44b2fc
Issue 7994: Make object.__format__ with a non-empty format string a PendingDecprecationWarning. Still need to remove uses of this from various tests.
by Eric Smith
· 14 years ago
0c0dcaf
remove type_compare, since type_richcompare does the same trick
by Benjamin Peterson
· 15 years ago
4895af4
fix the ignoring of __cmp__ method on metaclasses #7491
by Benjamin Peterson
· 15 years ago
fb6fb06
properly lookup __instancecheck__ and __subclasscheck__
by Benjamin Peterson
· 15 years ago
0a32f9c
can't handle classic classes here
by Benjamin Peterson
· 15 years ago
399e4c4
add _PyObject_LookupSpecial to handle fetching special method lookup
by Benjamin Peterson
· 15 years ago
5083dc5
fix a segfault when setting __class__ in __del__ #5283
by Benjamin Peterson
· 15 years ago
789be0c
Issue #2396: backport the memoryview object.
by Antoine Pitrou
· 15 years ago
ed4cefb
Fix a small nit in the error message if bool() falls back on __len__ and it returns the wrong type: it would tell the user that __nonzero__ should return bool or int.
by Georg Brandl
· 15 years ago
78821dd
fix building the core with --disable-unicode
by Benjamin Peterson
· 15 years ago
bd55c52
#4930: Slightly cleaner (and faster) code in type creation:
by Amaury Forgeot d'Arc
· 15 years ago
a40d573
#3720: Interpreter crashes when an evil iterator removes its own next function.
by Amaury Forgeot d'Arc
· 15 years ago
273c233
when __getattr__ is a descriptor, call it correctly; fixes #4230
by Benjamin Peterson
· 16 years ago
0668c62
Issue #2534: speed up isinstance() and issubclass() by 50-70%, so as to
by Antoine Pitrou
· 16 years ago
712ee92
generate py3k warnings on __getslice__, __delslice__, and __setslice__
by Benjamin Peterson
· 16 years ago
48361f5
Issue 2235: Py3k warnings are now emitted for classes that will no longer inherit a__hash__ implementation from a parent class in Python 3.x. The standard library and test suite have been updated to not emit these warnings.
by Nick Coghlan
· 16 years ago
53663a6
Issue 2235: __hash__ is once again inherited by default, but inheritance can be blocked explicitly so that collections.Hashable remains meaningful
by Nick Coghlan
· 16 years ago
9c437af
Revert 64424, 64438, and 64439.
by Raymond Hettinger
· 16 years ago
e3ae655
Make bin() implementation parallel oct() and hex() so that int/long subclasses can override or so that other classes can support.
by Raymond Hettinger
· 16 years ago
dd96db6
This reverts r63675 based on the discussion in this thread:
by Gregory P. Smith
· 16 years ago
7a6de8b
Some style nits. Also clarify in the docstrings what __sizeof__ does.
by Georg Brandl
· 16 years ago
51df064
Issue #2898: Added sys.getsizeof() to retrieve size of objects in bytes.
by Robert Schuppenies
· 16 years ago
f18a707
Revert #2990 patch; it's not necessary as Armin showed.
by Georg Brandl
· 16 years ago
5ec330c
#2990: prevent inconsistent state while updating method cache.
by Georg Brandl
· 16 years ago
74a1dea
#2989: add PyType_Modified().
by Georg Brandl
· 16 years ago
593daf5
Renamed PyString to PyBytes
by Christian Heimes
· 16 years ago
Next »