Georg Brandl
1df03405fc
#1725737 : ignore other VC directories other than CVS and SVN's too.
2008-03-06 06:47:18 +00:00
Andrew M. Kuchling
1d136bb91e
Add two items
2008-03-06 01:36:27 +00:00
Raymond Hettinger
040f10e9b3
Add examples.
2008-03-06 01:15:52 +00:00
Martin v. Löwis
4291b19d4e
cd PCbuild only after deleting all pyc files.
2008-03-05 22:24:31 +00:00
Raymond Hettinger
6e3e415886
Small code cleanup.
2008-03-05 21:04:32 +00:00
Raymond Hettinger
66f91ea966
C implementation of itertools.permutations().
2008-03-05 20:59:58 +00:00
Georg Brandl
9c06574024
#2239 : PYTHONPATH delimiter is os.pathsep.
2008-03-05 19:31:44 +00:00
Skip Montanaro
86d4e7a146
Elaborate on the role of the altinstall target when installing multiple
...
versions.
2008-03-05 16:41:09 +00:00
Thomas Heller
f3c0559b5e
Issue 1872: Changed the struct module typecode from 't' to '?', for
...
compatibility with PEP3118.
2008-03-05 15:34:29 +00:00
Thomas Heller
78b8f4458d
News entry for yesterdays commit.
2008-03-05 14:53:39 +00:00
Georg Brandl
225163d6a6
Fix some rst.
2008-03-05 07:10:35 +00:00
Jeffrey Yasskin
f28896d0bb
Fix test_socketserver on Windows after r61099 added several signal.alarm()
...
calls (which don't exist on non-Unix platforms).
Thanks to Trent Nelson for the report and patch.
2008-03-05 06:19:56 +00:00
Neal Norwitz
89cb9b799b
test_smtplib sometimes reports leaks too, suppress it
2008-03-05 05:51:20 +00:00
Neal Norwitz
38bdfaa14b
Use -u urlfetch to run more tests
2008-03-05 05:50:20 +00:00
Neal Norwitz
64984a895e
Tabs -> spaces
2008-03-05 05:49:03 +00:00
Neal Norwitz
48309d5a4b
Make the timeout longer to give slow machines a chance to pass the test
...
before timing out. This doesn't change the duration of the test under
normal circumstances. This is targetted at fixing the spurious failures
on the FreeBSD buildbot primarily.
2008-03-05 05:38:06 +00:00
Neal Norwitz
ce527883dc
Catch OSError when trying to remove a file in case removal fails. This
...
should prevent a failure in tearDown masking any real test failure.
2008-03-05 05:20:44 +00:00
Neal Norwitz
218072595e
Get this test to pass even when there is no sound card in the system.
...
Patch from Trent Nelson. (I can't test this.)
2008-03-05 05:14:18 +00:00
Neal Norwitz
31e88934ed
Remove the files/dirs after closing the DB so the tests work on Windows.
...
Patch from Trent Nelson. Also simplified removing a file by using test_support.
2008-03-05 05:10:48 +00:00
Amaury Forgeot d'Arc
d21fb4c2e0
Issue#2238: some syntax errors from *args or **kwargs expressions
...
would give bogus error messages, because of untested exceptions::
>>> f(**g(1=2))
XXX undetected error
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'int' object is not iterable
instead of the expected SyntaxError: keyword can't be an expression
Will backport.
2008-03-05 01:50:33 +00:00
Andrew M. Kuchling
3710a13506
Add more items; add fragmentary notes
2008-03-05 00:44:41 +00:00
Raymond Hettinger
f1cca2b593
Fix refleak in chain().
2008-03-04 22:29:44 +00:00
Fred Drake
a28df13a9d
fix typo
2008-03-04 21:14:04 +00:00
Thomas Heller
a23aede562
Try to fix the build for PY_LINUX.
2008-03-04 20:21:42 +00:00
Thomas Heller
8bdf81d2df
Merged changes from libffi3-branch.
...
The bundled libffi copy is now in sync with the recently released
libffi3.0.4 version, apart from some small changes to
Modules/_ctypes/libffi/configure.ac.
I gave up on using libffi3 files on os x.
Instead, static configuration with files from pyobjc is used.
2008-03-04 20:09:11 +00:00
Neal Norwitz
4a50d26ba2
Close the file before trying to remove the directory so it works on Windows.
...
As reported by Trent Nelson on python-dev.
2008-03-04 16:22:46 +00:00
Georg Brandl
fd6cabfe21
#2230 : document that PyArg_* leaves addresses alone on error.
2008-03-04 07:33:30 +00:00
Georg Brandl
27504dae1b
Fix some patch attributions.
2008-03-04 07:25:54 +00:00
Raymond Hettinger
d553d856e7
Beef-up docs and tests for itertools. Fix-up end-case for product().
2008-03-04 04:17:08 +00:00
Andrew M. Kuchling
378586a844
Thesis night results: add various items
2008-03-04 01:50:32 +00:00
Andrew M. Kuchling
3fe1843cee
Add versionadded tags
2008-03-04 01:49:37 +00:00
Andrew M. Kuchling
c6511a851e
Typo fix
2008-03-04 01:48:26 +00:00
Andrew M. Kuchling
684868ac90
Fix sentence fragment
2008-03-04 01:47:38 +00:00
Andrew M. Kuchling
ece10b4004
Grammar fix; markup fix
2008-03-04 01:30:10 +00:00
Andrew M. Kuchling
91ae0c9a70
Typo fix
2008-03-04 00:40:32 +00:00
Raymond Hettinger
10ac19bedc
Issue 2226: Callable checked for the wrong abstract method.
2008-03-03 22:19:58 +00:00
Raymond Hettinger
972fb077a0
Remove dependency on itertools -- a simple genexp suffices.
2008-03-03 22:04:55 +00:00
Georg Brandl
8e67ef52db
Expand a bit on genexp scopes.
2008-03-03 21:31:50 +00:00
Georg Brandl
d2f7680b8f
Actually import itertools.
2008-03-03 21:22:47 +00:00
Georg Brandl
26bc177fe6
15 -> 16, the 2nd
2008-03-03 20:39:00 +00:00
Georg Brandl
3e9d66fee1
There are now sixteen isfoo functions.
2008-03-03 20:37:55 +00:00
Christian Heimes
728bee897f
15 -> 16
2008-03-03 20:30:29 +00:00
Christian Heimes
608c1d8e87
Since abc._Abstract was replaces by a new type flags the regression test suite fails. I've added a new function inspect.isabstract(). Is the mmethod fine or should I check if object is a instance of type or subclass of object, too?
2008-03-03 18:28:04 +00:00
Christian Heimes
1f178a6fac
Initialized merge tracking via "svnmerge" with revisions "1-60195" from
...
svn+ssh://pythondev@svn.python.org/python/branches/trunk-math
2008-03-03 12:40:17 +00:00
Neal Norwitz
ca752f3b1a
Only DECREF if ret != NULL
2008-03-03 04:37:45 +00:00
Brett Cannon
7dbd91811d
Add test_main() functions to various tests where it was simple to do. Done so
...
that regrtest can execute the test_main() directly instead of relying on import
side-effects.
2008-03-03 04:19:29 +00:00
Brett Cannon
963c80fd45
Add a note in the main test class' docstring that the order of execution of the
...
tests is important.
2008-03-03 03:26:43 +00:00
Brett Cannon
bfbf5b3715
Add a note in the main test class' docstring that the order of execution of the
...
tests is important.
2008-03-03 03:24:48 +00:00
Brett Cannon
6382ffc892
Move test_largefile over to using 'with' statements for open files.
...
Also rename the driver function to test_main() instead of main_test().
2008-03-03 02:41:40 +00:00
Jeffrey Yasskin
9063a99042
compile.c always emits END_FINALLY after WITH_CLEANUP, so predict that in
...
ceval.c. This is worth about a .03-.04us speedup on a simple with block.
2008-03-03 01:27:03 +00:00