- 19 Apr, 2022 1 commit
-
-
Carl Friedrich Bolz-Tereick authored
--HG-- branch : global-caching-again
-
- 03 Aug, 2017 1 commit
-
-
Carl Friedrich Bolz-Tereick authored
-
- 05 Apr, 2017 1 commit
-
-
Armin Rigo authored
This should cancel the change to ALL FILES that turns them executable. The present backout has been manually tweaked so that it does not actually contain any change to file contents.
-
- 03 Apr, 2017 1 commit
-
-
Richard Plangger authored
conditionally call vmp_native_enable/disable (only if platform supports it), VMP_SUPPORTS_NATIVE_PROFILING defined on x86
-
- 22 Feb, 2017 1 commit
-
-
Armin Rigo authored
Remove ``str`` as an unwrap_spec argument.
-
- 02 Dec, 2016 1 commit
-
-
Carl Friedrich Bolz-Tereick authored
space.w_text). mark space.str_w as not_rpython, since many tests still use it --HG-- branch : space-newtext
-
- 30 Nov, 2016 1 commit
-
-
Carl Friedrich Bolz-Tereick authored
--HG-- branch : space-newtext
-
- 21 Oct, 2016 1 commit
-
-
Carl Friedrich Bolz-Tereick authored
--HG-- branch : space-newtext
-
- 20 Oct, 2016 1 commit
-
-
Carl Friedrich Bolz-Tereick authored
--HG-- branch : space-newtext
-
- 05 Sep, 2014 1 commit
-
-
Armin Rigo authored
We don't have many prebuilt pure-Python modules, but for the ones that show up, remove their __file__ rather than translate it statically inside the executable.
-
- 23 Mar, 2013 1 commit
-
-
Alex Gaynor authored
-
- 20 Mar, 2013 1 commit
-
-
Alex Gaynor authored
--HG-- branch : remove-list-smm
-
- 30 Dec, 2012 1 commit
-
-
Alexander Hesse authored
pypy.rpython -> rpython.rtyper pypy.translator -> rpython.translator pypy.rlib -> rpython.rlib pypy.jit -> rpython.jit pypy.objspace.flow -> rpython.flowspace pypy.annotation -> rpython.annotator --HG-- branch : split-rpython
-
- 14 Apr, 2012 1 commit
-
-
Ronny Pfannschmidt authored
--HG-- branch : vendor/stdlib
-
- 28 Jan, 2012 1 commit
-
-
Amaury Forgeot d'Arc authored
We use the annotator to "prove" that a string has no NUL. --HG-- branch : string-NUL
-
- 10 Jul, 2011 1 commit
-
-
Alex Gaynor authored
-
- 11 Mar, 2011 1 commit
-
-
Amaury Forgeot d'Arc authored
--HG-- branch : getdict-signature
-
- 27 Feb, 2011 2 commits
-
-
Alex Gaynor authored
-
Alex Gaynor authored
--HG-- branch : kqueue
-
- 13 Feb, 2011 1 commit
-
-
Armin Rigo authored
internally, but not in modules created from Python code, as in CPython.
-
- 12 Feb, 2011 1 commit
-
-
Alex Gaynor authored
Module objects have an __package__ attribute, eventually this needs to be set/used by the imp module, but for now just expose it.
-
- 07 Feb, 2011 1 commit
-
-
Armin Rigo authored
test_appinterp:test_geninterp_can_unfreeze.
-
- 03 Jan, 2011 1 commit
-
-
Alex Gaynor authored
-
- 30 Dec, 2010 1 commit
-
-
Alex Gaynor authored
--HG-- branch : mixed-submodules
-
- 19 May, 2010 1 commit
-
-
Gabriel Lavoie authored
Unpickling of submodule didn't work. __import__ needs a non-empty value for the "fromlist" parameter or it returns a reference to the top-level package instead of the module itself.
-
- 28 Dec, 2009 2 commits
-
-
Amaury Forgeot d'Arc authored
just copy them from the branch. Resetting startup_called to False is specially important, otherwise after reload(sys) we retrieve the state captured during translation...
-
Amaury Forgeot d'Arc authored
Builtin modules are now translated and compiled, but not necessarily imported by the interpreter. This may speed up startup times! space.getbuiltinmodule() is still the way to import/retrieve these modules. It is now possible to reload builtin modules. Like CPython, the module init function (MixedModule.startup) is called only once, the module dictionary is captured on first import and restored when reloading the module; this is different from .py modules, which execute the code again. The imp module has been rewritten at interplevel, and now shares its implementation with the __import__ function. --Cette ligne, et les suivantes ci-dessous, seront ignorées-- _M pypy M pypy/module/__pypy__/__init__.py M pypy/module/thread/__init__.py D pypy/module/thread/importlock.py AM + pypy/module/_demo/test A + pypy/module/_demo/test/test_import.py M pypy/module/_demo/__init__.py AM + pypy/module/imp A + pypy/module/imp/importing.py AM + pypy/module/imp/test A + pypy/module/imp/test/test_import.py A + pypy/module/imp/test/test_app.py A + pypy/module/imp/__init__.py A + pypy/module/imp/interp_imp.py M pypy/module/zipimport/test/test_zipimport.py M pypy/module/zipimport/interp_zipimport.py M pypy/module/zipimport/__init__.py D pypy/module/__builtin__/test/test_import.py D pypy/module/__builtin__/app_misc.py M pypy/module/__builtin__/__init__.py D pypy/module/__builtin__/importing.py M pypy/module/oracle/__init__.py M pypy/module/oracle/interp_error.py M pypy/interpreter/mixedmodule.py M pypy/interpreter/baseobjspace.py M pypy/interpreter/module.py M pypy/config/pypyoption.py M pypy/lib/app_test/test_runpy.py D pypy/lib/app_test/test_imp_extra.py D pypy/lib/imp.py _M lib-python M lib-python/modified-2.5.2/test/infinite_reload.py M lib-python/modified-2.5.2/test/test_import.py D lib-python/modified-2.5.2/test/test___all__.py A + lib-python/modified-2.5.2/test/test_runpy.py D lib-python/modified-2.5.2/test/test_importhooks.py
-
- 09 Dec, 2009 1 commit
-
-
Amaury Forgeot d'Arc authored
There are other consequences, like the "imp" module which must be rewritten to correctly handle built-in modules. Let's do this on a branch. (reverted r69947, r69956, r69969, r70003)
-
- 07 Dec, 2009 1 commit
-
-
Amaury Forgeot d'Arc authored
(2nd attempt) - All built-in modules are inserted into space.builtin_modules when they are discovered, but not in sys.modules. - The end of space initialization calls setup_builtin_modules(), which calls mod.setup_after_space_initialization() for every module. At this stage, sys.modules contains the "sys" module, and other modules imported by mod.setup_after_space_initialization(). - The space and modules are frozen in this state, and translated. - When pypy-c starts, it calls mod.startup() on built-in modules already in sys.modules. - when importing another builtin module, pypy fetches it from space.builtin_modules, adds it to sys.modules, and calls its setup() method. space.getbuiltinmodule(name) is still the main interface to import-or-get a built-in module. This speeds up pypy startup, but more importantly, solves bootstraping issues where for example a higher-level module would "import posix" before it is fully initialized; when this happens, os.environ is empty!
-
- 04 Dec, 2009 2 commits
-
-
Amaury Forgeot d'Arc authored
from email.Parser import Parser
-
Amaury Forgeot d'Arc authored
- All built-in modules are inserted into space.builtin_modules when they are discovered, but not in sys.modules. - The end of space initialization calls setup_builtin_modules(), which calls mod.setup_after_space_initialization() for every module. At this stage, sys.modules contains the "sys" module, and other modules imported by mod.setup_after_space_initialization(). - The space and modules are frozen in this state, and translated. - When pypy-c starts, it calls mod.startup() on built-in modules already in sys.modules. - when importing another builtin module, pypy fetches it from space.builtin_modules, adds it to sys.modules, and calls its setup() method. space.getbuiltinmodule(name) is still the main interface to import-or-get a built-in module. This speeds up pypy startup, but more importantly, solves bootstraping issues where for example a higher-level module would "import posix" before it is fully initialized; when this happens, os.environ is empty!
-
- 30 Jun, 2009 1 commit
-
-
Armin Rigo authored
-
- 23 Sep, 2008 1 commit
-
-
Maciej Fijalkowski authored
-
- 10 Dec, 2007 1 commit
-
-
Armin Rigo authored
to streams.
-
- 07 Mar, 2007 1 commit
-
-
Anders Chrigstrom authored
Make posix module use the startup method to initialize the environ dict.
-
- 19 Dec, 2006 1 commit
-
-
Michael Hudson authored
--objspace-opcodes-CALL_LIKELY_BUILTIN to enable.
-
- 14 Aug, 2006 1 commit
-
-
Michael Hudson authored
-
- 29 Apr, 2006 1 commit
-
-
Eric van Riet Paap authored
-
- 14 Mar, 2006 1 commit
-
-
Anders Chrigstrom authored
Create a space helper for interning strings and use it for names, mostly in code objects. => Slight performace improvement in pystone and richards.
-
- 26 Oct, 2005 1 commit
-
-
Michael Hudson authored
imports, change some imports to import from the module that defines the name, not some other module that also imports it.
-