Commit Graph

485 Commits

Author SHA1 Message Date
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