1. Pypy
  2. Untitled project
  3. pypy

Source

pypy / pypy / objspace / std / typetype.py

Author Commit Message Date Builds
Maciej Fijalkowski
try to use more consistently space.is_none
Branches
kill-someobject
Armin Rigo
Let the JIT see the app-level 'type(x)' construct.
Alex Gaynor
Fix TypeSubClass(object) to work like type(object)
Justin Peel
make all files use space.isinstance_w instead of space.is_true(space.isinstance(...)) in objspace/std/
Armin Rigo
Change the interface of deldictvalue() to take an unwrapped attribute name, like getdictvalue() and setdictvalue(). Just for unification purposes.
Antonio Cuni
implement a global version counter to track changes to classes that changed their compares_by_identity() status
Carl Friedrich Bolz
make the remaining uses of w_type.dict_w go through the new interface
Branches
new-dict-proxy
Armin Rigo
Split the '__flags__' interp-level field of W_TypeObject into individual boolean fields, which looks better anyway in (R)Python code. This allows a fix: _ABSTRACT is not an immutable flag, whereas the others are.
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
Hide the type.__abstractmethods__ descriptor.
Branches
fast-forward
Benjamin Peterson
support __abstractmethods__
Branches
fast-forward
Benjamin Peterson
make doc an attribute for builtin types
Branches
fast-forward
Benjamin Peterson
only disable the method cache if it's needed
Maciej Fijalkowski
oops, typo
Maciej Fijalkowski
Fix translation
Benjamin Peterson
reconsider the use of the type cache after new __bases__ have been set
Carl Friedrich Bolz
clean up some code in typeobject to make sure that the version_tag of builtin objects cannot change. Get rid of a few guards here and there.
Maciej Fijalkowski
Check-in merge attempt. Diff is to huge to read it.
Armin Rigo
Test and fix for __bases__ assignment versus the method cache.
Armin Rigo
Use RPython-level weakrefs when available to implement __subclasses__() and assignment to __bases__. When they are not available, we simply disable these two features for now.
Samuele Pedroni
Fix taint translation. Don't have methods demoted to W_Root. One more XXX, add some details to another one.
Armin Rigo
issue274 resolved Hack in a different way to make __module__ behave more exactly like CPython.
Carl Friedrich Bolz
(pedronis, cfbolz): on second thought, if somebody changes bases he deserves not getting caching.
Carl Friedrich Bolz
(pedronis, cfbolz): adding a version tag to types to check whether they changed. used only when a new config option withversiontypes.
Michael Hudson-Doyle
issue204 testing implement assignment to __bases__ introduces some amount of code duplication which could or should be reduced.
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
WeakrefableMixin causes trouble: in general we assume that mixins are not before the normal base class. Factored it out in a way that still allows a nice implementation of weakrefable built-in objects. Made functions, methods and generators weakrefable.
Anders Chrigström
(pedronis, arre) Refactor to avoid unwrapping and re-wrapping of strings when accessing attributes.
  1. Prev
  2. 1
  3. 2
  4. 3
  5. Next