View source
py35-getbuiltin
  • Contributors
    1. Loading...
Author Commit Message Date Builds
250+ commits behind default.
Amaury Forgeot d'Arc
Good: we don't update sys.modules anymore in baseobjspace.py Add a workaround for a limitation of importlib._bootstrap, which does not correctly supports builtin submodules.
Amaury Forgeot d'Arc
Don't 'inject' the .pyc magic number from the outside, but import it from __pypy__. This fixes the reload of test_importlib.util.
Amaury Forgeot d'Arc
Progress: space.getbuiltinmodule() does not use or update sys.modules
Amaury Forgeot d'Arc
Experiment with space.getbuiltinmodule(): it should not interact with sys.modules. Should fix test___all__ (which sets sys.modules['_frozen_importlib']=None)
Philip Jenvey
simplify
remarkablerocket
Merged pypy/pypy/py3.5 into py3.5
remarkablerocket
Revert change to rpython/rlib/rfloat.py in commit 0bf6794 (pull request #481); amend error message in pypy/objspace/std/floatobject.py instead.
Armin Rigo
formatting
remarkablerocket
Remove excess spaces from error message (commit f1684db)
remarkablerocket
Replace invalid RPython in floatobject.py (commit 0bf6794, pull request #481)
Ronan Lamy
hg merge py3k
Ronan Lamy
Fix translation
remarkablerocket
Make error messages for dict and other non-numeric types consistent with CPython 3.5
Ronan Lamy
Set up ImportError attributes properly in _imp.load_dynamic()
Ronan Lamy
cpyext is required to actually test _imp.load_dynamic(). Disable check for cpyext when running with -A on CPython.
Armin Rigo
translation fix
Armin Rigo
Test and fix: don't give a unicode co_filename from interactive.py
Armin Rigo
merge heads
Armin Rigo
utf-8 encoding before translation accepts lone surrogates, because it is Python 2.7, but after translation it does not. Moreover, CPython 3.x accepts such unicode attributes anyway. This makes this test half-wrong for now.
Ronan Lamy
Fix test_load_dynamic() to match CPython behaviour
Ronan Lamy
Kill unused MODULES_THAT_ALWAYS_SHADOW and associated tests (importlib handles that logic now)
Philip Jenvey
outdated comment
Philip Jenvey
kill _handle, subprocess.Handle basically replaces it
Philip Jenvey
merge default
Amaury Forgeot d'Arc
sys.hash_info.algorithm = 'rpython' The algorithm looks like CPython's 'fnv' function, but does not use 8 bytes blocks. This unblocks running tests with the "-v" option.
Armin Rigo
Functions and methods that are actually "built-in" on CPython might end up with FunctionType or MethodType. We need to work harder to be sure to exclude them here.
Armin Rigo
hg merge py3k
Armin Rigo
Test and fix: correctly count the number of kwonly argument given, for the error message
Ronan Lamy
Remove obsolete code
Armin Rigo
Test and fix
Armin Rigo
Fix for test_hash
Armin Rigo
Test and fix
Armin Rigo
hg merge py3k
Armin Rigo
In the py3k branch, use 'python3.3' to run -A tests, not 'python3'. Some tests fail if the latter is a more recent version.
Armin Rigo
Add merged branches
Armin Rigo
Likely fix
Armin Rigo
hg merge py3k
Armin Rigo
hg merge default
Armin Rigo
Skip this import test which I don't understand at all, and don't really want to: it works fine on a translated pypy-c with -A
Armin Rigo
hg merge py3k
Armin Rigo
backport 146f531d6c86
Armin Rigo
hg merge py3k
Armin Rigo
Aaaargh
Armin Rigo
memoryview indexing returns integers, not bytes
Amaury Forgeot d'Arc
Fix translation
Armin Rigo
next attempt
Armin Rigo
Try to blindly fix some casting issues inside interp_time, showing up e.g. on OS/X translations.
Armin Rigo
Duplicate
Philip Jenvey
attempt to adapt missing parts of 29d14733e007 to cffi
Amaury Forgeot d'Arc
Fix many tests in module/_ssl
Amaury Forgeot d'Arc
Add a minimal _ssl.MemoryBIO to allow "import ssl"
Amaury Forgeot d'Arc
socket.py now depends on the 'select' module.
Amaury Forgeot d'Arc
Add memoryview.nbytes.
Amaury Forgeot d'Arc
Fix tests for audioop.byteswap(), and test_wave passes.
Armin Rigo
hg merge default
Ronan Lamy
2to3
Ronan Lamy
2to3fy test
Ronan Lamy
Use built-in module _operator to define built-in functions bin(), oct(), hex(). This should prevent potential bootstrapping issues caused by trying to import pure-Python stdlib modules too early. Also, mark _operator as an essential module.
Ronan Lamy
Remove dunder aliases from _operator, as on CPython
Ronan Lamy
Fix translation
Armin Rigo
hg merge default
Ronan Lamy
Renaming a built-in module does not change the name of the corresponding usemodules.* option
Armin Rigo
Move the docstrings to the proper place
Armin Rigo
Manual merge of a translation fix I've done only in the py3.5 branch (sorry)
Armin Rigo
Add tests for st.st_Xtime_ns
Armin Rigo
fixes
Armin Rigo
hg merge default
Armin Rigo
hg merge default
Armin Rigo
Merged in remarkablerocket/pypy/py3.5 (pull request #480) Implement round ndigits=None behaviour as per CPython 3.5 docs
remarkablerocket
Replace checks for None and space.w_None with space.is_none
remarkablerocket
Implement round ndigits=None behaviour as per CPython 3.5 docs
Armin Rigo
Issue #2400: Rename the interp-level module to '_operator'
Armin Rigo
untabify
Armin Rigo
hg merge py3.5-corowrapper Review and fixes and rewrites for coroutines/async/await
Armin Rigo
ready to merge
Ronan Lamy
backout bd9d1dd19c2c, per a8a4ffe56b74
remarkablerocket
Implement default keyword on min & max with tests
Armin Rigo
Fix for test_interpreter.test_build_map_unpack
Armin Rigo
comment
Armin Rigo
Another test and fix
Armin Rigo
fix the test
Armin Rigo
Two tests, one passing
Armin Rigo
Test and fix: must reset w_yielded_from to None when running
Armin Rigo
comment
Armin Rigo
missing import
Armin Rigo
fix interp_jit
Armin Rigo
Comment, test about StopAsyncIteration
Armin Rigo
Test and fix
Armin Rigo
translation fixes
Armin Rigo
Direct test for 'await'
Armin Rigo
reverse the order of these two values on the valuestack, as needed for "async with"
Armin Rigo
fix the stack depth computation
Armin Rigo
one translation fix
Philip Jenvey
avoid sys.version during bootstrapping as its setup lazily (3.6 uses sys.version_info anyway: cpython issue #25985)
Armin Rigo
Next failing test
Armin Rigo
Complain more clearly
Armin Rigo
sys.set_coroutine_wrapper()
Armin Rigo
Test and fix
Armin Rigo
Fixes
Armin Rigo
aiter_wrapper
Armin Rigo
CoroutineWrapper
Philip Jenvey
merge py3k
Armin Rigo
A direct test for "async for" (I have still no idea how we're supposed to call a coroutine)
Armin Rigo
Refactor/cleanup/complete the opcodes
Armin Rigo
Test for gi_yieldfrom
Armin Rigo
Setting __name__ on generator-iterator objects (uh?)
Armin Rigo
pass test_generator
Armin Rigo
next fix
Armin Rigo
in-progress
Armin Rigo
fix
Armin Rigo
'yield from' starts to work again, a bit
Armin Rigo
in-progress (I think that basic generators are working again)
Armin Rigo
rewrite rewrite rewrite in progress
Armin Rigo
in-progress
Armin Rigo
CO_FUTURE_GENERATOR_STOP, not tested so far
Armin Rigo
in-progress
Armin Rigo
First test: space.next() must not accept coroutines (and not by *name* anyway!)
Armin Rigo
A branch to add the coroutine_wrapper type from CPython and review our coroutines
Armin Rigo
Write down a message to avoid being hit by 0419bc15bcf5 again
Armin Rigo
Skip the micronumpy tests on py3.5. Micronumpy is anyway not compiled into a default pypy-c in this branch.
Armin Rigo
Pff, took me too long to figure out this was causing an obscure error at start-up of pypy-c
Armin Rigo
math.gcd()
Armin Rigo
math.isclose()
Armin Rigo
audioop.byteswap()
Armin Rigo
Implement the -I option to pypy
Armin Rigo
SOMAXCONN, socket.listen(no argument)
Armin Rigo
graft eb88834f82b2
Armin Rigo
os.sync()
Armin Rigo
hg merge py3k
Armin Rigo
hg merge default
Armin Rigo
Meant to be turned off by default
Armin Rigo
Use ast.NameConstant instead of ast.Name for None/True/False (that class was not used so far)
Armin Rigo
Fix some pickling tests
Armin Rigo
We can't really do anything without the '_struct' module
Armin Rigo
Tweak tweak, now it seems to translate
Armin Rigo
Back out ce4d4b3c159f, i.e. redo 26dfa2f67afd, in the py3.5 branch where imports are done differently. I'll see what exactly this breaks in py3.5 before deciding something, e.g., a space option we'd need to set in the tests that do break. I'm not doing it in py3k this time.
Armin Rigo
Move this method as a global function
Armin Rigo
hg merge py3k
Armin Rigo
hg merge default
Armin Rigo
hg merge py3k
Armin Rigo
Restore missing import
Armin Rigo
hg merge py3k
Armin Rigo
Uh
Armin Rigo
Another one
Armin Rigo
Fix for argument clinic's use of the "bool" specifier, which now maps to "unwrap_spec(...=bool)".
Armin Rigo
Add explicitly @jit.call_shortcut here
Armin Rigo
hg merge default
Ronan Lamy
Fix skipping of AppTestApi
Ronan Lamy
hg merge default
Ronan Lamy
Delete RPython impls of PyObject_CheckBuffer and PyObject_GetBuffer once again
Ronan Lamy
move all Py_buffer to memoryobject, create helper function (grafted from f8f2080418c8ba11b6bc85e752ba9ad10740d59a)
Ronan Lamy
test, fix Py_buffer format, which can be a string (issue #2396 and IRC discussion) (grafted from fe0add22fd7e549d497ce95929a3a1f36e1c4d46)
Armin Rigo
For now, we should get most of the intended effect with @jit.elidable
Armin Rigo
Fix: _utf8 cannot be a quasi-immutable. Will document why and do a proper fix
Ronan Lamy
2to3fy cpyext's test_memoryobject.py
Ronan Lamy
fix bytebuffer test
Ronan Lamy
hg merge py3k
Ronan Lamy
fix translation
Ronan Lamy
hg merge default
Ronan Lamy
Skip test_random_attr.py on pypy3
Philip Jenvey
merge default
Armin Rigo
hg merge py3k
Armin Rigo
hg merge default
Ronan Lamy
fix memoryview(<ctypes.Structure>)
Armin Rigo
Quick non-fix to let translation proceed
Armin Rigo
hg merge py3k
Ronan Lamy
Remove debugging leftover
Ronan Lamy
hg merge py3k
Ronan Lamy
Fix shape of array buffers
Ronan Lamy
Backport memoryview changes from 3.5
Ronan Lamy
fix translation
Richard Plangger
merge heads
Richard Plangger
merge byte format for bytes & bytearray
Richard Plangger
added descr_mod to W_BytearrayObject + tests, already passing
Richard Plangger
bytearray can now be formatted by %b
Richard Plangger
add test and impl %b format
Richard Plangger
redirect format r to a in py3
Armin Rigo
hg merge py3k
Armin Rigo
Move this loop out of the way of the JIT
Armin Rigo
merge heads
Armin Rigo
hg merge default
Richard Plangger
add more edges cases to the test as described in the pep 461
Richard Plangger
add __mod__ to W_BytesObject, use mod_format to format the bytes object
Armin Rigo
Fix test
Ronan Lamy
format(object(), 'x') now raises an error (since 3.4)
Richard Plangger
merge heads
Richard Plangger
merge translation fix
Richard Plangger
translation fixes
Richard Plangger
merge py3.5 memoryview additions
Ronan Lamy
Fix test on -A
Ronan Lamy
hg merge default
Richard Plangger
apply small fixes. passing all memory view tests
Richard Plangger
lots of details and corner cases to fix memoryview with the new attributes, impl. buffer interface for array.array
Armin Rigo
groupindex() returns a read-only dictproxy now
Armin Rigo
SRE_Match.__repr__
Armin Rigo
Add a pickle test, passes
Armin Rigo
Refactor a bit code for subx(). Add a shortcut like CPython's for buffers for the 2nd argument (e.g. bytearray). Fix the general case which CPython also gets wrong.
Richard Plangger
pass another test for extended slicing by implementing copying for multi dim. buffer/memoryviews
Richard Plangger
memoryview extended slicing passes first test
Richard Plangger
extended slicing for descr_getitem, part of the test passes already
Richard Plangger
merge py3.5
Armin Rigo
hg merge py3k
Armin Rigo
Fix translation (sorry)
Richard Plangger
missing license entry lost by merge
Richard Plangger
merge py3.5
Richard Plangger
merge py3k
Richard Plangger
merge default
Armin Rigo
hg merge py3k
Armin Rigo
hg merge default
Armin Rigo
hg merge py3.5-scandir
Armin Rigo
hg merge py3k
Armin Rigo
hg merge default with suitable refactorings of 990f5b2322e1 for py3k
Armin Rigo
DirEntry.__repr__()
Armin Rigo
inode()
Armin Rigo
hg merge py3.5
Armin Rigo
re.compile().__repr__
Richard Plangger
fixes, uncommented some test lines
Richard Plangger
removed multiply where itemsize is already applied, simplification
Richard Plangger
comment, test simplifiactions, added missing tests not included by merge
Armin Rigo
update
Armin Rigo
hg merge py3k
Armin Rigo
hg merge default
Armin Rigo
re.fullmatch()
Armin Rigo
hg merge py3k
Armin Rigo
hg merge default
Richard Plangger
readded missing hex method to bytes. seemed it got lost during a merge
Richard Plangger
new test, some more fixes after the merge
Richard Plangger
missing test code in last merge
Richard Plangger
merge py3.5
Armin Rigo
Improve testing of validate.py. Fix it.
Armin Rigo
fix test
Armin Rigo
Finally found and fixed the UnicodeDecodeError escaping in RPython
Richard Plangger
descr_tolist now returns a nested list constructed using shape + dim of the memoryview, memoryview now also carries shape,strides and dim as fields to make this possible
Armin Rigo
Fix test
Armin Rigo
Fix for test_kw_defaults_None
Armin Rigo
translation fix
Armin Rigo
Be more careful about encoding/decoding to utf-8, as even the .encode('utf-8') crashes if given the unichar that is normally used for surrogates
Richard Plangger
progress on implementing descr_cast 1 -> N dimensions, translation fixes
Armin Rigo
Test and fix (and remove the temporary dirty fix which only works if there is a list object around)
Armin Rigo
Hack at importlib/_bootstrap_external.py to use the same magic version number for pyc files as the one declared in pypy/interpreter/pycode.py.
Philip Jenvey
merge default
Philip Jenvey
fix: save the handles for CloseHandle
Ronan Lamy
hg merge py3k
Ronan Lamy
hg merge default
Armin Rigo
hg merge py3.5-marshal3
Armin Rigo
close branch, ready to merge
Armin Rigo
hg merge py3.5
Armin Rigo
translation fixes
Armin Rigo
hg merge py3k
Armin Rigo
hg merge default (in particular, 9332dfa6e22e does not apply any more)
4680 commits not shown.