Branches

py3.3-fixes

View source
Author Commit Message Labels Comments Date
250+ commits behind default.
Martin Matusiak
wrap LONGLONG_MASK (fixes #1836)
Martin Matusiak
use helper function to locate the code object
Martin Matusiak
fix incorrect value of kwargname (issue #1831)
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
Philip Jenvey
switch to py3's error message
Philip Jenvey
merge default
Philip Jenvey
adapt d083e472a6ab to py3k: treat get_cleared_operation_error as if it was no exception here too
Philip Jenvey
py3 hasattr goes through getattr
Philip Jenvey
2to3
Philip Jenvey
fix ztranslations
Philip Jenvey
tweak the test runner's custom AssertionError to pass test_exc.test_doc_and_module
Brian Kearns
__builtin__ -> builtins
Brian Kearns
copy_reg is copyreg on py3k
Brian Kearns
merge default
Philip Jenvey
kill more __module__s
Philip Jenvey
merge default
Philip Jenvey
merge default
Philip Jenvey
disallow unicode
Philip Jenvey
fix memoryview.readonly degrading to int from bool
Philip Jenvey
skip this for now as it's also a problem on CPython, albeit not as easy to reproduce on there
Philip Jenvey
use the new buffer interface, adapt tests
Philip Jenvey
adapt tests from default
Philip Jenvey
adjust expected per py3k
Philip Jenvey
kill long literal
Philip Jenvey
merge upstream
Philip Jenvey
merge default
Philip Jenvey
fix translation
Philip Jenvey
merge default
Brian Kearns
marshal.loads use buffers correctly
Brian Kearns
fix test_bytesio
Brian Kearns
kill bufferstr_or_u_w
Brian Kearns
add getarg('y*'), use instead of bufferstr_w here
Brian Kearns
redefine this
Brian Kearns
kill off old buffer interface and its usage
Philip Jenvey
refix: disallow unicode
Philip Jenvey
adapt memoryview related tests to py3
Philip Jenvey
Buffers now require a readonly attribute
Philip Jenvey
adapt error messages to py3, kill t#
Comments 1
Philip Jenvey
merge default
Philip Jenvey
fix translation
Philip Jenvey
fix ztranslation
Philip Jenvey
seqiter is good enough for default so kill our AraryIterator
Philip Jenvey
merge default
Brian Kearns
port some improvements from default
Philip Jenvey
merge upstream
Philip Jenvey
this is supported in py3k
Philip Jenvey
fix
Philip Jenvey
have array support the new buffer interface
Philip Jenvey
add space.w_memoryview
Philip Jenvey
fix fcntl
Philip Jenvey
buffer fixes for py3k unicode/bytes
Philip Jenvey
buffer_w now takes flags, Buffers must now be _immutable_
Philip Jenvey
adapt buffer refactor to py3: o have the old buf methods fallback to the new interface o fix getarg_w unicode handling o kill bufferstr0_new_w
Comments 1
Philip Jenvey
fix imports
Philip Jenvey
rekill buffer and some py2 only tests
Philip Jenvey
merge default (8a2e9e0c1676)
Amaury Forgeot d'Arc
Equality for range objects is now based on equality of the underlying sequences (CPython Issue #13201)
Amaury Forgeot d'Arc
Add range() attributes: start, stop, step.
Amaury Forgeot d'Arc
Same trick as ad57911bdbc4, allows to import ctypes.util.
Amaury Forgeot d'Arc
Undo all changes in lib-python/3
Amaury Forgeot d'Arc
hg merge py3k
Philip Jenvey
merge py3k-fix-strategies: re-enables the disabled strategies (issue1471)
Philip Jenvey
close to be merged branch
Philip Jenvey
utilize decodekey_str
Philip Jenvey
provide a listview_int for bytes
Philip Jenvey
provide the fromkeys fastpath, differently from default, since it's based around unicode
Philip Jenvey
close it when finished (grafted from 308ded060ac8ffbf1b1a16d88486558980b4bc1b)
2677 commits not shown.