Commit Graph

665 Commits

Author SHA1 Message Date
hpk 153ce61b48 [svn r40831] bump version number, fixes
--HG--
branch : trunk
2007-03-20 13:10:56 +01:00
fijal c2d010ad92 [svn r40753] Make MAX_COUNTER small enough. It's an obscure hack, but at least works
--HG--
branch : trunk
2007-03-19 11:43:49 +01:00
fijal ae3e6b9bf0 [svn r40739] Make FAILED TO LOAD MODULE clickable
--HG--
branch : trunk
2007-03-18 23:53:14 +01:00
fijal f6980c4b9d [svn r40738] Count also FAILED TO LOAD MODULE failures in web interface
--HG--
branch : trunk
2007-03-18 23:44:54 +01:00
fijal 3943673739 [svn r40737] A fix that allows (for command line reporter) to report failure in case
when FAILED TO LOAD MODULE

--HG--
branch : trunk
2007-03-18 23:38:57 +01:00
fijal cfd7c31a8d [svn r40720] Tracing defaults to false
--HG--
branch : trunk
2007-03-18 19:49:45 +01:00
fijal 837ba40fa7 [svn r40719] Argh. There should be post-commit hook which warns about every import pdb in your code.
--HG--
branch : trunk
2007-03-18 19:47:26 +01:00
hpk c8e69bb60e [svn r40706] test/__init__.py is needed as well (for determining test paths etc.)
--HG--
branch : trunk
2007-03-18 17:33:13 +01:00
hpk 9515dafb1c [svn r40705] move greenlet support objects to the "py/green" directory.
--HG--
branch : trunk
2007-03-18 17:28:04 +01:00
arigo 5506b03f81 [svn r40702] (pedronis, arigo)
Add setup/teardown calls around generators, with the same semantics as
around functions and methods.

--HG--
branch : trunk
2007-03-18 16:59:45 +01:00
fijal 1b639695b4 [svn r40002] Re-enable url check test
--HG--
branch : trunk
2007-03-06 22:13:33 +01:00
fijal ce974d41e1 [svn r40001] Encoding (let's suppose UTF-8 will not hurt)
--HG--
branch : trunk
2007-03-06 22:11:12 +01:00
fijal 34a4991edd [svn r39995] Possibly controversial checkin.
Kill a hack for explicit isinstance(). We've got just two methods,
so doing full getmro doesn't seem to make too much sense.

Anyway this changes semantics slightly, so now we rely on exact
inheritance rather than name (I don't have good answer for those)

--HG--
branch : trunk
2007-03-06 19:06:37 +01:00
fijal 91d7ced4eb [svn r39994] fix rest
--HG--
branch : trunk
2007-03-06 19:02:28 +01:00
fijal 0ef18c50bd [svn r39983] (arigo, fijal) -
* oneof(functions) runs all functions in parallel
  until one returns a value, then returns that value

* allof(functions) same as previous, but returns all
  return values in a tuple

--HG--
branch : trunk
2007-03-06 14:54:33 +01:00
hpk 8bf738614e [svn r39982] introduce gateway._send and have all places route
their sending of Messages (or None's) through that method.

--HG--
branch : trunk
2007-03-06 13:51:18 +01:00
fijal 9bbef25ec1 [svn r39981] Some random notes about future pylib direction
--HG--
branch : trunk
2007-03-06 13:38:49 +01:00
fijal da26d914c8 [svn r39975] Fix imports
--HG--
branch : trunk
2007-03-06 10:49:47 +01:00
fijal cda5c7215d [svn r39974] Add some comments
--HG--
branch : trunk
2007-03-06 10:40:59 +01:00
fijal f5664d4405 [svn r39973] Add a (stolen almost directly from arigo/hack) network layer
based on top of greenlets. Needs some tweaking, so it's not exposed
as a py.xxx, but rather py.__.net

--HG--
branch : trunk
2007-03-06 10:07:53 +01:00
hpk 40b28ca0fe [svn r39655] add a (somewhat clunky) way to kill processes by PID both on windows
and unix-ish systems.

--HG--
branch : trunk
2007-03-02 12:00:32 +01:00
fijal 2cd886f442 [svn r39340] A fix and a test. Thanks Marian Shubert for reporting problem
--HG--
branch : trunk
2007-02-23 15:22:50 +01:00
xoraxax e4ef5d39bf [svn r39106] Plus sign works fine for me, added to ALLOWED_CHARS in svncommon.
--HG--
branch : trunk
2007-02-17 15:12:56 +01:00
guido b4516bc432 [svn r38969] Fixed ReST.
--HG--
branch : trunk
2007-02-15 22:33:31 +01:00
santagada f9feca8c93 [svn r38967] spelling mistake
--HG--
branch : trunk
2007-02-15 22:12:15 +01:00
hpk 20398b87f3 [svn r38840] fix links to release branch
--HG--
branch : trunk
2007-02-14 15:48:39 +01:00
hpk 05ef2d5832 [svn r38831] be more careful to not work with svnwc() paths
when checking for mtimes

--HG--
branch : trunk
2007-02-14 15:07:23 +01:00
arigo 79a17fa4ef [svn r38828] Try harder to get the logic right to avoid regenerating html files for
unmodified txts.

--HG--
branch : trunk
2007-02-14 14:57:46 +01:00
hpk 96355656ce [svn r38824] skip these tests on win32
--HG--
branch : trunk
2007-02-14 14:11:34 +01:00
hpk f6040733dc [svn r38821] hum, only do the precompiled greenlet if we are invoked
with install

--HG--
branch : trunk
2007-02-14 13:51:08 +01:00
hpk 0a4d47a4c7 [svn r38819] skip apigen on win32
--HG--
branch : trunk
2007-02-14 13:44:52 +01:00
hpk 80f98fe70c [svn r38818] add release 0.9.0 announcement link to index.txt
--HG--
branch : trunk
2007-02-14 13:34:17 +01:00
cfbolz c0c60edcb2 [svn r38817] fix typo, make the promise less definite (it's ages old)
--HG--
branch : trunk
2007-02-14 13:32:37 +01:00
lene 6913d477f2 [svn r38816] tried to fix sentences and singular/plural
--HG--
branch : trunk
2007-02-14 13:32:24 +01:00
fijal 3d8b61c246 [svn r38815] Be at least consistent within one file
--HG--
branch : trunk
2007-02-14 13:28:38 +01:00
hpk a8139d7d44 [svn r38812] remove the exe for now and warn about missing greenlet
support for win32

--HG--
branch : trunk
2007-02-14 13:24:47 +01:00
hpk f2e89671d0 [svn r38810] being yet more ignorant about build problems of c-extensions
--HG--
branch : trunk
2007-02-14 13:15:20 +01:00
hpk 86155cceb8 [svn r38808] trying to be more ignorant about missing abilities
to remove c-extension modules (they might be in
site-packages) and adding a hack to make sure
that the greenlet module gets build ahead of
the setup install.

--HG--
branch : trunk
2007-02-14 13:13:39 +01:00
hpk d02d937b74 [svn r38805] be more careful about win32 supporting claims
--HG--
branch : trunk
2007-02-14 12:49:11 +01:00
hpk f016b14965 [svn r38801] fixing the download page for prospected links
--HG--
branch : trunk
2007-02-14 12:16:03 +01:00
hpk a158e35229 [svn r38799] bumping version to 0.9.0 (trying :)
--HG--
branch : trunk
2007-02-14 12:10:40 +01:00
hpk 1fd940c579 [svn r38797] fixing the too global revision caching
--HG--
branch : trunk
2007-02-14 12:02:16 +01:00
hpk 09f7bc947d [svn r38782] here as well
--HG--
branch : trunk
2007-02-14 03:30:19 +01:00
hpk 1adff0f057 [svn r38781] the target docpath needs to be determined per project
--HG--
branch : trunk
2007-02-14 03:29:11 +01:00
guido bed622d665 [svn r38779] Made that the package revision is now shown in the title rather than each
file's individual revision.

--HG--
branch : trunk
2007-02-14 03:03:51 +01:00
guido 2851e1d919 [svn r38777] Fixed api and source link role relative paths.
--HG--
branch : trunk
2007-02-14 02:31:50 +01:00
guido 74ad33da28 [svn r38776] Removed duplicate links.
--HG--
branch : trunk
2007-02-14 02:18:06 +01:00
hpk a90fb8112c [svn r38775] use relative paths, and compute them late
--HG--
branch : trunk
2007-02-14 02:03:51 +01:00
guido f074f6137c [svn r38773] Using ensure() better (thanks, hpk ;).
--HG--
branch : trunk
2007-02-14 01:11:26 +01:00
guido d457485d1b [svn r38772] Make sure target dir exists before writing files to it.
--HG--
branch : trunk
2007-02-14 01:07:45 +01:00
guido 13c44faa38 [svn r38770] Removed option --apigen_relpath, added options --docpath and --apigenpath, both
of which are not only used for building the navigation, but also to actually
tell py.test where docs should be generated. Also cleaned up and fixed the
situation regarding relative links in the navigation menu and stylesheet/js
paths.

--HG--
branch : trunk
2007-02-14 00:56:57 +01:00
hpk c9b5b1714a [svn r38766] naming consistency
--HG--
branch : trunk
2007-02-14 00:20:43 +01:00
hpk f643f601c6 [svn r38763] overriding the new a_docref and a_apigenref Page helper methods,
getting rid of update_menubar_links

--HG--
branch : trunk
2007-02-13 23:20:05 +01:00
hpk 8efaf88364 [svn r38762] slight sanitizing and allow to change sep in one place
--HG--
branch : trunk
2007-02-13 22:56:42 +01:00
hpk 441724abbe [svn r38761] split Page methods for menubar generation
allowing to override A link generation for
docs and for apigen pages.

--HG--
branch : trunk
2007-02-13 22:43:32 +01:00
hpk f12b95ff5a [svn r38760] fix ehem syntax ehem error
--HG--
branch : trunk
2007-02-13 21:40:29 +01:00
hpk a3dd6dfd7c [svn r38755] fix reporting of duplicate remote host rsyncs
and adding an XXX test (not easy to test ssh hosts
because it modifies remote state)

--HG--
branch : trunk
2007-02-13 21:09:25 +01:00
hpk d919ad9eee [svn r38750] mention command line completion
--HG--
branch : trunk
2007-02-13 20:30:34 +01:00
fijal 87aabe079e [svn r38749] Regenerated js
--HG--
branch : trunk
2007-02-13 20:30:19 +01:00
hpk 3ab95e5672 [svn r38747] hum, a last-minute namespace change: i missed
that fijal didn't move py.test.Item|Function to the py.test.collect namespace
at the time.  a pypy fix will follow shortly after i merged the dist.

--HG--
branch : trunk
2007-02-13 20:21:53 +01:00
hpk 1bddcfee3d [svn r38745] striking another XXX, mentioning limited windows path support.
--HG--
branch : trunk
2007-02-13 20:13:41 +01:00
hpk 0590bc0af1 [svn r38744] * adding a section about conftest.py files (removing an XXX)
* removing dead links

--HG--
branch : trunk
2007-02-13 20:10:09 +01:00
hpk 18120135a3 [svn r38743] fix and remove unneeded external references
remote test-distributed.txt which had lots of
not actual links and IMO would need a higher-level
introduction to become understandable.

--HG--
branch : trunk
2007-02-13 20:01:02 +01:00
hpk e4d4fb7c56 [svn r38741] doing r38739 in the right place (dist will get
recopied from trunk)

--HG--
branch : trunk
2007-02-13 19:22:47 +01:00
fijal 614675743d [svn r38726] shuffle -> sample
--HG--
branch : trunk
2007-02-13 17:37:26 +01:00
fijal 97a82f2df2 [svn r38713] Use self.source wherever applicable
--HG--
branch : trunk
2007-02-13 16:34:16 +01:00
fijal de57df5134 [svn r38712] Avoid py.test.config._reparse([])
--HG--
branch : trunk
2007-02-13 16:32:49 +01:00
fijal a38f606825 [svn r38711] Avoid infinte recursion when rsyncing (well finite - OSError file too long)
--HG--
branch : trunk
2007-02-13 16:31:31 +01:00
fijal 44337db211 [svn r38710] Invoke the skip rather than have it
--HG--
branch : trunk
2007-02-13 16:24:33 +01:00
fijal f149de635c [svn r38709] kill dead code
--HG--
branch : trunk
2007-02-13 16:24:08 +01:00
fijal db6df474fe [svn r38708] document.location is not in DOM. We need to implemented some stuff in
js backend to be able to test this

--HG--
branch : trunk
2007-02-13 16:15:26 +01:00
hpk a992ca7427 [svn r38706] privatizing config.conftest to config._conftest as well
--HG--
branch : trunk
2007-02-13 16:05:21 +01:00
guido e2931176bb [svn r38701] Fixed line heights in Konqueror.
--HG--
branch : trunk
2007-02-13 15:29:12 +01:00
guido f5f46c9f3e [svn r38700] Fixed paths, docs are now no longer placed in a sub dir.
--HG--
branch : trunk
2007-02-13 15:26:46 +01:00
guido b9965f8134 [svn r38685] Partial rewrite of fijal's pdb/apigen text.
--HG--
branch : trunk
2007-02-13 13:49:37 +01:00
fijal aaee02c214 [svn r38683] Add some information about pdb + apigen
--HG--
branch : trunk
2007-02-13 13:33:45 +01:00
hpk 275a31ed37 [svn r38659] mention that we think that py lib works on 2.3, 2.4 and 2.5
--HG--
branch : trunk
2007-02-13 09:18:31 +01:00
guido 7953ac1b82 [svn r38653] Skipping some tests on win32, for some reason svnwc.info().created_rev seems
to fail (need to look into it in more detail later).

--HG--
branch : trunk
2007-02-13 02:11:30 +01:00
guido 63c2a8f62f [svn r38652] Fixed rendering problems in IE, updated todo.txt.
--HG--
branch : trunk
2007-02-13 02:01:23 +01:00
guido cb8041a34a [svn r38650] Added env var for creating relative links to the py lib docs (in the nav bar),
added script to generate py lib's docs and api docs in a subdir in one go.

--HG--
branch : trunk
2007-02-13 00:14:50 +01:00
guido 0b575823d0 [svn r38649] Adding _findpy call to not have to set PYTHONPATH to find the py lib.
--HG--
branch : trunk
2007-02-13 00:10:38 +01:00
hpk 16e47af8a9 [svn r38626] some XXX to TODO, and adding a part about proper linking
--HG--
branch : trunk
2007-02-12 19:11:07 +01:00
hpk a07cceca9f [svn r38621] * fix for linking problems: move future.txt one level up
* be slightly more defensive about apigen_relpath

--HG--
branch : trunk
2007-02-12 18:58:38 +01:00
hpk 9e8334e8ae [svn r38601] pointing to the just uploaded py-0.9.0-beta packages
--HG--
branch : trunk
2007-02-12 18:04:15 +01:00
hpk 5271ecce58 [svn r38598] fixing download url and fix makepyrelease script
--HG--
branch : trunk
2007-02-12 17:57:45 +01:00
arigo 00aa8876d6 [svn r38597] Raise an ImportError if there is no way to build a C extension module,
e.g. on top of pypy-c.  Importing e.g. py.magic.greenlet then gives an
exception that is saner to catch than ValueError.

--HG--
branch : trunk
2007-02-12 17:49:32 +01:00
hpk 620b070002 [svn r38595] streamlining info a bit
--HG--
branch : trunk
2007-02-12 17:42:53 +01:00
hpk 1169851892 [svn r38588] or maybe this version for google? :)
--HG--
branch : trunk
2007-02-12 17:29:15 +01:00
hpk e6071cfb7a [svn r38586] use merlinux.eu (did you know it exists? :)
--HG--
branch : trunk
2007-02-12 17:27:07 +01:00
cfbolz 9f3949ba3f [svn r38585] remove the gmbh
--HG--
branch : trunk
2007-02-12 17:17:37 +01:00
hpk a4123181c8 [svn r38584] cleaning up menu bar: "index" instead of doc,
removing pseudo "home" page.

--HG--
branch : trunk
2007-02-12 17:13:05 +01:00
hpk f19050bd40 [svn r38582] refining the release announcement/finalizing from my site
fijal, cfbolz, guido_w: are you ok with it?  (your name
is under the release announcement)

--HG--
branch : trunk
2007-02-12 17:10:28 +01:00
hpk ed2759b262 [svn r38579] library code should not use magic timeouts,
testing code may use a global TESTTIMEOUT

--HG--
branch : trunk
2007-02-12 16:55:48 +01:00
guido 5a46d43990 [svn r38578] Made that the docstring isn't replaced by the function info anymore, but the
func info is appended, some small style issues.

--HG--
branch : trunk
2007-02-12 16:45:56 +01:00
fijal 53c204962a [svn r38577] Test for explicit Failed
--HG--
branch : trunk
2007-02-12 16:40:04 +01:00
fijal ba07ab5533 [svn r38576] typo!
--HG--
branch : trunk
2007-02-12 16:30:32 +01:00
fijal de078273a0 [svn r38574] Special case outcome.Failed - reuse that excinfo
--HG--
branch : trunk
2007-02-12 16:28:28 +01:00
fijal 6210030d27 [svn r38573] This tests was completely broken when pypy is there
--HG--
branch : trunk
2007-02-12 16:28:09 +01:00
fijal cb87cd42cc [svn r38572] Move a bit into using high-level traceback interface instead of low-level one
--HG--
branch : trunk
2007-02-12 16:27:46 +01:00
guido c7fa5db37b [svn r38571] Using wcpath.info().created_rev (last changed revision) rather than
wcpath.status().rev (current wc rev) as revision, added revision for source and
namespace pages.

--HG--
branch : trunk
2007-02-12 16:21:35 +01:00
hpk a43ff3108f [svn r38568] improving r38560 a bit
--HG--
branch : trunk
2007-02-12 15:58:14 +01:00
fijal 6294a4b189 [svn r38560] Compare collectors by id rather than by name. It needs to be rethought
a bit.

--HG--
branch : trunk
2007-02-12 14:20:49 +01:00
fijal d01fb4a18e [svn r38559] Give info about tests in case of failure/interruption
--HG--
branch : trunk
2007-02-12 14:14:36 +01:00
hpk d1008d3752 [svn r38549] also privatizing Config.initdirect (which relates to remote reprs and such)
--HG--
branch : trunk
2007-02-12 13:21:16 +01:00
hpk 5d36fbf365 [svn r38548] carefully privatizing Config.make_repr and Config.merge_repr
by doing a whole-pylib replace and reviewing the diff in detail

--HG--
branch : trunk
2007-02-12 13:18:23 +01:00
guido 38e3462d98 [svn r38546] Typo.
--HG--
branch : trunk
2007-02-12 12:36:07 +01:00
guido 8a07ca4457 [svn r38542] Fixed help string for --apigenrelpath.
--HG--
branch : trunk
2007-02-12 12:16:18 +01:00
hpk 4388237e69 [svn r38534] some more little issues
--HG--
branch : trunk
2007-02-12 01:41:07 +01:00
hpk 66b0639109 [svn r38533] adding a way to modify the "apigen relative path"
from the command line, unifying conftest and confrest

--HG--
branch : trunk
2007-02-12 01:37:48 +01:00
hpk 8c55dd3f35 [svn r38530] fix
--HG--
branch : trunk
2007-02-12 01:09:57 +01:00
cfbolz b4732e7982 [svn r38524] add link to pyfuse (which is the newer approach, I think) and fix the link
target.

--HG--
branch : trunk
2007-02-11 23:16:23 +01:00
hpk b1b2a94a55 [svn r38518] fix references
--HG--
branch : trunk
2007-02-11 20:57:12 +01:00
hpk 97aab00607 [svn r38516] majorly refactor future chapter, mentioning
APIgen and other more current ideas

--HG--
branch : trunk
2007-02-11 20:52:11 +01:00
hpk 790c9bbb88 [svn r38514] rewrite/refactor why_py (it was quite old)
--HG--
branch : trunk
2007-02-11 20:31:14 +01:00
hpk 00c7ccfaa0 [svn r38508] skip signal detection tests for python < 2.4
(2.4 and 2.5 work apparently)

--HG--
branch : trunk
2007-02-11 19:56:08 +01:00
hpk ff9df3c079 [svn r38506] config.getvalue_pathlist should also honour option values
(to be uniform with getvalue semantics)

--HG--
branch : trunk
2007-02-11 19:47:04 +01:00
hpk 7973f472d7 [svn r38505] clarify that config.getvalue will first lookup
in options.

--HG--
branch : trunk
2007-02-11 19:43:34 +01:00
hpk 508eb5d4de [svn r38504] fixes for python2.3
--HG--
branch : trunk
2007-02-11 19:36:38 +01:00
hpk 14ad83da06 [svn r38496] don't print the test-mode, that needs more thought how
to do it now

--HG--
branch : trunk
2007-02-11 19:01:19 +01:00
hpk bda58e9862 [svn r38484] make config.option override any conftest provided value.
--HG--
branch : trunk
2007-02-11 18:08:13 +01:00
hpk 50f9f1a410 [svn r38480] unneeded import
--HG--
branch : trunk
2007-02-11 17:56:46 +01:00
hpk 5c000e57f1 [svn r38474] make io capturing configurable per e.g.
conf_iocapture = "sys"

by default it has "fd" for performing fd-based capturing

--HG--
branch : trunk
2007-02-11 17:25:01 +01:00
hpk 245aa057b4 [svn r38473] rewrote the future section of py test
--HG--
branch : trunk
2007-02-11 17:24:17 +01:00
hpk 5be8668782 [svn r38472] clarifications regarding dist testing
--HG--
branch : trunk
2007-02-11 17:14:40 +01:00
hpk 9b7fa6514b [svn r38470] try to have py.process.cmdexec run on top of PyPy
(with its currentl limitations)

--HG--
branch : trunk
2007-02-11 16:11:49 +01:00
hpk c52a54796d [svn r38467] make string comparison lowercase-insensitive for windows
--HG--
branch : trunk
2007-02-11 15:59:56 +01:00
hpk 22d98ac3a1 [svn r38460] removing a very-likely-obsolete test
and otherwise fixing files and tests
to do py.test.skip()s only during setup.

--HG--
branch : trunk
2007-02-11 14:46:46 +01:00
hpk e068a463a1 [svn r38459] two functions with the same name, use the latter one.
--HG--
branch : trunk
2007-02-11 14:45:49 +01:00
hpk 4e66510fa7 [svn r38458] better docstring for top level object
--HG--
branch : trunk
2007-02-11 14:33:22 +01:00
hpk 155886bb54 [svn r38456] konqueror issues
--HG--
branch : trunk
2007-02-11 14:31:24 +01:00
hpk 40c8b10040 [svn r38455] various merging of startup documentation
and rewriting/refactoring information and
references.  clarifying release-structure
a bit.

--HG--
branch : trunk
2007-02-11 14:26:03 +01:00
hpk edfa8f99d5 [svn r38452] bumping version number to 0.9.0-beta
--HG--
branch : trunk
2007-02-11 12:53:42 +01:00
hpk cea9257fbb [svn r38451] a draft release announcement
--HG--
branch : trunk
2007-02-11 12:52:44 +01:00
hpk 609b34d586 [svn r38449] removed DONE issues, added one more (sources page)
and comments.

--HG--
branch : trunk
2007-02-11 12:14:44 +01:00
hpk b7b9ff2b71 [svn r38448] shorter title
--HG--
branch : trunk
2007-02-11 12:05:52 +01:00
hpk e535f80be1 [svn r38447] privatize internal regular expressions
--HG--
branch : trunk
2007-02-11 12:01:27 +01:00
hpk 1c354315a6 [svn r38441] increase hard-coded timeouts a bit (waitclose()
will not neccessarily wait that long, it returns
as soon as the channel is closed so it's not
as bad as outright sleeping)

--HG--
branch : trunk
2007-02-11 09:32:27 +01:00
guido 8a60d6ee5c [svn r38440] Made that the blue links are colored from the stylesheet.
--HG--
branch : trunk
2007-02-11 03:21:45 +01:00
guido a6fd3c241e [svn r38439] Fixed a list of things suggested by hpk: changed method order in class pages,
changed page titles, added links to the api and source index from the nav bar
(also in py/doc html), changed function views, made it possible to remove an
item from the navigation, changed header 'properties' to 'class attributes and
properties', removed duplicate stack traces (in a somewhat unsatisfying way,
needs revisiting later I think).

--HG--
branch : trunk
2007-02-11 03:04:36 +01:00
guido ac5c05b688 [svn r38438] Rolling back r38422 and part of r38397 because it made that a lot of stuff was
printed to stdout/err.

--HG--
branch : trunk
2007-02-11 02:54:22 +01:00
hpk 8e33cf6772 [svn r38427] significantly reducing the trailing "Exception in Thread"
messages by having threads die more silently.  Most
of these threads and tracebacks are anyway on some
remote machine, and we need to take care that errors
are routed to the place of invocation (e.g. the
remote_exec() invoker should get remote exceptions,
if the remote thread goes out of scope, the resulting
exception will not be seen likely, anyway)

--HG--
branch : trunk
2007-02-10 23:16:47 +01:00
fijal 7dd0491764 [svn r38422] Argh. Forgotten to check that in
--HG--
branch : trunk
2007-02-10 22:56:23 +01:00
hpk c311d2bc0a [svn r38408] my current list of things (not totally sorted in prio order)
that i'd like for 0.9

--HG--
branch : trunk
2007-02-10 21:29:03 +01:00
hpk 1095cec0dc [svn r38398] for setup/teardown pairs the correct idiom is
setup()
    try:
        ...
    finally:
        teardown()

and not to do the setup() within the try,
because if that raises, teardown() will
likely go wrong as well etc.

--HG--
branch : trunk
2007-02-10 18:00:58 +01:00
fijal 1739ba4f55 [svn r38397] Kill PidInfo and make boxing optional for distributed testing.
This should make dist testing on windows possible.

--HG--
branch : trunk
2007-02-10 17:50:47 +01:00
guido 275673ba21 [svn r38396] Capturing stdout and stderr when running the update_website tests to not mess
up --rest output.

--HG--
branch : trunk
2007-02-10 16:41:31 +01:00
guido d3cd1c5bcf [svn r38393] Made (displayed) paths to source files relative whenever possible.
--HG--
branch : trunk
2007-02-10 16:19:17 +01:00
hpk e280dfe1f0 [svn r38392] looponfailing tricked me into committing too early
(syntax error, bah)

--HG--
branch : trunk
2007-02-10 16:07:30 +01:00
hpk bc009c4aef [svn r38391] check more exactly if we are working
from a default rsync_root (checking
for rsync_root == topdir is not safe
as the topdir may be explicitely contained
in the rsync_root list)

--HG--
branch : trunk
2007-02-10 16:05:32 +01:00
hpk d3e2c68e03 [svn r38390] refining the logic: for inplace-localhosts ("optimized localhost")
we do not add any relative path.

--HG--
branch : trunk
2007-02-10 15:51:25 +01:00
hpk fa94900836 [svn r38389] completing the picture: now if you don't have rsync_roots
specified, the config.topdir is transfered but it is
transferred to the "remotepath.join(topdir.basename)"
(not actual code) to avoid random such rsyncs to
destroy/affect remote filesystem state.

--HG--
branch : trunk
2007-02-10 15:45:41 +01:00
guido f88bbf1b83 [svn r38388] Removed stuff that's done, added a couple more items to do.
--HG--
branch : trunk
2007-02-10 15:22:16 +01:00
guido ada3a4cfcf [svn r38386] Fixed some more nasty problems after running py.test --apigen on pypy: problem
recognizing """foo "bar" baz""" as a single line string (hack unfortunately),
unicode problems. Also added some code to debug the tokenizer: you can now run
the color.py script with a Python file as arg to tokenize the file.

--HG--
branch : trunk
2007-02-10 15:20:21 +01:00
hpk e11e7472bc [svn r38378] snapshot commit for: each rsync root is now copied to
remote-topdir.join(root.basename)

--HG--
branch : trunk
2007-02-10 14:21:26 +01:00
guido 663447a7d1 [svn r38370] Hrmph, probably the nastiest case of 'debug print' I ran into so far, bringing
apigen almost to a crawl... Also small optimization making that 'normal'
multi-line strings are resolved before those using \.

--HG--
branch : trunk
2007-02-10 13:02:06 +01:00
guido 4d4ce90f73 [svn r38362] Fixed stupidity in the last checkin: only matching multi-line strings using
slashes if the slash is actually at the end of the line... :(

--HG--
branch : trunk
2007-02-10 12:06:58 +01:00
hpk e04e08718f [svn r38352] made localhost inplace handling safer (and more
redundant, there is an additional flag now,
and host.gw_remotepath is None for localhost-inplace
hosts)

--HG--
branch : trunk
2007-02-10 09:52:22 +01:00
hpk e57df20f4b [svn r38315] fixing failing apigen test and adding
a string equality assertion helper
(if we need to have such exact string-comparison tests,
then let's at least make it convenient
to discover the problem quickly)

--HG--
branch : trunk
2007-02-09 21:36:20 +01:00
hpk 248a8d944f [svn r38310] assertion to be sure about keywords
--HG--
branch : trunk
2007-02-09 20:45:04 +01:00
fijal 0d6d17dc96 [svn r38302] Kill _dist_import_pypy
--HG--
branch : trunk
2007-02-09 19:33:00 +01:00
guido 30608ea412 [svn r38262] Fixed support for tokenizing multi-line strings that use \ to span lines.
--HG--
branch : trunk
2007-02-09 16:13:30 +01:00
fijal aa4896fa04 [svn r38249] It seems that there was somehow different idea in mind, but I actually
do not get it.

Right now there is no way to override default session other than
from py.__.test import config; config.TerminalSession = 'name_to_import'
which is scary. Holger please take a look.

--HG--
branch : trunk
2007-02-09 14:24:08 +01:00
guido 73281adc5a [svn r38246] Fixed problems with line height in sources, added missing commas to seperate
base classes, added all Python (2.5) keywords.

--HG--
branch : trunk
2007-02-09 14:01:08 +01:00
guido d2f11081cb [svn r38221] Reverting previous changes after a discussion with hpk.
--HG--
branch : trunk
2007-02-09 00:43:27 +01:00
hpk 4815c6de21 [svn r38220] moved -f and --exec in the documentation as well
--HG--
branch : trunk
2007-02-09 00:41:59 +01:00
hpk 828ef252d0 [svn r38219] looponfailing and exec are not so experimental
--HG--
branch : trunk
2007-02-09 00:38:07 +01:00
hpk b175e90f26 [svn r38218] i give up for now, somehow the local change
in the FileBox affects --dist testing in ways i
can't fully understand at the moment (i would
think it only affects --boxed test runs). So
we are back to share tempdirs when running boxed
(causing failures elswhere).  We care later, i guess.

--HG--
branch : trunk
2007-02-09 00:25:32 +01:00
guido c1216c2346 [svn r38217] Moved the -S option to a new conftest.py in the execnet dir to avoid nasty
option re-definition problems.

--HG--
branch : trunk
2007-02-09 00:21:38 +01:00
guido 0bd286ba94 [svn r38216] Adjusting the conftest-for-socketgateway example so it takes care of the -S
option (like the default one does), this caused some test failure.

--HG--
branch : trunk
2007-02-08 23:50:00 +01:00
guido 9a0fa93ce6 [svn r38215] Gotta love the XHTML validity checks... ;)
--HG--
branch : trunk
2007-02-08 23:47:28 +01:00
hpk 07310d0799 [svn r38214] be a bit nicer: don't pollute /tmp with a new tempdir
for each boxed test run.  Also fix the counting
of boxes (how did it ever work like this, anyway)

--HG--
branch : trunk
2007-02-08 23:24:44 +01:00
guido 999da7a376 [svn r38213] Some small cleanups, made fonts a bit smaller and more consistent.
--HG--
branch : trunk
2007-02-08 23:19:10 +01:00
hpk 0f37c632ac [svn r38212] have each boxed test run use its own tempdir
--HG--
branch : trunk
2007-02-08 23:13:59 +01:00
hpk dcf4e564ad [svn r38208] make test safer against race conditiation (dist testing)
--HG--
branch : trunk
2007-02-08 21:56:12 +01:00
hpk ab6dded07a [svn r38207] revert 38182 and 38184 changes to ensuretemp()
because getpid() is different per thread
(and if e.g. run via execnet in threads ...
it creates new tempdirectories all the time)
let's consider this sometime else

--HG--
branch : trunk
2007-02-08 21:31:50 +01:00
hpk 499d60c8ab [svn r38203] rename getpymodule/getpycodeobj to "_" methods
(which can build C modules on the fly)
it's not clear they are still useful this way
and they are easy to confuse with pyimport()

--HG--
branch : trunk
2007-02-08 20:48:31 +01:00
hpk 0a79e56b40 [svn r38201] fixing the windows conftest example to work with
the new rsync interface

--HG--
branch : trunk
2007-02-08 20:23:06 +01:00
hpk 3ea6a768e0 [svn r38198] almost cosmetic
--HG--
branch : trunk
2007-02-08 20:15:05 +01:00
hpk 479aa2e03f [svn r38197] slight reporting fix
--HG--
branch : trunk
2007-02-08 20:10:58 +01:00
hpk 4976889c53 [svn r38196] reducing the callback-indirections for rsyncing
and improving the reporting for localhosts non-rsyncs

--HG--
branch : trunk
2007-02-08 20:02:28 +01:00
hpk 6e293f593a [svn r38192] streamlining localhost optimization handling,
and simplifying the test a bit.

--HG--
branch : trunk
2007-02-08 19:35:18 +01:00
hpk 411157756b [svn r38184] avoid globals and add a comment
--HG--
branch : trunk
2007-02-08 18:39:03 +01:00
guido 1c1df46a55 [svn r38183] Made that py.execnet.Channel (referring to py.__.execnet.channel.Channel) is
picked up by the apigen doc generator, fixed some bugs that made that that
didn't work previously.

--HG--
branch : trunk
2007-02-08 18:28:55 +01:00
guido e89d5e5880 [svn r38182] Made that ensuretemp() creates a new dir after forks.
--HG--
branch : trunk
2007-02-08 18:25:32 +01:00
hpk 1e8845dfa5 [svn r38181] delete is now an option per-host
--HG--
branch : trunk
2007-02-08 18:24:30 +01:00
guido 9b22af1b32 [svn r38179] Allowing to rsync also when tests are failing using a --ignorefail switch, and
added a --help switch that shows a short help message.

--HG--
branch : trunk
2007-02-08 17:28:33 +01:00
hpk 7fccd77b8a [svn r38176] make delete a per-host option (internally it is anyway)
--HG--
branch : trunk
2007-02-08 17:04:58 +01:00
fijal c18ab8fd7e [svn r38175] Fix
--HG--
branch : trunk
2007-02-08 17:02:15 +01:00
fijal e3dce2c288 [svn r38174] Flag instead of new method and a test.
--HG--
branch : trunk
2007-02-08 17:01:51 +01:00
fijal 27cf3997e3 [svn r38173] * Minor semantics change, now host and host: are the same (we don't
want to rsync to home dir usually)
* Make a flag rsync_flag in hostinfo which tells whether to rsync
  or no, semantics are that in case of localhost we do not rsync
  and in case of localhost: we do.

--HG--
branch : trunk
2007-02-08 16:56:33 +01:00
fijal 120dae7749 [svn r38172] Add a method which sends only if there are available targets
--HG--
branch : trunk
2007-02-08 16:54:53 +01:00
fijal 395d97160c [svn r38165] Update this as well
--HG--
branch : trunk
2007-02-08 16:35:11 +01:00
fijal 0e8510648f [svn r38164] Move source as an rsync initialisation argument rather than
as a send parameter

--HG--
branch : trunk
2007-02-08 16:31:38 +01:00
guido db4a19f473 [svn r38151] Small change in the text to make it a bit more understandable.
--HG--
branch : trunk
2007-02-08 16:14:52 +01:00
guido f8e50aabad [svn r38150] Fixed test that failed after the last change in apigen (removing the stacks
from the callable info boxes).

--HG--
branch : trunk
2007-02-08 16:14:21 +01:00
guido fff15f50f3 [svn r38148] Made that stacks are built on seperate pages instead of inline in the function
information, to avoid having > 5MB pages...

--HG--
branch : trunk
2007-02-08 15:52:49 +01:00
guido 46f8c56c9b [svn r38144] Fixed a problem with the linker which on building api/source docs found matches
in its own source code, moved some elements in the apigen docs out of a header
where they shouldn't have been (making the font too large).

--HG--
branch : trunk
2007-02-08 14:54:38 +01:00
guido 9643b7d6f8 [svn r38143] Removed some confusing output to stdout/stderr (output of failing tests, which
are part of a test that tests whether a set of tests ran by a nested py.test
process fails... so the failing output is correct).

--HG--
branch : trunk
2007-02-08 14:51:38 +01:00
guido 5ea9a43dce [svn r38142] Fixed problem with indentation in the results of a doctest.
--HG--
branch : trunk
2007-02-08 14:47:23 +01:00
guido fd0cbdb95a [svn r38140] Empty literal blocks are not allowed: removing them.
--HG--
branch : trunk
2007-02-08 13:26:02 +01:00