View source
py3k-struct
  • Contributors
    1. Loading...
Author Commit Message Date Builds
250+ commits behind default.
Jason Chu
Also check for a TypeError in test_crasher for struct tests
Jason Chu
Add a small struct test that was also failing from the buildbot for python 3
Jason Chu
Don't accept floats in struct pack/unpack as per py3k test Python 2 used to accept things like floats as arguments to struct.pack/unpack. This was done away with in Python 3, for good reason.
Jason Chu
Pass byte strings into struct.{pack,unpack} instead of str strings when testing
Philip Jenvey
merge default
Philip Jenvey
merge kcr's ssl fixes
Karl Ramm
Accepting that CTX_get_options was signed was causing headaches The flags in the python interpreter(s) are treated as positive numbers, but if the high bit is set it comes back out of openssl as negative. This is pedantically incorrect but produces sanity-enhancing results. (CTX_set_options is also altered similarly for consiswtency as it's the same underlying function behind the macro)
Karl Ramm
this should exercise the problem fixed in 383f13f771fe
Karl Ramm
Leftover errnos were causing error misinterpretation
Philip Jenvey
merge default
Philip Jenvey
merge default
Philip Jenvey
test 979b3dd2b1a5 for ValueErrors
Karl Ramm
python3 ssl constructor actually raises ValueError on illegal protocol
Philip Jenvey
fix surrogatepass
Philip Jenvey
apply another obscure workaround from default (c1a2ac377ca4)
Philip Jenvey
bring over another skip from the default branch
Philip Jenvey
explicitly run the signal handlers on RPY_LOCK_INTR in acquire_timed
Philip Jenvey
cleanup
Philip Jenvey
have lock acquire retry on interrupts
Philip Jenvey
properly decode *all* AST identifiers
Philip Jenvey
partially revert 78c50cd0ed82: this belongs in asdl_py.py
Philip Jenvey
normalize all AST identifiers to NFKC
Philip Jenvey
dictproxy works against utf-8 encoded identifiers from type's dict_w
Philip Jenvey
pep3131: support non-ascii identifiers. thanks amaury for most of the tokenizer work
Philip Jenvey
merge default
Philip Jenvey
fix for appdirect testing
Brian Kearns
merge default
Brian Kearns
merge default
Brian Kearns
speed up datetime.timedelta(microseconds={float,long})
Brian Kearns
remove this outdated comment
Brian Kearns
merge heads
Brian Kearns
merge default
Brian Kearns
improve datetime test_backdoor_resistance
Brian Kearns
fix this exception to match c datetime
Brian Kearns
update datetime name cleanup for changes, add test
Brian Kearns
kill datetime._call_tzinfo_method
Philip Jenvey
merge default
Brian Kearns
merge default
Brian Kearns
reapply py3k modifications to _cffi_backend that were lost in the delete/backout
Brian Kearns
merge default
Brian Kearns
merge default
Brian Kearns
merge heads
Brian Kearns
make sure _sha1.py is a rename of _sha.py
Brian Kearns
more datetime cleanups
Brian Kearns
fix comment
Brian Kearns
merge default
Brian Kearns
merge default
Brian Kearns
merge default
Brian Kearns
small cleanups
Brian Kearns
merge default
Brian Kearns
clean up datetime pickle support
Brian Kearns
use struct.pack for datetime getstate (faster, works in both py2/py3)
Brian Kearns
further reduce diffs in datetime.py between 2.x and 3.x
Philip Jenvey
unused imports
Brian Kearns
merge default
Philip Jenvey
fix translation, hack, blerg
Philip Jenvey
use the new space.sequence_index for operator.indexOf for consistency's sake (though this may be slower until sequence_index gets a jitdriver)
Philip Jenvey
add range.index and make a couple fixes to contains/count
Brian Kearns
merge heads
Brian Kearns
merge default
Philip Jenvey
merge default
Brian Kearns
merge heads
Brian Kearns
merge default
Philip Jenvey
passthru unicode in dict iter reprs
Brian Kearns
merge default
Brian Kearns
merge heads
Brian Kearns
some fixes for _sqlite3 on py3k
Brian Kearns
merge default
Philip Jenvey
simplify
Manuel Jacob
Remove py3k attribute from base object space. It's not necessary anymore because the flow object space is independent from the interpreter now.
Brian Kearns
merge default
Brian Kearns
merge default
Brian Kearns
merge default
Brian Kearns
merge heads
Brian Kearns
merge default
Brian Kearns
more _sqlite3 fixes
Brian Kearns
some fixes for _sqlite3 on py3k
Brian Kearns
merge default
Brian Kearns
pep8
Brian Kearns
unnecessary in py3k
Brian Kearns
merge default
Brian Kearns
spacing for readability
Brian Kearns
improve datetime error messages, test
Brian Kearns
fix datetime tests
Philip Jenvey
backout 022c349efb36
Brian Kearns
another datetime microsecond rounding test that was failing before
Brian Kearns
merge heads
Brian Kearns
fix datetime after rounding optimizations
Brian Kearns
improve test for timedelta microsecond rounding
Philip Jenvey
Philip Jenvey
sneakier
Brian Kearns
typos
Brian Kearns
merge default
Brian Kearns
merge heads
Brian Kearns
merge default
Brian Kearns
port datetime arg handling cleanups from 72e79a8305c7 and 43e61ecb2e40
Brian Kearns
add a test for 768e6f96277d
Brian Kearns
port some datetime changes from 72e79a8305c7
Brian Kearns
merge default
Brian Kearns
port datetime changes in b62868397a09
Brian Kearns
port datetime optimizations in 91b8e2795113 and 043d831e8736
Philip Jenvey
type check SRE_Pattern's pattern object when compiling and allow it to be None
Philip Jenvey
+target
Philip Jenvey
error message impl details (we'll probably try to match these in 3.3)
Philip Jenvey
match cpython: top level defs may have CO_NOFREE
Philip Jenvey
we expect the pypy specific CO_CONTAINSGLOBALS
Philip Jenvey
impl details
Philip Jenvey
fix and test execve's fsencoding of env. fsencode the other obvious paths/cmd line args
Philip Jenvey
merge upstream
Philip Jenvey
fix cpython impl detail
Philip Jenvey
add str.__iter__
Philip Jenvey
accommodate pure python pickle: these are automatically ignored when provided by _pickle
Philip Jenvey
update code object's repr
Philip Jenvey
match our output
Manuel Jacob
Exact argument error messages are an implementation detail.
Manuel Jacob
hg merge default
Manuel Jacob
Fix translation (?).
Brian Kearns
merge default
Brian Kearns
merge default
Brian Kearns
merge default
Brian Kearns
hg mv lib-python/3.2 lib-python/3
Philip Jenvey
forgot this
Amaury Forgeot d'Arc
hg merge default
Amaury Forgeot d'Arc
Fix most failures in module/zipimport
Amaury Forgeot d'Arc
Fix _socket tests with -A
Amaury Forgeot d'Arc
Fix _io tests run with -A
Amaury Forgeot d'Arc
Fix translation
Amaury Forgeot d'Arc
Define the python3 version of the math test cases at applevel, this fixes tests run with -A.
Amaury Forgeot d'Arc
Split test_ll_math.py and put test cases in a file importable by python3.
Philip Jenvey
improve lsprof/cProfile's naming of built-in functions. it still differs from CPython, but ours is clearer
Philip Jenvey
print enables PyPy's CO_CONTAINSGLOBALS, gc_collect
Philip Jenvey
we probably don't care whether or not __file/cached__ are relative before site makes them absolute
Philip Jenvey
reapply another missed @xfail from 2.7
Philip Jenvey
allow -i a chance in this case
Philip Jenvey
special case the error message when -c's arg cannot be utf8 encoded
Philip Jenvey
is it local? I'm going to ask you just one more time, and it's local?
Philip Jenvey
our _pickle is now totally unnecessary
Philip Jenvey
BytesIO.__new__() must return an open BytesIO, for pickling
Philip Jenvey
only complain about stdout and actually trigger the flushing, and before _io's autoflusher
Philip Jenvey
explicitly flush stdout/err at shutdown and squawk if it fails
Philip Jenvey
only inherit compiler flags in PyCF_MASK. fixes comparison of code objects generated via PyCF_ONLY_AST
Philip Jenvey
fsencode/decode compile/code's filenames and encode source to utf8 at app level: surrogates can trigger UnicodeEncodeErrors
Manuel Jacob
Really fix translation.
Manuel Jacob
hg backout b4a002fda4cc
Manuel Jacob
hg merge
Manuel Jacob
PyPy raises TypeError instead of ValueError here.
Manuel Jacob
Implement release() and context manager protocol on memoryview.
Philip Jenvey
64bit translation fix
Philip Jenvey
translation fix
Philip Jenvey
fix translation
Philip Jenvey
fix
Philip Jenvey
imp.load_package is undocumented, deprecated in 3.3 and doesn't seem widely used anyway
Philip Jenvey
fsdecode sys.executable/argv
Philip Jenvey
rework the internal fsencode/decode to use the new 'locale' codec and have import use it
Philip Jenvey
cpython issue1574217: don't mask non AttributeErrors from __class__
Philip Jenvey
our imp.find_module won't raise a SyntaxError like cpython's
Philip Jenvey
merge default
Philip Jenvey
reapply probably the last couple of check_impl_detail workarounds from 2.7
Philip Jenvey
the caret location is an impl detail (reapplied from 2.7)
Philip Jenvey
hopefully fix compilation/defines on most platforms
Philip Jenvey
add a 'locale' codec for use by fsdecode/encode during interpreter bootstrap, works via POSIX wcstombs/mbrtowc (and a chunk of C from cpython)
Philip Jenvey
avoid recursion issues at startup by pre-importing the utf-8/latin1 encodings (like cpython does)
Philip Jenvey
revert 54d5f5238df9 and import latin_1 additionally as cpython does guarantee these have already been imported at startup
Philip Jenvey
fix an obscure issue I broke in 894b0fa3245b
Philip Jenvey
simplify
Philip Jenvey
substitute gc.getreferents for getrefcount (thanks fijal)
Philip Jenvey
2to3
Philip Jenvey
re-add sysconfig._parse_makefile (it doesn't hurt), skip features PyPy doesn't support
Philip Jenvey
workaround cpython implementation details and differing error messages (for now)
Philip Jenvey
adapt long suffix tests to py3
Philip Jenvey
fix
Philip Jenvey
hide app_main's frames. this breaks sys.exc_info but py3 offers a workaround
Philip Jenvey
apply 2.7 workarounds
Philip Jenvey
another py3 fatality
Philip Jenvey
make default_factory a property to match cpython
Philip Jenvey
PyPy's exception message differs here
Philip Jenvey
cpython issue13188: generators now use value.__traceback__ when no traceback was specified
Philip Jenvey
apply workarounds from 2.7
Philip Jenvey
special case non BaseException values in excepthook
Philip Jenvey
handle unencodable strings in displayhook
Philip Jenvey
adapt buffers' new readline to py3 (return bytes)
Manuel Jacob
hg merge default
Philip Jenvey
support __context__ and __traceback__, be stricter about __cause__
Philip Jenvey
add sys._xoptions
Philip Jenvey
cpython issue8202: include -m in the initial argv (more like -c does)
Manuel Jacob
2to3
Manuel Jacob
Implement str.format_map().
Philip Jenvey
kill stupid softspace because it's stupid
Philip Jenvey
merge upstream
Philip Jenvey
make __file/cached__ overwriting optional in _run_compiled_module as app_main doesn't want it
Philip Jenvey
ensure __cached__
Manuel Jacob
hg backout 235bcc368b18
Manuel Jacob
hg backout a20722978155
Manuel Jacob
Same here.
Manuel Jacob
Don't avoid returning -1 as hash value.
Amaury Forgeot d'Arc
Fix docstring-only test functions (a hack to test python3-only syntax)
Manuel Jacob
Adapt for py3k.
Manuel Jacob
hg merge default
Philip Jenvey
utilize the new rpython enumerate on strs
Philip Jenvey
merge default
Manuel Jacob
hg merge py3k
Manuel Jacob
PyPy doesn't mask the exception.
Manuel Jacob
PyPy's pure python implementation raises IndexError in this case.
Philip Jenvey
redo the 'reset to g' from 52765baaf1aa so it actually works this time
Philip Jenvey
fix getnameinfo's handling of ipv6 addrs
Philip Jenvey
cleanup destruction now that we're fully responsible for it
Philip Jenvey
fix BufferedReader.seek to always check the underlying raw's seekability
Philip Jenvey
merge default
Manuel Jacob
As the comment states, this test is too strong indeed.
Manuel Jacob
hg merge default
Manuel Jacob
hg merge py3k
Manuel Jacob
Only ignore EBADF.
Manuel Jacob
Set sys.std{in,out,err} to None when opening the file descriptors fails instead of raising an error which cannot be printed anyway.
Amaury Forgeot d'Arc
Fixes for applevel tests in sys modules: put test code in a function with a the same name. Also add the traceback to the assertion message.
Amaury Forgeot d'Arc
Fixes for _rawffi tests
Amaury Forgeot d'Arc
Enable _cffi_backend module.
Amaury Forgeot d'Arc
Push and pull until test.py -A passes _cffi_backend module.
Amaury Forgeot d'Arc
Fix test_ztranslation: we need to mock another function
Amaury Forgeot d'Arc
Fix cffi support for FILE*
Philip Jenvey
I'm a socket
Philip Jenvey
try to workaround W_RSocket.__del__ failing check_graph_of_del_does_not_call_too_much (translation)
Philip Jenvey
oops
Philip Jenvey
kill tuple raising leftovers, cleanup docs
Philip Jenvey
tighten getnameinfo to only accept IP addresses
Philip Jenvey
add a dealloc warning to sockets
Philip Jenvey
update to the new warn API
Philip Jenvey
merge default
Philip Jenvey
2to3
Philip Jenvey
merge default
Philip Jenvey
fix some IOError -> UnsupportedOperation
Philip Jenvey
attempt to fix test_fork.test_nested_import_lock_fork (the test seems to require translation)
Philip Jenvey
cache UnsupportedOperation to avoid issues w/ io being frozen, fix __module__ again
Philip Jenvey
revert the 'reset to g' from 52765baaf1aa, as we're backed by rpython's rfloat.double_to_string we need 'r'
Amaury Forgeot d'Arc
Fix many -A tests in module/gc
Amaury Forgeot d'Arc
Fix -A tests in module/_ffi/test/test_struct.py
Amaury Forgeot d'Arc
Fix -A tests in module/select
Amaury Forgeot d'Arc
Fix most -A tests in module/zipimport
Philip Jenvey
2to3
Philip Jenvey
fix test_newformat.test_sign: update defaults per the new float str
Philip Jenvey
fix test_lib_pypy
Philip Jenvey
fix test_getfilesystemencoding, expect the canonical name
Amaury Forgeot d'Arc
Fix module/thread tests when run with -A
Amaury Forgeot d'Arc
Fix most -A tests in module/imp
Amaury Forgeot d'Arc
Fix bz2 tests when run with the -A option.
Amaury Forgeot d'Arc
Run -A tests with host python2 (to import pypy directories), but use --python=bin/pypy-c
Amaury Forgeot d'Arc
Implement BytesIO.getbuffer()
Philip Jenvey
apply workaround from 2.7
Philip Jenvey
this now passes
Philip Jenvey
really 2to3 this
Philip Jenvey
fix test_syslog
1697 commits not shown.