Benjamin Peterson
86da34b874
add a helper to get a function's dictionary
...
--HG--
branch : trunk
2009-09-03 16:45:28 -05:00
Benjamin Peterson
499a982860
give code objects a filename in the replacement execfile
...
--HG--
branch : trunk
2009-09-03 16:38:15 -05:00
holger krekel
c1fcf9c4d8
* use py.builtin._getimself instead of getattr(..., '*self*') everywhere
...
* fix logging to work with 3k, implement buffering manually
* fix unicode capturing issue - re-introduce EncodedFile for <3K file writes
--HG--
branch : trunk
2009-09-01 16:10:21 +02:00
holger krekel
c791610998
* simplify and refactor path tests to use funcargs instead of the layered xunit-setup mess
...
* port py/path to pass 3.11
* added py.builtin._totext, _tobytes, _isbytes, _istext helpers
--HG--
branch : trunk
2009-08-31 19:51:25 +02:00
Benjamin Peterson
e336683cdb
add test for conversion to string
...
--HG--
branch : trunk
2009-08-30 08:25:48 -05:00
Benjamin Peterson
e63abd631f
add py.builtin.callable
...
--HG--
branch : trunk
2009-08-29 15:46:50 -05:00
Benjamin Peterson
39eac1be28
add a py.builtin.execfile helper
...
--HG--
branch : trunk
2009-08-29 15:34:24 -05:00
Benjamin Peterson
fb365e47dc
make print write each argument individually
...
--HG--
branch : trunk
2009-08-29 14:39:37 -05:00
holger krekel
b930565d56
* fix some syntax and 3k issues for py/path and py/process, tests only partially working
...
* have py.process.cmdexec return unicode/text (for now)
* rename py.builtin.basestring to _basestring
--HG--
branch : trunk
2009-08-29 16:40:03 +02:00
holger krekel
1dafcc6b37
fix py/io classes and tests to pass 3.1
...
introduce py.builtin._totext helper to make a 2k=unicode / 3k=str object, allow a string as data
--HG--
branch : trunk
2009-08-29 15:51:49 +02:00
holger krekel
fc3178a394
fixing builtin tests and print_ builtin
...
--HG--
branch : trunk
2009-08-29 13:47:10 +02:00
holger krekel
783e6aeb4d
temporary checking towards 3.1 compatibility
...
introduced some helpers to py.builtin namespace which need some review
after things begin to work more nicely
--HG--
branch : trunk
2009-08-28 19:16:15 +02:00
holger krekel
5e95feaf90
* add print_, exec_ and _reraise helpers for 2-3 compatible code
...
* consolidate builtins implementation to be compatible with >=2.3
--HG--
branch : trunk
2009-08-28 16:25:29 +02:00
holger krekel
a5ab200b9f
fixing compat test for 2.6
...
--HG--
branch : trunk
2009-04-28 22:48:22 +02:00
cfbolz
b7c0d84ee3
[svn r51029] make sure the artificial GeneratorExit claims to come from the exceptions
...
module
--HG--
branch : trunk
2008-01-25 13:46:31 +01:00
cfbolz
66f7db5894
[svn r46770] add py.builtin.GeneratorExit, to make it possible to write 2.3 and 2.4
...
compatible code. The exception is never raised there.
--HG--
branch : trunk
2007-09-20 17:17:22 +02:00
guido
7852ead1fe
[svn r37912] Made some small changes to the initpkg mechanism so docstrings are, if
...
provided in the exportdefs, copied to the namespaces (from whereever they
come), and added docstrings to all exposed namespaces (except for _thread for
now).
--HG--
branch : trunk
2007-02-04 15:27:10 +01:00
hpk
5992a8ef21
[svn r37264] create the new development trunk
...
--HG--
branch : trunk
2007-01-24 15:24:01 +01:00