Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
fd03a099d8b5cc45dc5a3946b6bbb8cedcdb38fc
/
Objects
/
typeobject.c
da064d0
Silence compiler warnings on Solaris 10 via explicit (void *) casts.
by Trent Nelson
· 12 years ago
ab02db2
Silence compiler warnings on Solaris 10 via explicit (void *) casts.
by Trent Nelson
· 12 years ago
76c0829
Fixed memory leak in error branch of object_repr which may leak a reference to mod when type_qualname returns NULL. CID 715371
by Christian Heimes
· 12 years ago
e81dc29
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
4556579
Fixed possible reference leak to mod when type_name() returns NULL
by Christian Heimes
· 12 years ago
a0e7e41
Fixed possible reference leak to mod when type_name() returns NULL
by Christian Heimes
· 12 years ago
5b4faae
Issue #13992: The trashcan mechanism is now thread-safe. This eliminates
by Antoine Pitrou
· 12 years ago
56cd62c
Issue #13992: The trashcan mechanism is now thread-safe. This eliminates
by Antoine Pitrou
· 12 years ago
6a42bd6
Make super() internal errors RuntimeError instead of SystemError (closes #15839)
by Benjamin Peterson
· 12 years ago
721738f
Issue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly.
by Antoine Pitrou
· 12 years ago
6f430e4
Issue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly.
by Antoine Pitrou
· 12 years ago
66a3a7e
Try to fix crash on x86 OpenIndiana buildbot.
by Antoine Pitrou
· 12 years ago
1351ca6
Replace assert() with a more informative fatal error.
by Antoine Pitrou
· 12 years ago
bb78f57
Use struct member (ht_type) instead of casting pointers.
by Antoine Pitrou
· 12 years ago
9c56409
Issue #15146: Add PyType_FromSpecWithBases. Patch by Robin Schreiber.
by Martin v. Löwis
· 12 years ago
99cc629
Issue #15142: Fix reference leak when deallocating instances of types created using PyType_FromSpec().
by Antoine Pitrou
· 12 years ago
a4db02c
Issue #15142: Fix reference leak when deallocating instances of types created using PyType_FromSpec().
by Antoine Pitrou
· 12 years ago
0b43bcf
Close #14857: fix regression in references to PEP 3135 implicit __class__ closure variable. Reopens issue #12370, but also updates unittest.mock to workaround that issue
by Nick Coghlan
· 12 years ago
1b634c2
Use size_t, not ssize_t (issue #14801).
by Antoine Pitrou
· 12 years ago
a1433fe
Remove tab characters
by Antoine Pitrou
· 12 years ago
682d94c
Use size_t, not ssize_t (issue #14801).
by Antoine Pitrou
· 12 years ago
1cffbac
merge 3.2 (#14752)
by Benjamin Peterson
· 12 years ago
89a6e9a
fix possible refleak (closes #14752)
by Benjamin Peterson
· 12 years ago
64acccf
decref cached keys on type deallocation (#13903)
by Benjamin Peterson
· 12 years ago
4f2f3b6
Account for shared keys in type's __sizeof__ (#13903).
by Martin v. Loewis
· 12 years ago
42f5881
merge 3.2 (#14658)
by Benjamin Peterson
· 12 years ago
7b16687
don't use a slot wrapper from a different special method (closes #14658)
by Benjamin Peterson
· 12 years ago
7d95e40
Implement PEP 412: Key-sharing dictionaries (closes #13903)
by Benjamin Peterson
· 12 years ago
9ee601e
merge 3.2
by Benjamin Peterson
· 12 years ago
b6af60c
adjust formatting
by Benjamin Peterson
· 12 years ago
3471bb6
remove extraneous condition
by Benjamin Peterson
· 12 years ago
ab3c1c1
be consistent with rest of function
by Benjamin Peterson
· 12 years ago
3c1e481
Issue #14383: Add _PyDict_GetItemId() and _PyDict_SetItemId() functions
by Victor Stinner
· 12 years ago
96384b9
make extra arguments to object.__init__/__new__ to errors in most cases (finishes #1683368)
by Benjamin Peterson
· 12 years ago
9a03ecf
simply this slightly
by Benjamin Peterson
· 12 years ago
de39454
merge 3.2 (#14334)
by Benjamin Peterson
· 12 years ago
16d84ac
check to make sure the attribute is a string (#14334)
by Benjamin Peterson
· 12 years ago
d74782b
Close #14199: _PyType_Lookup() and super_getattro() keep a strong reference to
by Victor Stinner
· 12 years ago
9a63386
merge 3.2 (#3787e896dbe9)
by Benjamin Peterson
· 12 years ago
52c4243
allow cycles throught the __dict__ slot to be cleared (closes #1469629)
by Benjamin Peterson
· 12 years ago
6f73874
Close #14095: type.__new__() doesn't remove __qualname__ key from the class
by Victor Stinner
· 12 years ago
006c5a2
check for NULL to fix segfault
by Benjamin Peterson
· 13 years ago
8eb1269
add generic implementation of a __dict__ descriptor for C types
by Benjamin Peterson
· 13 years ago
2372bb0
merge 3.2 (closes #13908)
by Benjamin Peterson
· 13 years ago
2652d25
ready types returned from PyType_FromSpec
by Benjamin Peterson
· 13 years ago
e28108c
adjust declaration
by Benjamin Peterson
· 13 years ago
ce79852
use the static identifier api for looking up special methods
by Benjamin Peterson
· 13 years ago
5b62942
Issue #13577: Built-in methods and functions now have a __qualname__.
by Antoine Pitrou
· 13 years ago
d73a9ac
Fix the fix for issue #12149: it was incorrect, although it had the side
by Antoine Pitrou
· 13 years ago
2e87208
Fix the fix for issue #12149: it was incorrect, although it had the side
by Antoine Pitrou
· 13 years ago
aa6c1d2
Issue #13575: there is only one class type.
by Florent Xicluna
· 13 years ago
86a36b5
PEP 3155 / issue #13448: Qualified name for classes and functions.
by Antoine Pitrou
· 13 years ago
e92ff05
Issue #13161: fix doc strings of __i*__ operators. Closes #13161
by Eli Bendersky
· 13 years ago
d3baae7
Issue #13161: fix doc strings of __i*__ operators
by Eli Bendersky
· 13 years ago
d10759f
Make _PyUnicode_FromId return borrowed references.
by Martin v. Löwis
· 13 years ago
de31b19
Issue 1294232: Fix errors in metaclass calculation affecting some cases of metaclass inheritance. Patch by Daniel Urban.
by Nick Coghlan
· 13 years ago
9715d26
Merge issue 1294232 patch from 3.2
by Nick Coghlan
· 13 years ago
bd928fe
Rename _Py_identifier to _Py_IDENTIFIER.
by Martin v. Löwis
· 13 years ago
bfc6d74
Use GetAttrId directly. Proposed by Amaury.
by Martin v. Löwis
· 13 years ago
1ee1b6f
Use identifier API for PyObject_GetAttrString.
by Martin v. Löwis
· 13 years ago
afe55bb
Add API for static strings, primarily good for identifiers.
by Martin v. Löwis
· 13 years ago
6394188
Use the new Py_ARRAY_LENGTH macro
by Victor Stinner
· 13 years ago
2aa2b3b
Clean up a few tabs that went in with PEP393.
by Ezio Melotti
· 13 years ago
d63a3b8
Implement PEP 393.
by Martin v. Löwis
· 13 years ago
01fc6cd
make __doc__ mutable on heaptypes (closes #12773)
by Benjamin Peterson
· 13 years ago
d9f23d2
factor out common checks for setting special type attributes
by Benjamin Peterson
· 13 years ago
d17cefc
crush other possible refleaks in this section
by Benjamin Peterson
· 13 years ago
3e6267e
merge 3.2
by Benjamin Peterson
· 13 years ago
ae13c88
fix possible refleaks
by Benjamin Peterson
· 13 years ago
c4085c8
complain when a class variable shadows a name in __slots__ (closes #12766)
by Benjamin Peterson
· 13 years ago
dfc80e3
Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED.
by Brian Curtin
· 13 years ago
9b43b6e
Issue #11603: Fix a crash when __str__ is rebound as __repr__.
by Antoine Pitrou
· 13 years ago
ff35050
Issue #11603: Fix a crash when __str__ is rebound as __repr__.
by Antoine Pitrou
· 13 years ago
8cdc40e
Issue #11603: Fix a crash when __str__ is rebound as __repr__.
by Antoine Pitrou
· 13 years ago
093c8e4
Issue #12149: Update the method cache after a type's dictionnary gets
by Antoine Pitrou
· 13 years ago
84f1b17
Issue #12149: Update the method cache after a type's dictionnary gets
by Antoine Pitrou
· 13 years ago
f5ff223
use a invalid name for the __class__ closure for super() (closes #12370)
by Benjamin Peterson
· 13 years ago
c728412
indicate return value on __dir__ methods
by Benjamin Peterson
· 13 years ago
1fdcf0e
merge 3.2
by Benjamin Peterson
· 13 years ago
17658a1
merge 3.1
by Benjamin Peterson
· 13 years ago
fbe56bb
use '->' to indicate return values
by Benjamin Peterson
· 13 years ago
82b00c1
move specialized dir implementations into __dir__ methods (closes #12166)
by Benjamin Peterson
· 13 years ago
3b3499b
#11565: Merge with 3.1.
by Ezio Melotti
· 13 years ago
1392500
#11565: Fix several typos. Patch by Piotr Kasprzyk.
by Ezio Melotti
· 13 years ago
b88ed15
#11565: Merge with 3.2.
by Ezio Melotti
· 13 years ago
b9cd353
Issue 9856: Change object.__format__ with a non-empty format string from a PendingDeprecationWarning to a DeprecationWarning.
by Eric V. Smith
· 13 years ago
16c4ce1
Issue #9935: Speed up pickling of instances of user-defined classes.
by Antoine Pitrou
· 13 years ago
f3fd733
Remove useless argument of _PyUnicode_AsDefaultEncodedString()
by Victor Stinner
· 13 years ago
b94767f
Issue #8914: fix various warnings from the Clang static analyzer v254.
by Brett Cannon
· 14 years ago
7be5b78
Merged revisions 88456 via svnmerge from
by Martin v. Löwis
· 14 years ago
5e06a5d
- Check for NULL result in PyType_FromSpec.
by Martin v. Löwis
· 14 years ago
032400b
#11249: in PyType_FromSpec, copy tp_doc slot since it usually will point to a static string literal which should not be deallocated together with the type.
by Georg Brandl
· 14 years ago
738236d
Issue #11067: Add PyType_GetFlags, to support PyUnicode_Check in the limited ABI
by Martin v. Löwis
· 14 years ago
32a8fe8
Merged revisions 88069 via svnmerge from
by Benjamin Peterson
· 14 years ago
37b9e46
remove unneeded assertion
by Benjamin Peterson
· 14 years ago
d82f45b
Merged revisions 88066 via svnmerge from
by Benjamin Peterson
· 14 years ago
0dd5ca0
correct assertion
by Benjamin Peterson
· 14 years ago
acd1759
Merged revisions 88063 via svnmerge from
by Benjamin Peterson
· 14 years ago
67641d2
turn some checks into assertions, since they are implied by the caller
by Benjamin Peterson
· 14 years ago
a53d2ac
Merged revisions 87960 via svnmerge from
by Benjamin Peterson
· 14 years ago
Next »