Source

pypy / pypy / objspace / std / stdtypedef.py

Author Commit Message Labels Comments Date
Maciej Fijalkowski
use newer shinier interface a bit everywhere
Branches
kill-someobject
Armin Rigo
Fix fix fix in-progress
Branches
kill-someobject
Alex Gaynor
fix for a typo and cpyext
Alex Gaynor
Fix for various ops on bools.
Alex Gaynor
Allow very basic multiple inheritance of app-level types in RPython. Thanks to amaury for the review/suggestions.
Amaury Forgeot d'Arc
Since the trampoline function names its parameters consistently, unwrap_spec is not needed anymore.
Branches
improve-unwrap_spec
Amaury Forgeot d'Arc
Remove support for w_args in multimethods; args_w is probably better
Branches
improve-unwrap_spec
Amaury Forgeot d'Arc
Fix the test: w_type.w_doc should be the same object as in the type __dict__.
Branches
fast-forward
Amaury Forgeot d'Arc
Test for __doc__ values, specially RuntimeError.__doc__ which was not set.
Branches
fast-forward
Amaury Forgeot d'Arc
Add doc to __dict__ and __weakref__ descriptors
Branches
fast-forward
Amaury Forgeot d'Arc
hg merge default
Branches
fast-forward
Armin Rigo
Make the "default" argument of getname() optional. Remove usage of the '?' at least in the interpreter/ and the objspace/ directories.
Amaury Forgeot d'Arc
Set list.__hash__ is now None, instead of a function that raises TypeError. no_hash_descr() is gone! This fixes isinstance([], _abcoll.Hashable)
Branches
fast-forward
Alex Gaynor
#480. FailedToImplement is now split into FailedToImplement and FailedToImplementArgs which has w_type and w_value.
Armin Rigo
Merge the branch/faster-raise-2: * move exceptions to interp-level. * add helpers space.exception_getclass() & co. * other similar small fixes all over the place.
Carl Friedrich Bolz
(cfbolz, pedronis): invent slightly strange technology to allow us to use BaseSet matching both set and frozenset objects. More generally, one can now have purely implementation-level base classes in the multimethod slices. setobject.py still needs to use this extensively, but that's a delicate mess.
Carl Friedrich Bolz
(cfbolz, pedronis): prevent-silly-unrolling branch merge
Carl Friedrich Bolz
Clean up some commented out and very old code. Kill a completely outdated comment.
Armin Rigo
(pedronis, arigo) A hack to enumerate the multimethods that a given W_XxxObject class implements.
Michael Hudson-Doyle
remove the extremely-rarely-not-[] argument from the newdict operation.
Armin Rigo
Added docstrings to all (non-special) methods of built-in types in the StdObjSpace.
Armin Rigo
A few docstrings, more to come.
Michael Hudson-Doyle
(mwh, pedronis) issue204 in-progress implement __subclasses__(). required a small extension of tool/cache, and a way of building a very simple weakref that has a chance of working "early". W_TypeObjects now need to have their .ready() called "at some point" -- apart from during space setup, just after __init__ will do.
Armin Rigo
A working version of compressed multimethod. Still quite slow at start-up.
Armin Rigo
Hash support: some Wrappables were missing a hash. The main work in this check-in, though, is about making sure the hash_cache field inserted by the rtyper for instances on which hash() is called, only shows up in selected subclasses of W_Root instead of on W_Root. Classes like W_IntObject and W_TupleObject don't need it. (This is a step towards tagged pointers, which has no chance to work if the W_SmallIntObject class contains more than an 'intval' field.)
Armin Rigo
Safety-check: registering several multimethods of the same name on the same type is not a good idea.
Armin Rigo
(pedronis, arigo) Give getset_property objects the correct type name and __name__ and __objclass__ attributes. The latter does not make absolute sense in PyPy because of the mismatch between interp-level classes vs. app-level types, but well, this is a best-effort (and obscure) approach.
Carl Friedrich Bolz
oops
Carl Friedrich Bolz
replace MultiMethod with StdObjspaceMultiMethod
Michael Hudson-Doyle
importfun vs objspace/ objspace/std is something of a mess
  1. Prev
  2. 1
  3. 2
  4. 3
  5. Next