Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
656319e58d80478c7aa2a783606f0b50053529ae
/
Objects
/
typeobject.c
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
· 12 years ago
8eb1269
add generic implementation of a __dict__ descriptor for C types
by Benjamin Peterson
· 12 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
· 13 years ago
7be5b78
Merged revisions 88456 via svnmerge from
by Martin v. Löwis
· 13 years ago
5e06a5d
- Check for NULL result in PyType_FromSpec.
by Martin v. Löwis
· 13 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
· 13 years ago
738236d
Issue #11067: Add PyType_GetFlags, to support PyUnicode_Check in the limited ABI
by Martin v. Löwis
· 13 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
23b628e
use PyErr_SetString instead of PyErr_Format
by Benjamin Peterson
· 14 years ago
de36871
Merged revisions 87952-87954 via svnmerge from
by Benjamin Peterson
· 14 years ago
477ba91
don't segfault on deleting __abstractmethods__ #10892
by Benjamin Peterson
· 14 years ago
0fcab4a
Issue #9566: use Py_ssize_t instead of int
by Victor Stinner
· 14 years ago
4d0d471
Merge branches/pep-0384.
by Martin v. Löwis
· 14 years ago
8035bc5
follow up to #9778: define and use an unsigned hash type
by Benjamin Peterson
· 14 years ago
ff150f2
Revert r85797 (and r85798): it broke the Windows buildbots because of
by Antoine Pitrou
· 14 years ago
7eecffd
Issue #9935: Speed up pickling of instances of user-defined classes.
by Antoine Pitrou
· 14 years ago
e7dfeeb
-1 is reserved for errors
by Benjamin Peterson
· 14 years ago
8f67d08
make hashes always the size of pointers; introduce Py_hash_t #9778
by Benjamin Peterson
· 14 years ago
866c74e
Merged revisions 85193 via svnmerge from
by Benjamin Peterson
· 14 years ago
84060b8
typo
by Benjamin Peterson
· 14 years ago
0ad44fa
Merged revisions 85154,85182 via svnmerge from
by Benjamin Peterson
· 14 years ago
aec5fd1
type.__abstractmethods__ should raise an AttributeError #10006
by Benjamin Peterson
· 14 years ago
a67c70d
Merged revisions 84984 via svnmerge from
by Mark Dickinson
· 14 years ago
b09a3d6
Issue #9930: Remove an unnecessary type check in wrap_binaryfunc_r;
by Mark Dickinson
· 14 years ago
e4d6317
Issue 7994: Make object.__format__() raise a PendingDeprecationWarning
by Eric Smith
· 14 years ago
039d0a0
Merged revisions 84320 via svnmerge from
by Benjamin Peterson
· 14 years ago
0e10206
basicsize and itemsize are Py_ssize_t #9688
by Benjamin Peterson
· 14 years ago
102594f
Merged revisions 84106 via svnmerge from
by Alexander Belopolsky
· 14 years ago
977a684
Issue #8983: Corrected docstrings.
by Alexander Belopolsky
· 14 years ago
4a2b7a1
Issue #9425: Create PyErr_WarnFormat() function
by Victor Stinner
· 14 years ago
20f9c3c
revert unintended changes
by Benjamin Peterson
· 14 years ago
013783c
move test_trace.py so as not to conflict with future tests for the trace module
by Benjamin Peterson
· 14 years ago
a7465e2
cleanup basicsize logic #3268
by Benjamin Peterson
· 14 years ago
c03d757
Merged revisions 81709-81710 via svnmerge from
by Benjamin Peterson
· 14 years ago
dc787d2
Issue #8188: Introduce a new scheme for computing hashes of numbers
by Mark Dickinson
· 14 years ago
ba644a6
Ooops, add missing ";" in my previous commit (r81324, typeobject.c)
by Victor Stinner
· 14 years ago
Next »