pypy / pypy / objspace / std / typetype.py

Author Commit Message Labels Comments Date
Michael Hudson-Doyle avatarMichael Hudson-Doyle
some more explicit imports of gateway
lac avatarlac
Typetype is not amenable to the patching by function trick, needs
Samuele Pedroni avatarSamuele Pedroni
make W_TypeObject.getdict return a dict-proxy directly. Given that we have getdictvalue we will get proper behavior
Armin Rigo avatarArmin Rigo
Made the __name__ of types writeable. This triggered a chain of obscure
Armin Rigo avatarArmin Rigo
Replace the calls to xyz.__init__() with known calls to
Samuele Pedroni avatarSamuele Pedroni
improved type __repr__ with tests
Samuele Pedroni avatarSamuele Pedroni
factor out is_heaptype
Samuele Pedroni avatarSamuele Pedroni
we are really using the specific methods on by W_TypeObject instances, also we don't plan right now for multiple
Armin Rigo avatarArmin Rigo
Who would have though that the __doc__ attribute of types was delicate to get
Christian Tismer avatarChristian Tismer
support for type's __module__ attribute.
Armin Rigo avatarArmin Rigo
Fix the __base__ attribute of types.
Christian Tismer avatarChristian Tismer
some progress in pickling derived types. Added supportfor type.__flags__ as needed in copy_reg.
holger krekel avatarholger krekel
merge of the dist-interpapp branch where Samuele
Samuele Pedroni avatarSamuele Pedroni
improved the logic to decide whether we need a __dict__ descr, starting point for adding slots support
Samuele Pedroni avatarSamuele Pedroni
preparatory changes for old-style class integration
Armin Rigo avatarArmin Rigo
Merge, last step: copy branch as head.
Bob Ippolito avatarBob Ippolito
doc descriptor, tests
Bob Ippolito avatarBob Ippolito
dictproxy
Bob Ippolito avatarBob Ippolito
add mro() to type objects
Armin Rigo avatarArmin Rigo
Moved the branch back into the trunk.
Michael Hudson-Doyle avatarMichael Hudson-Doyle
Say hi to basestring.
Armin Rigo avatarArmin Rigo
* Removed the hasdict class attribute introduced last time.
Armin Rigo avatarArmin Rigo
Rewrite of user-defined subclasses of built-in types:
Armin Rigo avatarArmin Rigo
- enforced single inheritance at the TypeDef level.
Armin Rigo avatarArmin Rigo
- Make ModuleType subclassable (bis).
Armin Rigo avatarArmin Rigo
Eventually made __new__ a static method, as in CPython.
Armin Rigo avatarArmin Rigo
Make __new__ an unbound method of the metaclass, instead of a real class
Armin Rigo avatarArmin Rigo
The C3 algorithm to compute the Method Resolution Order now integrated.
Michael Hudson-Doyle avatarMichael Hudson-Doyle
support __bases__
Michael Hudson-Doyle avatarMichael Hudson-Doyle
fixity fix
  1. Prev
  2. 1
  3. 2
  4. 3
  5. Next
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.