aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Review the usage of tmpname in this file, trying to close allArmin Rigo2010-12-271-1/+4
| | | | open files. (Necessary on Windows for os.remove() to succeed)
* Fix test.Armin Rigo2010-12-091-2/+2
|
* Fix this test. Too precise...Armin Rigo2010-12-091-0/+32
|
* I think that all changes done to the "encodings" package can beArmin Rigo2010-12-09115-29176/+0
| | | | safely reverted now.
* Fix the expected output. It is now closer to CPython's, but still not ↵Armin Rigo2010-12-081-50/+50
| | | | | | completely equal (the disable() method is reported on a differently-named class).
* Merge branch cpyext-darwinDan Villiom Podlaski Christiansen2010-12-041-0/+15
| | | | This contains fixes to allow building C extensions on Darwin, and a few extra C APIs as well.
* make this test working also on 64 bitAntonio Cuni2010-12-021-0/+338
|
* distutils.msvccompiler.MSVCCompiler should be importable on Unix.Amaury Forgeot d'Arc2010-11-292-12/+19
|
* Implement binascii in RPython.Armin Rigo2010-11-291-1/+1
|
* ABI version tagged .so files for pypyAmaury Forgeot d'Arc2010-11-151-2/+10
| | | | | | | | | | | | | | | | | | By default, 'import foo' will search extension modules named foo.pypy-14.so This is an implementation of PEP 3149, with two differences: - the default 'foo.so' is not considered - the feature is available on Windows ('foo.pypy-14.pyd') The tag name can be specified at transation time, with the option --soabi: --soabi=pypy-14 is the default. It it not recommmended to set: --soabi= this will disable the feature, allow the pypy interpreter to import 'foo.so', and probably crash when this file has been compiled for another interpreter...
* Mark this as an implementation detail. This is a copy of test_dict. :-(Armin Rigo2010-10-311-1/+3
|
* Implementation detail.Armin Rigo2010-10-301-0/+478
|
* (arigo, cfbolz): we don't care that in pypy you can take weakrefs to objectsCarl Friedrich Bolz2010-10-291-1/+3
| | | | with slots without __weakref__
* Merge branch/bisect-module, writing the '_bisect' module like CPython.Armin Rigo2010-10-281-1/+1
|
* Revert r76359, and skip ctypes tests again.Armin Rigo2010-10-191-1/+6
| | | | | | The comment (re-appearing because of the revert) explains why. I'm not sure I understand why it was un-skipped but nothing at all was done to fix the massive number of failures.
* Improve our own opcode reporting by disMaciej Fijalkowski2010-09-221-0/+1
|
* Remove this test from "modified". I think the original test shouldArmin Rigo2010-08-281-810/+0
| | | | now fully pass.
* better add and mulHakan Ardo2010-08-121-7/+16
|
* reenabled arrayHakan Ardo2010-08-111-1/+1
|
* Fix issue 466 where ctypes False -> c_char_p argument conversion results in ↵Gasper Zejn2010-07-281-8/+18
| | | | segfault. Made with at the Europython sprint with arigo's help.
* At least _rawffi is needed, possibly more, checkingMaciej Fijalkowski2010-07-271-1/+1
|
* don't skip ctypes testsMaciej Fijalkowski2010-07-271-5/+1
|
* sys.prefix is there only if the path was succesfully found. Don't crash at ↵Maciej Fijalkowski2010-07-131-1/+1
| | | | 'import site' in the case we are using the builtin path
* create a directory trunk/include to contains all the headers file. They areAntonio Cuni2010-06-302-7/+2
| | | | | | | | | automatically copied there from cpyext/include during translation. The generated pypy_decl.h and pypy_macros.h are also put there, instead of the now-gone pypy/_interfaces. The goal is to have the svn checkout as similar as possible as release tarballs and virtualenvs, which have an include/ dir at the top
* remove the possibility of putting the libraries in $PREFIX/lib/pypy1.3/*. ItAntonio Cuni2010-06-281-5/+1
| | | | | | | | | is too hard to keep in sync all the various tool that needs to know where the directories are, such as distutils, virtualenv, etc. Now the only supported hierarchy is the one adopted in the svn checkout (i.e., lib-python, lib_pypy and site-packages needs to be on some parent directory that the one where pypy-c resides)
* fix distutils for the new directory layout. setuptools and easy_install work ↵Antonio Cuni2010-06-254-9/+12
| | | | again now
* merge the sys-prefix branch.Antonio Cuni2010-06-2410-40/+30
| | | | | | | | | | | | | | | | | | | The most important changes are: 1) trunk/pypy/lib has been moved to trunk/lib_pypy: the code there is really pure python and should not depend on pypy. However, some of the tests existed as AppLevel tests: since they need to be run inside the pypy/ package, they have been moved to pypy/module/test_lib_pypy. Also, a custom conftest makes py.test module/test_lib_pypy also run the tests in ../lib_pypy 2) sys.pypy_prefix has been removed. Instead, sys.prefix and sys.exec_prefix (which are always the same) are added. The prefix is searched at runtime, starting from the directory where the pypy executable resides and walking up until it finds the expected directoris (lib-python and lib_pypy) The layout of the svn checkout has been designed in a way that it will be possibile to run virtualenv -p translator/goal/pypy-c, without needing to install pypy system-wide
* Look also into pypy_prefix/include, hopefully a short living hack.Maciej Fijalkowski2010-06-201-0/+3
|
* Attempt to skip this file on non-Windows platforms.Armin Rigo2010-06-091-3/+6
|
* On Windows, correctly retrieve the version of the compiler used to compile ↵Amaury Forgeot d'Arc2010-06-082-3/+67
| | | | | | | the interpreter. Don't rely on sys.version (pypy does not indicates the compiler version), directly fetch the manifest embedded in the program.
* Revert part of the change, and use the same name as CPython for the import ↵Amaury Forgeot d'Arc2010-06-081-1/+3
| | | | library
* try to redo the fix related to testing in lib-python.Holger Krekel2010-06-041-3/+13
| | | | | | | | | | | | | | Tests are now collected more "normally" in their respective directories 2.5.2/test and modified-2.5.2/test instead of "faking" an artifical tree at lib-python level. Note that you will get a collection error if you run a specific test via "py.ttest lib-python/2.5.2/test/test_XYZ.py" if there is a test_XYZ in the modified-2.5.2 directory. Running "py.test lib-python" or "py.test --pypy=pypy-c lib-python" will run both modified and unmodified tests as is to be expected and filenames during testing progress clearly indicate where a test comes from.
* Revert r75092. It causes massive failures of the nightly applevel tests.Armin Rigo2010-06-041-2/+1
| | | | | | I think (by running pypy-c py.test --collect) that it is because in this case it causes py.test to try to collect far more stuff, including both the 2.5.2/test and the modified-2.5.2/test version of the same test.
* fix collection of lib-python tests under py.pyHolger Krekel2010-06-031-1/+2
|
* forgot to svn-up, this line is redundantHolger Krekel2010-05-221-1/+0
|
* import test.pystone only when needed as otherwiseHolger Krekel2010-05-221-0/+1
| | | | | globally importable 'test' can get in the way in some environments.
* merge py131 branch (which merges py1.3.1a1 - release pending) relevant news:Holger Krekel2010-05-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixes keyboardinterrupt issues - hopefully strange internal TBs when doing ctrl-c are a thing of the past now * be more robust against bogus source code and fix/improve reporting of failing applevel tests * fix some xfail/skipping issues and introduce a new imperative way to xfail a test by py.test.xfail() # or py.test.xfail("reasonstring") I strongly recommend to use this instead of py.test.skip("xxx") because it more clearly communicates that not just some platform/dependency problem but an implementation issue is present. Note that it is also possible to do: @py.test.mark.xfail def test_function() and with Python2.6 it can also be applied to a test class like this: @py.test.mark.xfail(reason="xyz needs improvement/refactoring") class TestClass: def test_... And btw, you can issue "py.test --runxfail" to still run those tests and see tracebacks. And finally, @py.test.mark.xfail(run=False) def test_function() will not try to run the function at all.
* merge py12 branch - incorporates and updates pypy tests to use py.test-1.3.0Holger Krekel2010-05-061-1/+2
| | | | | | | | | | | | * introduces spaceconfig attribute to specify which space to use for a certain test class. * removes deprecated usage of py.test features * removes internal imports of py lib * various little test functionality related cleanups note: the merging was going odd with svn throwing assertion errors and other issues - so i merged in two steps - hope this worked fine.
* Try to fix the windows buildbot, by returning the version of the compilerAmaury Forgeot d'Arc2010-05-031-1/+1
| | | | | | installed there. Obviously this function should return the version used to compile the current executable, but pypy does not gives this information yet (in sys.version).
* Oops, missing part of the merge of cpyext branchMaciej Fijalkowski2010-04-294-342/+422
|
* Port CPython's issue6202: remove specific mac cases, darwin is a posix platform.Amaury Forgeot d'Arc2010-04-261-0/+1562
|
* Be more permissive here.Armin Rigo2010-04-251-1/+1
|
* A fix for 64-bit, including more corner cases that are wrongArmin Rigo2010-04-241-0/+13
| | | | in various versions of CPython.
* add _locale module to test_locale.pyBartosz Skowron2010-03-291-1/+1
|
* test_sqlite requires zlib module as wellBartosz Skowron2010-03-261-1/+1
|
* add _rawffi module for test_sqliteBartosz Skowron2010-03-261-1/+1
|
* Add a dummy customize compiler. For whatever reasons it makes stuffMaciej Fijalkowski2010-03-151-0/+6
| | | | easy_install instead of exploding.
* Avoid creating *args calls all over the place. I'm honestly inclined toMaciej Fijalkowski2010-03-151-6/+29
| | | | | remove all exec there and simply write down methods (also docstrings don't have to be in _socket)
* Fix shebangsBartosz Skowron2010-03-112-2/+2
|
* Remove +x bit from DOC files.Bartosz Skowron2010-03-112-0/+0
|