Commit Graph

7080 Commits

Author SHA1 Message Date
hpk 443a0b4614 [svn r37788] guido, unless i am missing something there seem to be two
problems with your making Channel's public: you didn't import
it (py.__.* is not lazy) and it fails the apigen tests even
after fixing it.

--HG--
branch : trunk
2007-02-02 02:18:06 +01:00
hpk 272812fd76 [svn r37787] more precision at shutdown: first remove
from the sendqueue, then trigger the queue
to shutdown. (This is an attempt to get
rid of the still appearing "exception in thread"
messages)

--HG--
branch : trunk
2007-02-02 02:07:37 +01:00
hpk 0c55062e74 [svn r37786] improve docstring
--HG--
branch : trunk
2007-02-02 02:05:31 +01:00
hpk 7a718ca2e7 [svn r37785] privatizing some more attributes
--HG--
branch : trunk
2007-02-02 02:02:55 +01:00
hpk b4919c8102 [svn r37784] privatizing some attributes
--HG--
branch : trunk
2007-02-02 01:34:40 +01:00
hpk c6c9fd326c [svn r37783] puh, it took me quite a while to find out why
ssh-stdout-confusion tests involving "os.write(1, ...)"
were passing on earlier revisions: in 35888
a test name got fixed, but when you specify "-S somehost"
then this will hang, so i am skipping the test for
now, this never worked.

--HG--
branch : trunk
2007-02-02 01:32:24 +01:00
guido b8bb733778 [svn r37782] Changed the checking in resolve_linkrole() so that instead of the apigen
results (the directory with HTML files) it uses the py lib object tree and
source tree to find out whether links are valid.

--HG--
branch : trunk
2007-02-02 01:00:50 +01:00
guido 5bf17c3b62 [svn r37781] Added 'execnet.channel.Channel' object to the to-be-documented items.
--HG--
branch : trunk
2007-02-02 00:58:57 +01:00
hpk 3634701598 [svn r37780] simplifying code a bit (but test_confusion* for Ssh still fails)
--HG--
branch : trunk
2007-02-02 00:57:55 +01:00
fijal cf7e2d7c28 [svn r37779] Fix and a test for disappearing files.
--HG--
branch : trunk
2007-02-02 00:40:49 +01:00
guido 23aeccc8c8 [svn r37776] Fixed some problems with the relative link checker (was using the wrong base
path for checks), fixed links in the documents.

--HG--
branch : trunk
2007-02-02 00:12:49 +01:00
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