Source

pypy / pypy / objspace / std / typeobject.py

Author Commit Message Labels Comments Date
Alex Gaynor avatarAlex Gaynor
kill some left over faking stuff
Branches
kill-faking
Alex Gaynor avatarAlex Gaynor
Removed mutable_builtintypes flag
Armin Rigo avatarArmin Rigo
Tweak tweak. Unclear if this gives enough win any more to care...
Armin Rigo avatarArmin Rigo
Add a sanity check.
Armin Rigo avatarArmin Rigo
issue1292: simplify the repr() of types, now that most built-in types
Maciej Fijalkowski avatarMaciej Fijalkowski
(arigo, fijal)
Branches
kill-someobject
Alex Gaynor avatarAlex Gaynor
Mark type's mro_w as quassiimmut.
Alex Gaynor avatarAlex Gaynor
Unroll a loop, which allows super() to go through method caches in the JIT.
Alex Gaynor avatarAlex Gaynor
Mark several fields in numpy as being immutable, and the name of a type object as quassiimmut
Carl Friedrich Bolz avatarCarl Friedrich Bolz
use a specialize:memo instead of adding yet another word to the already huge W_TypeObjects.
Alex Gaynor avatarAlex Gaynor
interplevel_cls on type objects is immutable
Maciej Fijalkowski avatarMaciej Fijalkowski
try using string_promote for promoting lookups
Branches
string-promote-2
Alex Gaynor avatarAlex Gaynor
remove this dead code, needed for the optimization from the previous commit.
Alex Gaynor avatarAlex Gaynor
change how some code is organized, fixes the failing test_pypy_c tests hopefully
Alex Gaynor avatarAlex Gaynor
Fix for test_descr.
Alex Gaynor avatarAlex Gaynor
Fix TypeSubClass(object) to work like type(object)
Maciej Fijalkowski avatarMaciej Fijalkowski
a branch to experiment with making space.isisntance faster
Branches
faster-isinstance
Maciej Fijalkowski avatarMaciej Fijalkowski
backout 96571e83c308
Branches
kill-unary-multimethods
Maciej Fijalkowski avatarMaciej Fijalkowski
just removing isinstance and issubtype as multimethods seems to "just work".
Branches
kill-unary-multimethods
Justin Peel avatarJustin Peel
make all files use space.isinstance_w instead of space.is_true(space.isinstance(...)) in objspace/std/
Antonio Cuni avatarAntonio Cuni
(Alex_Gaynor, antocuni): special-case type.__eq__ so that type (and subclasses) are marked as compares_by_identity()
Armin Rigo avatarArmin Rigo
Change the interface of deldictvalue() to take an unwrapped
Antonio Cuni avatarAntonio Cuni
kill the global versioning logic, and add a big comment which explains why it's not needed
Branches
identity-dict-strategy
Antonio Cuni avatarAntonio Cuni
rename the option to withidentitydict
Branches
identity-dict-strategy
Antonio Cuni avatarAntonio Cuni
completely remove the global identitydict version from the space, and use the space.fromcache() approach instead
Branches
identity-dict-strategy
Antonio Cuni avatarAntonio Cuni
as cfbolz points out, we cannot mutate the space, because it's frozen. Instead, store the mutable version in an object attached to the space
Branches
identity-dict-strategy
Antonio Cuni avatarAntonio Cuni
use an enum instead of a bool to keep track of the comparse_by_identiy status; this way, we can cache also the False case
Branches
identity-dict-strategy
Antonio Cuni avatarAntonio Cuni
update the global version counter if we change the class of an object whose old class was tracked as compares_by_identity
Branches
identity-dict-strategy
Antonio Cuni avatarAntonio Cuni
implement a global version counter to track changes to classes that changed their compares_by_identity() status
Branches
identity-dict-strategy
Antonio Cuni avatarAntonio Cuni
add an XXX
Branches
identity-dict-strategy
  1. Prev
  2. 1
  3. 2
  4. 3
  5. 4
  6. 5
  7. 6
  8. 7
  9. 8
  10. 9
  11. 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.