Branches

py3.3

View source
py3.3
  • Contributors
    1. Loading...
Author Commit Message Labels Comments Date
93 commits behind default.
Manuel Jacob
hg merge py3k
Manuel Jacob
2to3
Manuel Jacob
hg merge default
Manuel Jacob
Fix syntax error.
Amaury Forgeot d'Arc
Fix syntax error
Amaury Forgeot d'Arc
Propagage no_nul when merging SomeUnicodeStrings
Amaury Forgeot d'Arc
More logs
Amaury Forgeot d'Arc
Fix translation, and add a message to an assertion I don't undestand
Amaury Forgeot d'Arc
os.stat() now accepts fd instead of the path
Amaury Forgeot d'Arc
Add more names to os._have_functions.
Amaury Forgeot d'Arc
oops, fix the merge
Amaury Forgeot d'Arc
hg merge more-rposix, directly in py3.3 branch.
Manuel Jacob
hg merge default
Amaury Forgeot d'Arc
jit.dont_look_inside(forkpty)
Manuel Jacob
Port _decimal to CFFI 1.0.
Manuel Jacob
Port _lzma to CFFI 1.0.
Manuel Jacob
Re-add has_so_extension() to module/imp/importing.py (it was removed during the last merge because I thought it's dead code).
Manuel Jacob
hg merge py3k
Manuel Jacob
Fix translation.
Manuel Jacob
Fix CFFI test.
Manuel Jacob
hg merge default
Manuel Jacob
Port virtualenv workaround for shared builds from the 2.7 stdlib to the 3.2 stdlib.
Manuel Jacob
Merged in yuyichao/pypy/py3k (pull request #326) fix strerror encoding
Yichao Yu
fix strerror encoding
Amaury Forgeot d'Arc
Fix sys.thread_info
Manuel Jacob
Fix a bug that caused e.g. None.__eq__ to evaluate to an unbound function.
Manuel Jacob
Add a fallback to the ncurses library if ncursesw is not available.
Manuel Jacob
Remove 'utf-8' argument from calls to str.encode() in this file because it's already the default argument.
Marius Gedminas
Merge with upstream
Marius Gedminas
Link against libncursesw, for Unicode support
Marius Gedminas
Fix curses text-output functions and methods The fix works for pure ASCII text only. I'm still investigating why Unicode text results in output like 'M-D~EM-D~MM-D~Y'.
Marius Gedminas
Make curses.tigetstr/tigetnum/tigetflag handle Unicode strings Fixes https://bitbucket.org/pypy/pypy/issue/1997/pypy3-cursestigetstr-raises-ctype and https://bitbucket.org/pypy/pypy/issue/2016/pypy3-cursestigetnum-raises-ctype All credit belongs to Thomas Ballinger for creating the original fix for tigetstr() that I copied and pasted to fix tigetnum() and tigetflag() as well.
Manuel Jacob
bytes(obj) should call obj.__index__() instead of obj.__int__(). Fixes #1964
Manuel Jacob
Back out changeset b84f64795e2b because I referred the wrong issue in the commit message.
Manuel Jacob
bytes(obj) should call obj.__index__() instead of obj.__int__(). Fixes #1957.
Manuel Jacob
Expose the __class__ cell to Python code. This fixes issue #1930.
Manuel Jacob
Make this test, which involves threads and signals, more likely to pass.
Manuel Jacob
Fix test.
Manuel Jacob
Add workaround for when host interpreter has slightly different errnos than interpreter under test. See comment for details.
Manuel Jacob
Try to make tests with threads and signals more reliable.
Manuel Jacob
Add the struct module to more tests' spaceconfig (the pure Python version was removed on this branch).
Manuel Jacob
Fix.
Manuel Jacob
Let the trace module ignore some modules which get freezed at translation-time. See comment for details.
Manuel Jacob
Make these tests, which rely on the GIL being released, more reliable. This is necessary on this branch because the GIL semantics changed.
Manuel Jacob
Add the struct module to this test's spaceconfig because the pure Python version of it was removed on this branch.
Manuel Jacob
Call dict.copy() instead of dict.items() here because dict.items() does not copy the contents on Py3k.
Manuel Jacob
Correct indentation to be a multiple of four.
Manuel Jacob
2to3
Manuel Jacob
Add a workaround for Python 2.7.6 raising a SyntaxError when importing a file that contains Py3k-compatible exec(code, d) calls in certain contexts.
Manuel Jacob
Add missing import.
Manuel Jacob
2to3
Manuel Jacob
Remove lib_pypy/_struct.py which doesn't work on py3k and is redundant anyway.
Manuel Jacob
2to3
Manuel Jacob
Fix.
Manuel Jacob
Fix.
Manuel Jacob
2to3
Manuel Jacob
Remove merge conflict marker which was accidently left.
Manuel Jacob
2to3
Manuel Jacob
2to3
Manuel Jacob
2to3
Manuel Jacob
2to3
Manuel Jacob
Use threading.Lock() instead of thread.allocate_lock().
Manuel Jacob
hg merge default
Manuel Jacob
Adapt test to check that type.__eq__(a, b) returns the same as object.__eq__(a, b).
Armin Rigo
Found what looks like the proper fix. It is actually important to keep this StackDepthComputationError: without it, we have no guarantee that the stack depth is uniquely determined from the pycode+offset. This is a subtle requirement of the JIT.
Manuel Jacob
2to3
Manuel Jacob
2to3
Manuel Jacob
Remove test that doesn't apply to py3k.
Manuel Jacob
Fix two previously added tests by making the stack depth computation more conservative (but still slightly incorrect).
Manuel Jacob
Add a test for another stack depth computation error.
Manuel Jacob
(arigo, mjacob) Disable the StackDepthComputationError for now on this branch.
Amaury Forgeot d'Arc
hg merge default
Manuel Jacob
Add a failing test for a stack depth computation bug.
Manuel Jacob
Use Py3k-compatible syntax here.
Manuel Jacob
2to3: There is no space.w_long / space.w_memoryview in Py3k.
Manuel Jacob
Remove unnecessary import (which also breaks translation on py3k).
Manuel Jacob
hg merge 5acade5a80c5 This is part of a series of commits to merge default into the py3k branch. The merge is very large, so it's easier when split into smaller pieces.
Manuel Jacob
Fix stack depth computation.
Manuel Jacob
Remove this test which doesn't really make sense for py3k.
Manuel Jacob
Make sure the deletion of keywords doesn't get turned into a no-op by the AST optimizer.
Manuel Jacob
hg merge
Manuel Jacob
hg merge 8cb5c941efb4 This is part of a series of commits to merge default into the py3k branch. The merge is very large, so it's easier when split into smaller pieces.
Manuel Jacob
Remove test which doesn't make sense on py3k.
Manuel Jacob
hg merge da90c30dc0dd This is part of a series of commits to merge default into the py3k branch. The merge is very large, so it's easier when split into smaller pieces.
Manuel Jacob
Replace tabs by spaces in lib_pypy/_lzma.py.
Amaury Forgeot d'Arc
Restore dont_look_inside annotation
Amaury Forgeot d'Arc
hg merge default
Amaury Forgeot d'Arc
Fix failure in test_extfunc
Amaury Forgeot d'Arc
RPython really replaces time.time by the version in rtime.py: add staticmethod() so that the Python function does not become a method!
Amaury Forgeot d'Arc
Remove all code related to "lazy registration" of functions, not used anymore.
Amaury Forgeot d'Arc
Import rposix &co in extfuncregistry.py. It appears that the "LazyRegistering" stuff actually calls the registering function, so it's not very different from the plain RPython implementation.
Amaury Forgeot d'Arc
Fix for win32
Amaury Forgeot d'Arc
Fix for win32
Amaury Forgeot d'Arc
Fix for win32
Amaury Forgeot d'Arc
hg merge default
Amaury Forgeot d'Arc
Fix test
Amaury Forgeot d'Arc
Fixes
Amaury Forgeot d'Arc
Move module/ll_time.py to rlib/rtime.py
Amaury Forgeot d'Arc
ll_os_path is not used anymore
Amaury Forgeot d'Arc
fix moved symbol
Amaury Forgeot d'Arc
Move ll_os_environ to rposix_environ
Amaury Forgeot d'Arc
Move tests from ll_os_stat to rposix_stat
Amaury Forgeot d'Arc
Move all test_ll_os to test_rposix
Amaury Forgeot d'Arc
Remove dead code in ll_os.py. Almost empty now!
Amaury Forgeot d'Arc
hg merge default
Manuel Jacob
Change some whitespace to make a new revision to test something on the new build slave.
Amaury Forgeot d'Arc
Fix the _curses module to work with Python3. Also fix test_curses which is still in CPython3.2... Apply fix from CPython issue20358.
Manuel Jacob
Change some whitespace to make a new revision to test something on the new build slave.
Amaury Forgeot d'Arc
Fix merge.
Amaury Forgeot d'Arc
Fix translation on Windows
Amaury Forgeot d'Arc
Some fixes for windows
Amaury Forgeot d'Arc
Fix translation
Amaury Forgeot d'Arc
Move ll_os_stat to rposix_stat. Not tested at all on Windows.
Amaury Forgeot d'Arc
Fix after merge
Amaury Forgeot d'Arc
hg merge default
Amaury Forgeot d'Arc
"yield from": Correctly wrap/uwrap the returned value in the StopIteration exception. It's important when the value is a tuple.
Amaury Forgeot d'Arc
Unicodedata: ensure that PUA codes cannot be used to retrieve aliases.
Amaury Forgeot d'Arc
Unicodedb: Add support for Aliases.
Amaury Forgeot d'Arc
Add support for "named sequences" in unicode database
Amaury Forgeot d'Arc
Refactor a bit generate_unicodedb. More objects.
Amaury Forgeot d'Arc
Fix test_numeric_tower. Probably an overlook in CPython _decimal.c
Amaury Forgeot d'Arc
Fix test_ztranslation of _io module
Amaury Forgeot d'Arc
Actually tun the test, and fix.
Amaury Forgeot d'Arc
oops, don't we have tests for this?
Amaury Forgeot d'Arc
Record __context__ exception when close() fails after a failure in flush()
Amaury Forgeot d'Arc
use fsdecode() instead of utf8 to encode unix socket names.
Amaury Forgeot d'Arc
Adjust test: pypy use __qualname__ even for builtin methods.
Amaury Forgeot d'Arc
Be consistent and raise the same RuntimeError for unacquired locks
Amaury Forgeot d'Arc
Fix a RPython crash in test_threading
Amaury Forgeot d'Arc
Precompile _decimal cffi libraries
Amaury Forgeot d'Arc
Add a cffi implementation of the _decimal module.
Amaury Forgeot d'Arc
Add a failing test that shows that interned strings are not always preserved.
Amaury Forgeot d'Arc
Add support for pickling set iterator
Amaury Forgeot d'Arc
Fix compilation of _testcapimodule
Amaury Forgeot d'Arc
Populate __qualname__ in type.__new__, this fixes test_class.py
Manuel Jacob
Adapt test to new function repr (which now contains the qualname).
Manuel Jacob
Adapt tests to changed import error messages.
Manuel Jacob
Use different filenames for the two test_open_exclusive (one is in test_fileio.py and one is in test_io).
Manuel Jacob
Set recursion limit higher in conftest.py because otherwise many app-level tests fail (this is probably because the import system is now written in pure python).
Manuel Jacob
The dictimplementation attribute was renamed to w_dict in 3a37dfe596eb.
Manuel Jacob
_abcoll was renamed to collections.abc.
Manuel Jacob
Let _rawffi.Array make use of the extended internal buffer API.
Manuel Jacob
Adapt this test to the new memoryview API.
Manuel Jacob
Adapt this test to the new memoryview API.
Manuel Jacob
Mark parts of this test as an implementation detail. As it turned out after a short discussion on the issue tracker, this test deliberately checks exactly the wrong behaviour.
Manuel Jacob
Implement 'x' flag on io.open() / io.FileIO.
Manuel Jacob
Fix math.log2(2**1023) by implementing the base-2 special case in rbigint. This commit changes the rpython subdirectory, which it shouldn't because this is the py3.3 branch. But there already are differences in the rpython subdirectory between default and py3.3, which are related to this change. Unfortunately, all these changes can't just be applied to default, because it would change sematics of the Python 2.7 implementation. There should be a discussion about how to …
Manuel Jacob
Partially implement sys.thread_info by returning None (which means unknown) for each field.
Manuel Jacob
Implement a return value of None in getinterpevalloader, which means that no such attribute exists.
Manuel Jacob
Skip this test on PyPy.
Manuel Jacob
Remove dummy _elementtree module which isn't needed for lib-python test_xml_etree_c anymore. Actually there is a test that depends on that there is no such dummy module.
Manuel Jacob
Adapt lib-python test_xml_etree to PyPy.
Manuel Jacob
Fix strange syntax error in lib-python test.
Manuel Jacob
Fix mmap memoryview test.
Manuel Jacob
Implement mmap.read(None), which is the same as mmap.read() or mmap.read(-1).
Manuel Jacob
More fixes to memoryview.
Manuel Jacob
Change memoryview.suboffsets to be an empty tuple instead of None.
Manuel Jacob
Fix (partially) memoryview after merging py3k (which in turn merged py3k-memoryview).
Manuel Jacob
hg merge py3k
Manuel Jacob
Document branch py3k-memoryview.
Manuel Jacob
Introduce whatsnew-pypy3-head.rst and change test_whatsnew to use it.
Manuel Jacob
hg merge py3k-memoryview This fixes issue #1542.
Manuel Jacob
Close to-be-merged branch.
Manuel Jacob
2to3
Manuel Jacob
2to3
Manuel Jacob
2to3
Manuel Jacob
Test and fix memory slices with non-bytes format.
Manuel Jacob
Fix translation.
Manuel Jacob
hg merge py3k
Manuel Jacob
hg merge default
Manuel Jacob
Add a test case for 0ae2fcdca348.
Manuel Jacob
Fix lib-python test: getrefcount is not available on PyPy.
Sebastian Pawluś
hg merge
Sebastian Pawluś
(xando, mjacob) fixing recent changes in pyparser (b3ad7de8410c)
Manuel Jacob
oops
Sebastian Pawluś
fix
Sebastian Pawluś
(xando, mjacob) Raise SyntaxError when compiling multiple statements as single interactive statement
Manuel Jacob
Raise an error if str.encode() or bytes.decode() is called with a non-text encoding. This is necessary because non-text encodings (this is a slightly confusing term for things like the base64 encoding) were reintroduced in Python 3.3, but have to be used with codecs.encode()/decode().
Manuel Jacob
Make unicodeobjects' encode_object and decode_object more symmetric (in preparation of a soon-to-be-committed change).
Manuel Jacob
Remove duplicate code probably introduced by a merge of py3k.
Manuel Jacob
Skip array test in lib-python which doesn't make sense without flexible string representation.
Sebastian Pawluś
(xando, mjacob) implementing new string literals syntax
Manuel Jacob
Remove unneeded code in gendfa -- the generated file doesn't change.
Sebastian Pawluś
(xando, mjacob) Don't allow integer like objects with bytes constructor, although regular integers should be allowed
Amaury Forgeot d'Arc
Fix typo in cffi
Amaury Forgeot d'Arc
Fixes
Amaury Forgeot d'Arc
hg merge py3k Lots of conflicts...
Amaury Forgeot d'Arc
Fix refcount issue in cpython3 test: this object's reference was already "stolen" by a PyTuple_SET_ITEM above.
Amaury Forgeot d'Arc
Adapt compiler test to py3k: coding cookie is only used if source is bytes.
Amaury Forgeot d'Arc
Fix syntax error in test
Amaury Forgeot d'Arc
SSL passwords can be unicode.
Amaury Forgeot d'Arc
Remove space.bytes_w alias
Amaury Forgeot d'Arc
Fix ssl module
Amaury Forgeot d'Arc
hg merge default
Amaury Forgeot d'Arc
py3-ify another test.
Amaury Forgeot d'Arc
Rename function unicodehelper.encode_error_handler(), it is used in many places in py3k, and it's too dangerous to change the raised exception.
Amaury Forgeot d'Arc
Fix a Rpython crash in test_socket
Amaury Forgeot d'Arc
hg merge default
Amaury Forgeot d'Arc
Ignore difference in exception message
Amaury Forgeot d'Arc
Workaround for a real libdb bug. Uncovered by pypy because dictionaries are now ordered, and the first exercised key corresponds to an empty value.
Amaury Forgeot d'Arc
Fix a test, like in 2.7 branch
Amaury Forgeot d'Arc
Need to decode keys before calling newlist_unicode.
Amaury Forgeot d'Arc
Fix a corner case where a key of module.__dict__ could be retrieved as a bytes object. Probably fixes translation as well
Amaury Forgeot d'Arc
Fix various tests
Amaury Forgeot d'Arc
Fix a test
Amaury Forgeot d'Arc
Translation fixes
Amaury Forgeot d'Arc
hg merge default Probably a lot of issues.
Amaury Forgeot d'Arc
Kill time.accept2dyear
Amaury Forgeot d'Arc
Fix stack size of MAKE_FUNCTION and MAKE_CLOSURE opcodes, they changed with the introduction of __qualname__. This should fix test_dis.py
Amaury Forgeot d'Arc
Another fix
Amaury Forgeot d'Arc
Fix translation
Amaury Forgeot d'Arc
Set __qualname__ of builtin methods
Amaury Forgeot d'Arc
Use __qualname__ in type.__repr__
Amaury Forgeot d'Arc
Improve pickling of "reversed" and "enumerate" objects. In addition, reversed is now a type.
Amaury Forgeot d'Arc
crypt.py imports _crypt.
Amaury Forgeot d'Arc
Unskip test about ast.Try, and fix it.
Amaury Forgeot d'Arc
CPython Issue #18025: Fixed a segfault in io.BufferedIOBase.readinto() when raw stream's read() returns more bytes than requested.
Amaury Forgeot d'Arc
Function.__repr__ now uses the __qualname__ attribute.
Amaury Forgeot d'Arc
Port CPython issue18109, which has no test :-/
Amaury Forgeot d'Arc
sigwait() should release the GIL, of course (I thought it was the default?)
Amaury Forgeot d'Arc
The wakeup_fd() file now receives the signal number (instead of \0) Write it carefully so that rpython/ can still be shared with pypy2.7.
Amaury Forgeot d'Arc
in release.py, import lzma instead of _lzma because of an import loop (distutils imports zip which imports lzma). + Rename the .so built by _lzma.py
Amaury Forgeot d'Arc
Add signal.sigpending()
Amaury Forgeot d'Arc
Add signal.pthread_sigmask()
Amaury Forgeot d'Arc
Add signal.sigwait()
Amaury Forgeot d'Arc
Add signal.pthread_kill
Amaury Forgeot d'Arc
dictproxy() should only accept mappings
Amaury Forgeot d'Arc
dictproxy.copy() should use the proxied object and not always return a dict.
Amaury Forgeot d'Arc
Easy additions to cpyext, needed for _testcapi
Amaury Forgeot d'Arc
Update _testcapimodule.c with CPython3.3
Amaury Forgeot d'Arc
Add bytearray.copy(), bytearray.clear()
Amaury Forgeot d'Arc
bytes.count() accepts an int for a character.
Amaury Forgeot d'Arc
Add move validation for ast.Try
Amaury Forgeot d'Arc
Make SimpleNamespace even simpler, because it's now a mutable object.
Amaury Forgeot d'Arc
Fix: 'a' in dictproxy() should not raise KeyError
Philip Jenvey
merge default
Philip Jenvey
add ZLIB_RUNTIME_VERSION
Philip Jenvey
merge py3k
Philip Jenvey
merge default
Stefano Rivera
Remove Range-List optimaziton documentation. It isn't available in py3k
Amaury Forgeot d'Arc
array: Correctly convert bigint object to longlong numbers.
Amaury Forgeot d'Arc
Fix tests to pass with -A and cpython3.3. + Allow some bytes functions to search for integers instead of single chars.
Amaury Forgeot d'Arc
Skip c_bisect tests
Amaury Forgeot d'Arc
Implement CPython Issue #12199: The TryExcept and TryFinally and AST nodes have been unified into a Try node.
Amaury Forgeot d'Arc
Array module: Implement the LongLong typecodes.
Amaury Forgeot d'Arc
audioop: Use cffi instead of ctypes to create mutable buffers also precompile the module.
Amaury Forgeot d'Arc
Fix many tests in interpreter/
Amaury Forgeot d'Arc
Fix compiler tests, broken when I added the __qualname__ attribute.
Amaury Forgeot d'Arc
Full implementation of the audioop module! Reuse large parts of C code from CPython, and use cffi to access it.
Amaury Forgeot d'Arc
Implement abstract methods and properties: they simply fetch the __isabstractmethod__ property from the underlying callables.
3319 commits not shown.