Commits

Author Commit Message Labels Comments Date
Amaury Forgeot d'Arc
test_bz2: Use the "with" statement because del won't close the file and exceed ulimit.
Branches
py3k
Antonio Cuni
improve this test. It took me a second to understand what was going on, better to explain more explicitly :)
Branches
py3k
Amaury Forgeot d'Arc
Use a simpler implementation of random.getrandbits() which does not waste any bit.
Branches
py3k
Philip Jenvey
don't lose the cmd line script's filename
Branches
py3k
Amaury Forgeot d'Arc
With PyPy, builtin functions also have a __code__; check __code__.co_filename. 2.7 had the same tweak.
Branches
py3k
Amaury Forgeot d'Arc
Fix skipped test
Branches
py3k
Amaury Forgeot d'Arc
Test the test with -A, fix it, then fix the implementation.
Branches
py3k
Amaury Forgeot d'Arc
Fix typo in pyrepl.
Branches
py3k
Amaury Forgeot d'Arc
bytes can only contain ASCII literal characters.
Branches
py3k
Philip Jenvey
make type.__prepare__ a classmethod to match cpython (though it doesn't seem to matter)
Branches
py3k
Philip Jenvey
whitespace
Branches
py3k
Philip Jenvey
update the exception message
Branches
py3k
Amaury Forgeot d'Arc
Skip this test completely, it passes for bad reasons on CPython, loops forever when the expected TypeError is not raised, and is based on false assumptions anyway. (very early in py3k, bytes strings used to be mutable...)
Branches
py3k
Amaury Forgeot d'Arc
cpyext: add PyUnicode_CompareWithASCIIString
Branches
py3k
Amaury Forgeot d'Arc
Fix compilation and translation.
Branches
py3k
Amaury Forgeot d'Arc
hg merge default
Branches
py3k
Philip Jenvey
cleanup exec tests & error message
Branches
py3k
Philip Jenvey
grp must now fsencode/decode
Branches
py3k
Philip Jenvey
add type.__prepare__
Branches
py3k
Philip Jenvey
kill StandardError
Branches
py3k
Amaury Forgeot d'Arc
Translation fix
Branches
py3k
Amaury Forgeot d'Arc
hg merge default
Branches
py3k
Amaury Forgeot d'Arc
When attribute string cannot be encoded to utf8, raise AttributeError, not UnicodeError.
Branches
py3k
Amaury Forgeot d'Arc
Skip gc.getrefcount() in tests.
Branches
py3k
Amaury Forgeot d'Arc
Improve long.to_bytes(). It's not quadratic anymore, but my implementation of result[::-1] is probably not very efficient.
Branches
py3k
Amaury Forgeot d'Arc
Refresh our copy of _sre.c used in cpyext tests.
Branches
py3k
Philip Jenvey
now a py3 AttributeError but only on PyPy
Branches
py3k
Philip Jenvey
now an AttributeError on py3
Branches
py3k
Philip Jenvey
typo
Branches
py3k
Amaury Forgeot d'Arc
Fix most remaining failures in test_typeobject.py
Branches
py3k
  1. Prev
  2. Next