Commit Graph

8469 Commits

Author SHA1 Message Date
guido 80a0045805 [svn r37774] Adding support for checking generated API links (for link roles).
--HG--
branch : trunk
2007-02-01 23:30:51 +01:00
cfbolz df0736db08 [svn r37773] typo
--HG--
branch : trunk
2007-02-01 23:27:51 +01:00
hpk 7fd122a4c1 [svn r37772] have both capturings have the same done/reset semantics
(should also fix a buildcmodule related problem, e.g. for
greenlets)

--HG--
branch : trunk
2007-02-01 22:52:42 +01:00
hpk 31f4c194e8 [svn r37770] remove very old try at doing svn bindings
--HG--
branch : trunk
2007-02-01 22:18:40 +01:00
hpk e5d7fcd0d8 [svn r37769] minor clarifi
--HG--
branch : trunk
2007-02-01 22:16:10 +01:00
guido 024608bdcd [svn r37767] Fixed Windows issues in doctests.
--HG--
branch : trunk
2007-02-01 21:28:21 +01:00
hpk 17754c6fd9 [svn r37766] unifying non-FD and FD capturing some more
(could be more, but at least the APIs start
to feel the same)

--HG--
branch : trunk
2007-02-01 21:26:27 +01:00
guido 9ddca27edc [svn r37765] Was still getting filenames for source files from code objects, so adding more
defensiveness, and made that the 'capture' object is passed over to the builder
instances (to help debugging, currently not used).

--HG--
branch : trunk
2007-02-01 21:10:48 +01:00
guido a2359e0554 [svn r37752] Added some more code examples.
--HG--
branch : trunk
2007-02-01 16:58:42 +01:00
hpk f21df1b455 [svn r37751] fix two other places that used capturing
(although the greenlet fix is not really
related, but i first saw it now on win32)

--HG--
branch : trunk
2007-02-01 16:58:10 +01:00
hpk 3ad6642a49 [svn r37745] fixing and adding to docstring
--HG--
branch : trunk
2007-02-01 16:35:29 +01:00
hpk c413f11daf [svn r37743] ah, there was yet another version of capturing hiding
--HG--
branch : trunk
2007-02-01 16:23:51 +01:00
hpk df8ff8144c [svn r37742] fix reference
--HG--
branch : trunk
2007-02-01 16:23:27 +01:00
hpk b706ec2f95 [svn r37741] monster checking for
* unifying IO capturing methods
* py.io.StdCapture and py.io.StdCaptureFD
  (and both have a classmethod 'call' that is
  a shortcut for capturing output while
  executing a function)
* removing lots of duplicate code
* providing some examples in py/doc/io.txt

at least tests on win32 and linux seem
to pass all for me.

--HG--
branch : trunk
2007-02-01 16:20:39 +01:00
guido d9572239a8 [svn r37739] Made that only the first two lines of a source file are examined for the
encoding.

--HG--
branch : trunk
2007-02-01 15:57:34 +01:00
guido ec734026cc [svn r37738] Fixed problem probably caused by removing some comment or something...
--HG--
branch : trunk
2007-02-01 15:55:23 +01:00
hpk 16fae5ed73 [svn r37736] cosmetic docstring change
--HG--
branch : trunk
2007-02-01 15:35:07 +01:00
guido 646d4f93e1 [svn r37733] Removed two rather useless methods that just delegated to methods on the
underlying object, in favour of calling the underlying object's methods
directly (py.io.OutErrCapture.writeorg*).

--HG--
branch : trunk
2007-02-01 15:13:59 +01:00
guido 9f491f2058 [svn r37729] Added some code to py.io.FDCapture and py.io.OutErrCapture to allow writing
to the original (patched) file descriptor. Also made that the capturing object
is passed to apigen.py's build() function (from rsession.py), which uses the
new methods to print progress information.

--HG--
branch : trunk
2007-02-01 14:56:31 +01:00
fijal 3f31ed5742 [svn r37723] Add a test
--HG--
branch : trunk
2007-02-01 12:59:47 +01:00
fijal ee72091783 [svn r37721] Fix. !Tests needed!
--HG--
branch : trunk
2007-02-01 12:50:29 +01:00
fijal f4b4f68b40 [svn r37720] Kill dead import
--HG--
branch : trunk
2007-02-01 12:28:45 +01:00
hpk 661d984aec [svn r37703] adding references to path and code documentation
--HG--
branch : trunk
2007-01-31 23:56:18 +01:00
hpk 3e91580231 [svn r37701] note on removal of compat.TestCase
--HG--
branch : trunk
2007-01-31 23:44:03 +01:00
hpk 0945e7668a [svn r37700] refer to experimental gateway path code
for substantiating future directions.

--HG--
branch : trunk
2007-01-31 23:43:32 +01:00
hpk ba2dcf16bd [svn r37699] removing py._dist export (only accessed from setup.py
and py/bin/_makepyrelease.py)

--HG--
branch : trunk
2007-01-31 23:23:24 +01:00
hpk dbb88cdb75 [svn r37698] waiting even a bit longer for loop-on-failing
--HG--
branch : trunk
2007-01-31 23:20:33 +01:00
hpk f915de1992 [svn r37696] removing py.test.compat.TestCase - it's small
code but nobody uses it i think and there is
no documentation.

--HG--
branch : trunk
2007-01-31 22:55:30 +01:00
hpk 7970591813 [svn r37693] Some considerations regarding the experimental
Gateway/Remote Path implementation code.
Also making it "py.__." importable but
not advertising it for 0.9 at all.
It's an interesting feature for 1.0 :)

--HG--
branch : trunk
2007-01-31 21:34:29 +01:00
guido 58eace43f9 [svn r37674] Added document 'code.txt' that describes py.code, added docstrings to py.code
public items.

--HG--
branch : trunk
2007-01-31 16:29:18 +01:00
hpk 65f51efa55 [svn r37664] some streamlining, additions and "de-marketing" :)
and adding some XXX

--HG--
branch : trunk
2007-01-31 12:49:25 +01:00
hpk 9fe8e7ca65 [svn r37661] fixing this script (IMO it was broken if you provided arguments)
--HG--
branch : trunk
2007-01-31 12:27:25 +01:00
hpk bd71dff595 [svn r37647] make the example independent from the installed python binaries
--HG--
branch : trunk
2007-01-31 00:46:20 +01:00
arigo 89a4750535 [svn r37646] Wording, and missing attribute in the greenlet documentation.
--HG--
branch : trunk
2007-01-31 00:29:45 +01:00
hpk dcafd4cd60 [svn r37645] adding an example for execnet (passes doctest)
--HG--
branch : trunk
2007-01-31 00:23:59 +01:00
cfbolz a05708848a [svn r37644] typo
--HG--
branch : trunk
2007-01-31 00:20:50 +01:00
hpk 97346c8a5a [svn r37643] stroke the historical notes, and streamlined
various parts of execnet documentation,
added some api references.

--HG--
branch : trunk
2007-01-31 00:13:49 +01:00
arigo 6aaca64290 [svn r37642] issue40 resolved
Thanks ghazel.  I fixed this by directly capturing ts_current in a local
variable instead of reloading it.  I also reviewed the code a bit and
found another place where ts_current could be used out of date.

--HG--
branch : trunk
2007-01-31 00:07:48 +01:00
hpk e721d85278 [svn r37641] removing py.path.extpy after all
--HG--
branch : trunk
2007-01-30 23:22:15 +01:00
guido e7c684eb37 [svn r37640] Added first bits of a document about py.path.
--HG--
branch : trunk
2007-01-30 23:01:04 +01:00
guido d3c2f5c7b1 [svn r37639] Not sure why this was here... :|
--HG--
branch : trunk
2007-01-30 23:00:33 +01:00
guido acf54574c4 [svn r37638] Re-enabled the tests on win32
--HG--
branch : trunk
2007-01-30 21:51:57 +01:00
guido 307a727a7e [svn r37637] Fixed Windows path problems for apigen; test_apigen_functional.py now works (couldn't test with the py lib itself, though, as it wants to build greenlets and i don't have a suitable c compiler installed).
--HG--
branch : trunk
2007-01-30 21:45:18 +01:00
fijal c432765556 [svn r37631] Kill unnecessarry cache
--HG--
branch : trunk
2007-01-30 18:55:08 +01:00
fijal 3630e7fcd3 [svn r37624] Slightly hackish way to put all tracing calls as low as possible. This
should kill unnecessary frames. Right now tracing is done only for
py.test.Function objects, I don't know what to do with sth else, let's
leave it alone.

--HG--
branch : trunk
2007-01-30 17:59:32 +01:00
fijal f65d6e9d35 [svn r37623] Get rid of last frame if possible (the frame containing start_tracing should
not be there, unless this is the last frame)

--HG--
branch : trunk
2007-01-30 17:58:11 +01:00
fijal d80bbf4a68 [svn r37622] Don't use previous versions in future examples
--HG--
branch : trunk
2007-01-30 17:56:58 +01:00
fijal ff7e89a145 [svn r37621] all tests works for me
--HG--
branch : trunk
2007-01-30 17:55:04 +01:00
fijal 1974e5ecf6 [svn r37620] ensure 2.5 compatibility
--HG--
branch : trunk
2007-01-30 17:54:14 +01:00
guido e905f71e72 [svn r37616] All code snippets are colored now, also properly fixed hiding of _* names
in the navigation.

--HG--
branch : trunk
2007-01-30 17:29:33 +01:00