Branches

py3.3-fixes3

View source
Author Commit Message Labels Comments Date
250+ commits behind default.
Martin Matusiak
add tests for .name attribute on sha objects
Martin Matusiak
add .name attribute for all instances of shaXXX classes
Martin Matusiak
port _sha512.py module test to py3
Martin Matusiak
port _sha256.py to py3
Martin Matusiak
fix unbound variable
Martin Matusiak
add missing name attribute for MD5Type
Philip Jenvey
Merged in numerodix/pypy/py3.3-fixes2 (pull request #268) [py3.3] bz2: disallow pickling for compressor/decompressor (cpython compat)
Philip Jenvey
Close branch py3.3-fixes2
Philip Jenvey
merge py3k
Philip Jenvey
fix preserving the exception state between generator yields for the 3rd time
Philip Jenvey
merge default
Philip Jenvey
merge py3k
Philip Jenvey
fix another use of _mixin_
Philip Jenvey
merge py3k
Philip Jenvey
merge default
Philip Jenvey
Merged in numerodix/pypy/py3.3-fixes2 (pull request #267) sys.exit() should produce a SystemExit with code is None
Martin Matusiak
sys.exit() should produce a SystemExit with code is None
Maciej Fijalkowski
Merged in numerodix/pypy/py3.3-fixes2 (pull request #266) make test_debugmallocstats cpython only
Martin Matusiak
make test_debugmallocstats cpython only
Philip Jenvey
merge default
Philip Jenvey
merge default
Philip Jenvey
Merged in kiilerix/pypy/py3.3 (pull request #257) py3k: implement PyCode.dump() properly (issue 1827)
kiilerix
Make pycode.dump work for py3 opcodes on py2 (issue 1827) Python 3 dis.py and opcode.py are "backported" as more or less trivial copies. This code duplication seems like the least intrusive solution.
Philip Jenvey
fix translation
Philip Jenvey
fix tests with py2 metaclass syntax that's broken on py3
Philip Jenvey
issue1835: (numerodix) fix dir(None)
Philip Jenvey
no longer a need for this workaround
Philip Jenvey
cleanup
Philip Jenvey
might as well return a list to match cpython
Philip Jenvey
Merged in kvas/pypy/py3.3 (pull request #261) Fixes for remaining test failures in test_builtin.py
Vasily Kuznetsov
Remove debugging help in the test.
Vasily Kuznetsov
Fix test_open_default_encoding in lib-python/3/test/test_builtin.py.
Vasily Kuznetsov
Upgrade the warning from format(object, fmt_str) with non-empty format string.
Vasily Kuznetsov
Implement custom __dir__ for tracebacks following cpython example.
Vasily Kuznetsov
Add more tests for dir(...) and .__dir__().
Philip Jenvey
merge py3k
Philip Jenvey
integrate cleanup from default branch, simplify
Philip Jenvey
simplify
Philip Jenvey
merge py3k
Philip Jenvey
merge default
Philip Jenvey
merge upstream
Philip Jenvey
merge py3k
Philip Jenvey
rekill this
Philip Jenvey
follow up to 1f716034739d: use a set (actually a dict) to avoid potential duplicates in free_vars and ensure has_free is now set
Alex Gaynor
Merged in numerodix/pypy/py3.3-fixes (pull request #263) wrap LONGLONG_MASK (fixes #1836)
Martin Matusiak
wrap LONGLONG_MASK (fixes #1836)
Philip Jenvey
merge py3k
Philip Jenvey
merge default
Philip Jenvey
n/a to py3
Philip Jenvey
fix translation (newlist vs wrap) and match cpython a bit more
Philip Jenvey
Merged in numerodix/pypy/py3.3 (pull request #255) factor dir() built-in out into object, type and module methods
Martin Matusiak
merging
Martin Matusiak
omit sorting the items in dir/type/module __dir__, like cpython does
Martin Matusiak
merging
Martin Matusiak
use space.call_method over w_result.sort
Martin Matusiak
Merged pypy/pypy/py3.3 into py3.3
Martin Matusiak
prefer use of __mro__ instead of recursing the inheritance hierarchy
Martin Matusiak
factor dir() built-in out into object, type and module methods This happened in bugs.python.org/issue12166
Philip Jenvey
add SimpleNamespace.__repr__
Philip Jenvey
merge py3k
Philip Jenvey
issue1804: fix nonlocal decls not being added to free_vars
Philip Jenvey
merge default
Philip Jenvey
Merged in numerodix/pypy/py3.3-fixes (pull request #258) fix incorrect value of kwargname (issue #1831)
Martin Matusiak
use helper function to locate the code object
Martin Matusiak
fix incorrect value of kwargname (issue #1831)
Philip Jenvey
redo 7e04e788d910 without breaking translation
Manuel Jacob
Backout 7e04e788d910, it seems like it broke translation.
Philip Jenvey
return in generators now allowed
Philip Jenvey
fix test_validate
Philip Jenvey
support the old GIL API
Philip Jenvey
add the module name
Philip Jenvey
adjust impl details
Philip Jenvey
fix yield from returns
Amaury Forgeot d'Arc
another translation fix
Amaury Forgeot d'Arc
Fix translation
Amaury Forgeot d'Arc
Implement faulthandler.enable() and disable()
Amaury Forgeot d'Arc
lzma: add basic decompression.
Amaury Forgeot d'Arc
Add 'documentation' for new module.
Amaury Forgeot d'Arc
Just enough of lzma for the first compress() test.
Amaury Forgeot d'Arc
A minimal _lzma module, allows to import lzma.py. Test suite will fail...
Amaury Forgeot d'Arc
Python3.3 rewrote the bz2 module at applevel, the C part only contains compressor objects.
Amaury Forgeot d'Arc
Thanks to the new imporlib, we don't ignore the optimize flag anymore.
Amaury Forgeot d'Arc
Use the latest version of _posixsubprocess.c from CPython. Fix tests.
Philip Jenvey
fix space.sys.debug tweak leaking outside of these tests
Philip Jenvey
merge py3k
Philip Jenvey
merge default
Philip Jenvey
avoid deprecated imp.get_suffixes
Philip Jenvey
fill in _STRUCT_TM_TIMES
Philip Jenvey
allow generators to return values (part of pep380)
Philip Jenvey
hopefully fix translation (tscmp.c:5:10: fatal error: 'tscmp.h' file not found)
Philip Jenvey
fix translation: uid is based on id (not rpython), we need to use getaddrstring instead
Philip Jenvey
merge upstream
Philip Jenvey
simplify
Philip Jenvey
pep8/use oefmt
Philip Jenvey
call this args_w per the naming conventions
Philip Jenvey
reapply another workaround from the py3k branch
Amaury Forgeot d'Arc
Apply all PyPy specific tweaks to the test suite that were removed with the merge of stdlib 3.3.
Armin Rigo
merge heads
Vasily Kuznetsov
Add a test for interaction between -O and optimize=0.
Vasily Kuznetsov
Test cleanup.
Ian Foote
Fix error message for converting surrogate to int
Attila Gobi
Merging py3.3
Attila Gobi
fixing return type of _compare_digest
Attila Gobi
Introducing the missing method _compare_digest in the module operator. The method is used in the hmac module.
Vasily Kuznetsov
Implement docstring stripping for compile(..., optimize=2).
Armin Rigo
Merged in numerodix/pypy/py3.3 (pull request #252) py3.3 fixes for reprlib tests
Martin Matusiak
add custom __repr__ to Cell
Martin Matusiak
fix repr test_descriptors to accept pypy repr for dict.items
Martin Matusiak
fix repr test_builtin_function to accept pypy repr for string split method
Vasily Kuznetsov
Handle optimize=1 in calls to compile builtin function (remove asserts).
Martin Matusiak
add _csv test_quotechar
Martin Matusiak
add _csv test_delimiter test and replicate cpython error handling
Philip Jenvey
fix function identifier clashing breaking translation
Philip Jenvey
reapply PyPy workarounds to fix build_ext
Philip Jenvey
restore the sysconfig_pypy usage
Philip Jenvey
reapply workarounds from py3k branch
Philip Jenvey
clarify
Philip Jenvey
__basic/itemsize__ are impl details
Philip Jenvey
skip new GIL API test
Philip Jenvey
testing of __del__ needs a gc_collect
Philip Jenvey
missing import
Philip Jenvey
skip hash randomization test
Vasily Kuznetsov
Refuse to sum bytes or bytearrays like cpython3 sum.
Vasily Kuznetsov
Additional checks related to pickling of zip iterators.
Vasily Kuznetsov
Pickling of iterators produced by zip(seq, ...).
Vasily Kuznetsov
Fixed test_construct_singletons for Ellipsis and NotImplemented as well, so now ellipsis and NotImplementedType can be constructed.
Vasily Kuznetsov
Added a test for the situation when one of the iterators given to map has been already advanced (suggested by Armin Rigo).
Vasily Kuznetsov
Fixed pickling of iterators produced by map(func, iter, ...).
Arjun Naik
Merge
Arjun Naik
Changed the _get_inttime() to raise OverflowError.
Armin Rigo
merge heads
Vasily Kuznetsov
Fixed pickling of iterators produced by filter(func, iter).
Armin Rigo
merge heads
Valentina Mukhamedzhanova
Add test_decompress_eof_incomplete_stream to test_zlib.py.
Armin Rigo
Merged in numerodix/pypy/py3.3 (pull request #249) Removing sys.flags.division_warning (removed in 3.3)
Martin Matusiak
Removing sys.flags.division_warning (removed in 3.3)
Valentina Mukhamedzhanova
Merge heads.
Valentina Mukhamedzhanova
Fix zlib's test_decompress_eof.
Armin Rigo
merge heads
Attila Gobi
creating the RTLD_* constants in the module posix
Armin Rigo
merge heads
Armin Rigo
Remove unused return value
Armin Rigo
Oops. If, during translation, we execute app-level code that contains a "continue" in a "try:" block, and if we're translating with "-Ojit", then crash. This case occurs in the py3.3 branch.
Amaury Forgeot d'Arc
_posixsubprocess is not optional anymore.
Martin Matusiak
Merged pypy/pypy/py3.3 into py3.3
Martin Matusiak
fixing _csv lineterminator exception message
Martin Matusiak
patching cpython3 csv test as the exception message has bad grammar
Vasily Kuznetsov
__dir__ is allowed to return any iterable like in cpython3.
Boglarka Vezer
fixing typo in range hash function
Vasily Kuznetsov
__dir__ is allowed to return a tuple (it's converted to list like in cpython3).
Arjun Naik
Added missing log2 in math module.
Arjun Naik
Added the missing log2 in the math module.
Vasily Kuznetsov
NoneType can be constructed.
Philip Jenvey
fix the version
Philip Jenvey
merge vendor/stdlib-3.3.5
Philip Jenvey
fix the version
Philip Jenvey
fix OSError aliases (Environment/IOError) causing an obscure clash of names w/ export_struct as used by cpyext. fixes translation but breaks their cpyext API names for now (+ a failing test for this)
Philip Jenvey
merge py3k
Philip Jenvey
merge default
Philip Jenvey
issue1556: cache json object keys (cpython issue7451) in _pypyjson and re-enable it now that it fully passes test_json
Philip Jenvey
fix bytes result
Philip Jenvey
Merged in yuyichao/pypy/py3k-posix-decode (pull request #247) fix ascii decoding error in the posix module
Yichao Yu
fix ascii decoding error in the posix module
Philip Jenvey
merge py3k
Philip Jenvey
fix from previous merge
Philip Jenvey
merge default
Philip Jenvey
merge py3k
Philip Jenvey
merge default
Philip Jenvey
fix per py3
Philip Jenvey
merge default
Philip Jenvey
merge upstream
Philip Jenvey
restore bytes/memoryview operations
Philip Jenvey
merge default (4841c3bead14)
Philip Jenvey
Merged in yuyichao/pypy/py3k-reset-locale (pull request #246) initialize LC_CTYPE instead of LC_ALL
Yichao Yu
initialize LC_CTYPE instead of LC_ALL
Amaury Forgeot d'Arc
Python3.3 slightly changed the error message
Amaury Forgeot d'Arc
Fix for cpython Issue #17983
Amaury Forgeot d'Arc
Apply fix for Cpython Issue15839
Amaury Forgeot d'Arc
Apply fix for Cpython Issue14857
Amaury Forgeot d'Arc
Another fix
Amaury Forgeot d'Arc
Fix some cpyext tests.
Amaury Forgeot d'Arc
PEP3151: OSError is IOError is EnvironmentError is socket.error is select.error!
Amaury Forgeot d'Arc
BlockingIOError is now in the exceptions module.
Amaury Forgeot d'Arc
mmap.error is OSError
Amaury Forgeot d'Arc
Memoryview objects are now hashable.
Amaury Forgeot d'Arc
Make memoryview objects weakrefable
Amaury Forgeot d'Arc
Implement "yield from" opcode
Philip Jenvey
issue1797: fix get_python_lib(standard_lib=True) per our 'lib-python/3' layout
Philip Jenvey
fix (though unicodedata.ucd_<current_ver> doesn't exist on cpython anyway)
Amaury Forgeot d'Arc
Fix exception handling in _ssl: it now use distinct Exception classes. + Small hacks until "import ssl" succeeds.
Amaury Forgeot d'Arc
Redo 62fc05632b25: unicodedata 6.2.0 for Python 3.3
Amaury Forgeot d'Arc
hg merge py3.3
Amaury Forgeot d'Arc
Backed out changeset 62fc05632b25: wrong branch
Amaury Forgeot d'Arc
switch to unicodedata 6.2.0
Philip Jenvey
merge py3k
Philip Jenvey
unneeded import
Philip Jenvey
avoid triggering the now lazy __context__ setup 'up front' (when grabbing it from the current frame) when breaking __context__ chain cycles, for now. this is a trade-off: we won't break some cycles in obscure situations for the sake of not paying a cost in probably more situations
Philip Jenvey
improve __context__ setup vis-a-vis the JIT: defer its setup, when possible, until __context__ is explicitly requested by searching for it through the traceback. it's not possible to defer when __context__ comes from the current frame as the new exception eventually overwrites it (in frame.last_exception) in that case we do the setup sooner, when recording the traceback, with little cost.. until we need to break __context__ chain cycles (wh…
Philip Jenvey
specialize range iterators when the ranges fit into machine sized integers and further specialize when step is not specified (like the default branch does)
Philip Jenvey
w_kw_defs is quasi-immutable
Philip Jenvey
prefer finditem_str
Philip Jenvey
reduce diff w/ default
Philip Jenvey
_utf8 is quasi-immutable
Philip Jenvey
prefer find/setitem_str shortcuts (grafted from f48daf83db6a568e814467d1e2132ee8d046b1d3)
Philip Jenvey
now an IOError subclass
Philip Jenvey
adapt to py3 and add get/setdefault
Philip Jenvey
gdbm -> _gdbm
Philip Jenvey
gdbm -> _gdbm
Philip Jenvey
merge py3k
Philip Jenvey
ignore the py3k branch
Philip Jenvey
merge default
Philip Jenvey
adapt to py3
Philip Jenvey
fix the import
Philip Jenvey
have 'execfile' accept null bytes
Philip Jenvey
merge default
Philip Jenvey
merge default
Philip Jenvey
re-enable the missed BytesListStrategy
Philip Jenvey
adapt to py3
Philip Jenvey
kill windows' popen funcs
Philip Jenvey
make our import tag prefix 'pypy3' to avoid clashing w/ pypy2 cffi's compiled libs within __pycache__
Philip Jenvey
_winreg -> winreg
Philip Jenvey
fix windows' translation
Philip Jenvey
hopefully fix translation
Philip Jenvey
forgot to re-enable set's ByteStrategy, fix
Philip Jenvey
fix space.hash to properly handle 'longs'
Philip Jenvey
accommodate struct.error instead of TypeError now
Philip Jenvey
thread -> _thread
Philip Jenvey
skip these when hosted on a narrow build, they require a fully fledged wide build
Philip Jenvey
assume narrow build behavior here when hosted on a narrow python
Philip Jenvey
oops, avoid we_are_translated at module scope
Philip Jenvey
also handle surrogates when hosted on a narrow build
Philip Jenvey
skip when the fsencoding can't handle this filename
Philip Jenvey
ignore LocaleErrors
Philip Jenvey
2to3
Philip Jenvey
attempt to get more debug output
Amaury Forgeot d'Arc
Fix an obscure translation issue, maybe because runicode functions are called with two kinds of strings.
Manuel Jacob
hg merge default
Manuel Jacob
hg merge default
Philip Jenvey
workaround a py3k appdirect failure
Philip Jenvey
disable for now, it's causing obscure crashes: https://bitbucket.org/pypy/pypy/issue/1773
Philip Jenvey
fix potential UnicodeEncodeErrors under pytest.py --resultlog: the captured output may come in as unicode (grafted from ef6d8454c0a6cd10097c82056727f5cef8b7830e)
Philip Jenvey
update the sre support code to CPython 3.2.5's
Philip Jenvey
fix cpyext's version
Philip Jenvey
fix handling of EnvironmentError filenames
Philip Jenvey
fix jit translation, now that elidable is stricter
Amaury Forgeot d'Arc
Finish sys.implementation
Amaury Forgeot d'Arc
Skip a test in test_re
Philip Jenvey
handle new wide build behavior per 5494a374d576
Philip Jenvey
sync w/ default
Philip Jenvey
match cpython's error message
2740 commits not shown.