1. Pypy
  2. Untitled project
  3. pypy

Branches

wrap-bytes

View source
wrap-bytes
  • Contributors
    1. Loading...
Author Commit Message Date Builds
250+ commits behind default.
Amaury Forgeot d'Arc
hg merge SomeString-charclass
Amaury Forgeot d'Arc
Improve test, and better "improve" the merge of AsciiString with SomeChar.
Amaury Forgeot d'Arc
hg merge SomeString-charclass
Amaury Forgeot d'Arc
Fix, and add support for "x in 'ascii_str'".
Amaury Forgeot d'Arc
Oops2
Amaury Forgeot d'Arc
oops
Amaury Forgeot d'Arc
hg merge SomeString-charclass, directly into py3k
Amaury Forgeot d'Arc
Add Utf8Char kind. Will be used by space.identifier_w()
Amaury Forgeot d'Arc
Progress, add AsciiChar kind.
Amaury Forgeot d'Arc
Replace no_nul by the more general "character kind".
Amaury Forgeot d'Arc
A branch to experiment with "character class", annotation about the content of a string
Amaury Forgeot d'Arc
A branch to experiment with space.wrap(bytes): only accept proven ascii strings
Philip Jenvey
issue1797: fix get_python_lib(standard_lib=True) per our 'lib-python/3' layout
Amaury Forgeot d'Arc
Backed out changeset 62fc05632b25: wrong branch
Amaury Forgeot d'Arc
switch to unicodedata 6.2.0
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
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
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#
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
Philip Jenvey
fix imports
Philip Jenvey
rekill buffer and some py2 only tests
Philip Jenvey
merge default (8a2e9e0c1676)
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)
Philip Jenvey
merge default (ea86924e88fb)
Philip Jenvey
revert back to usage of finditem/setitem_str
Philip Jenvey
remove extra double quote
Philip Jenvey
merge py3k
Philip Jenvey
merge default
Philip Jenvey
merge py3k
Philip Jenvey
act more like CPython's _PySequence_BytesToCharpArray: trigger MemoryErrors with large __len__ results (unpackiterable doesn't). fixes test_capi.test_seq_bytes_to_charp_array
Philip Jenvey
minor cleanup
Philip Jenvey
another bytes strat fix
Philip Jenvey
shortcut to bytes_w
Philip Jenvey
__builtin__ -> builtins
Philip Jenvey
merge default
Philip Jenvey
fix BytesStrategy iter to wrapbytes
Philip Jenvey
we now need bytes_w too
Philip Jenvey
more progress, have _str methods accept utf-8 encoded strs, for the sake of compat. w/ default
Philip Jenvey
progress
Philip Jenvey
adapt disabled list strats
Philip Jenvey
fix cell/mapdict
Philip Jenvey
adapt tests, progress
Philip Jenvey
merge py3k
Philip Jenvey
merge default
Philip Jenvey
merge py3k
Philip Jenvey
merge default
Philip Jenvey
2to3 the relative import
Philip Jenvey
merge default
Philip Jenvey
adapt http://hg.python.org/cpython/rev/f4271cc2dfb5 from cpython-3.3: we already match 3.3's _sre.MAXREPEAT value for 32 bit, so we also need this associated fix
Philip Jenvey
merge py3k
Philip Jenvey
typo
mattip
avoid running in an exception handler, since raising will chain exceptions
mattip
help Popen find executable on win32
mattip
update import library name on windows
mattip
fix for import lib name (cc1896cf5625) and prepare import lib for tests (with TODO)
mattip
do not rename windows import library in rpython, it belongs in pypy
Philip Jenvey
merge py3k
Philip Jenvey
merge default
Amaury Forgeot d'Arc
On Unicode wide builds (=all except win32), don't merge utf16 surrogate pairs on encoding. This only affects python3 which sets allow_surrogates=False.
mattip
copy import library pragma from cpython
Philip Jenvey
merge default
Philip Jenvey
merge py3k
Philip Jenvey
merge stdlib-3.2.5
Philip Jenvey
close to be merged branch
Philip Jenvey
another BufferError impl. detail
Philip Jenvey
incoming paths are now unicode so their path manipulations should be too -- however rpath doesn't support unicode, so fsencode them for now
Philip Jenvey
merge py3k
Philip Jenvey
merge default
Philip Jenvey
merge py3k
Philip Jenvey
merge default
Philip Jenvey
use cpython 3.3's test which we already adhere to. 3.2.5's test seems bogus (cpython issue15533)
Philip Jenvey
workaround for staticmethod descriptors on PyPy
Philip Jenvey
cpython issue12983: bytes literals with invalid \x escape now raise a SyntaxError
Philip Jenvey
backout ebd9a9125c8c: len shouldn't raise a ValueError here. refs cpython issue21173
Philip Jenvey
merge py3k
Philip Jenvey
merge default
Amaury Forgeot d'Arc
Only run_fork_hooks('parent') if we called run_fork_hooks('before'), otherwise we get strange errors about the Import lock when a parameter does not have the expected type.
Amaury Forgeot d'Arc
Fix the test: fcntl is exactly the function I targeted when I changed space.c_filedescriptor_w().
Philip Jenvey
fix str() w/ out an object specified & kw only args
Amaury Forgeot d'Arc
CPython issue1692335: Exception.args is also set in __new__ (for naive exception subclasses which don't call super().__init__)
Philip Jenvey
we need a collect here
Philip Jenvey
reapply 4899736f152f to lib-python/3/ (no sys.getsizeof on pypy)
Amaury Forgeot d'Arc
Fix translation
Amaury Forgeot d'Arc
hg merge py3k
Amaury Forgeot d'Arc
CPython 3.2.5 seems to be more careful when unwrapping file descriptors. Do the same in pypy, and don't turn OverflowErrors into ValueErrors. This will fix a failure in test_fcntl, but will probably break other tests. Need to watch buildbot.
Philip Jenvey
fix a c int overflow. refs cpython issue15989
Amaury Forgeot d'Arc
Fix BytesSetStrategy: bytes items would be converted to unicode!
Philip Jenvey
merge py3k
Philip Jenvey
merge default
Philip Jenvey
move a misplaced test
Philip Jenvey
exact error messages are an impl detail. we may revisit these in 3.4, when cpython changes many of these messages, anyway
Amaury Forgeot d'Arc
Expat parser now correctly works with unicode input, even when the XML internal encoding is not UTF8 (CPython issue 17089)
Amaury Forgeot d'Arc
mangle keyword-only argname when loading defaults (CPython issue #14607)
Amaury Forgeot d'Arc
Skip some implementation details. One remaining failure in test_weakref is suspect: __len__() returns -7!
Amaury Forgeot d'Arc
pypy has no switchinterval and the test passes without.
Amaury Forgeot d'Arc
hg merge py3k
Philip Jenvey
branch for fixing/adapting the list/dict/etc strategies that were disabled while focusing on py3k compat
Philip Jenvey
merge default
Amaury Forgeot d'Arc
Py3-ify some cpyext tests.
Philip Jenvey
merge default
Philip Jenvey
fix for 32bit platforms again
Philip Jenvey
adapt to py3, which allows bytes or unicode here
Philip Jenvey
merge default
Philip Jenvey
fix for 32bit platforms
Philip Jenvey
adapt to py3
Philip Jenvey
py3k still needs _check_released in buffer_w
Philip Jenvey
space.buffer was killed
Philip Jenvey
this now lives in baseobjspace after the buffer refactor
Philip Jenvey
restore our buffer related error message
Philip Jenvey
MiniBuffer's API actually differs from MemoryView, fix
Philip Jenvey
add a TODO comment
Philip Jenvey
adapt to buffer refactoring
Philip Jenvey
skip for now: requires the not NotImplemented audioop.lin2ulaw
Philip Jenvey
merge default
Philip Jenvey
merge default
Manuel Jacob
Fix translation.
Philip Jenvey
merge default
Philip Jenvey
try to get away away with this simply subclassing MemoryView
Philip Jenvey
kill W_Buffer
Philip Jenvey
adapt to buffer refactor: not everything exposes a __buffer__ now
Philip Jenvey
kill __builtin__.buffer, adjust test
Philip Jenvey
fix translation
Philip Jenvey
fix/cleanup imports
Philip Jenvey
merge default
Philip Jenvey
merge default
Philip Jenvey
add missing test entries
Philip Jenvey
update comment
Philip Jenvey
bump
Philip Jenvey
merge vendor/stdlib
Philip Jenvey
merge default
Philip Jenvey
adjust the test as we follow 3.2.4? behavior now
Philip Jenvey
fix from last merge
Philip Jenvey
kill int.__div__
Philip Jenvey
workaround lack of space.hex/oct on py3k
Philip Jenvey
add int.__ceil/floor__, cleanup
Philip Jenvey
port skips from default
Philip Jenvey
merge default
Philip Jenvey
merge py3k-stdlib-2.7.6-merge
Philip Jenvey
close before merging
Philip Jenvey
2to3
Philip Jenvey
merge default
Philip Jenvey
workaround this obscure py3k only failure
Philip Jenvey
adapt to py3
Philip Jenvey
woops
Philip Jenvey
adapt to py3
Philip Jenvey
2to3
Philip Jenvey
merge default
Philip Jenvey
merge default
2497 commits not shown.