Raymond Hettinger
e8b4b60555
Add recipe to docs.
2008-03-11 00:19:07 +00:00
Neal Norwitz
0098c9d609
Introduce a lock to fix a race condition which caused an exception in the test.
...
Some buildbots were consistently failing (e.g., amd64).
Also remove a couple of semi-colons.
2008-03-09 19:03:42 +00:00
Georg Brandl
5bb647dfa8
Update for newest Sphinx.
2008-03-09 18:18:30 +00:00
Georg Brandl
c557db5268
#2249 : document assertTrue and assertFalse.
2008-03-09 15:11:39 +00:00
Jeffrey Yasskin
3accbb0729
Well that was dumb. platform.python_implementation returns a function, not a
...
string.
2008-03-08 21:35:15 +00:00
Jeffrey Yasskin
019e9d730a
Fix pybench for pythons < 2.6, tested back to 2.3.
2008-03-08 20:08:21 +00:00
Jeffrey Yasskin
0df0f6d1b2
Add tests for with and finally performance to pybench.
2008-03-08 18:26:54 +00:00
Facundo Batista
c54aec1fda
Issue 1106316. post_mortem()'s parameter, traceback, is now
...
optional: it defaults to the traceback of the exception that is currently
being handled.
2008-03-08 16:50:27 +00:00
Georg Brandl
372d55e3e6
#1533486 : fix types in refcount intro.
2008-03-08 10:05:24 +00:00
Marc-André Lemburg
50967bdec2
Add new name for Mandrake: Mandriva.
2008-03-08 10:01:43 +00:00
Georg Brandl
47a5aec836
#2253 : fix continue vs. finally docs.
2008-03-08 09:54:06 +00:00
Andrew M. Kuchling
31c6de4f79
Grammar fix
2008-03-07 21:09:23 +00:00
Nick Coghlan
7af53be66f
Speed up with statements by storing the __exit__ method on the stack instead of in a temp variable (bumps the magic number for pyc files)
2008-03-07 14:13:28 +00:00
Jeffrey Yasskin
e75f59a578
Progress on issue #1193577 by adding a polling .shutdown() method to
...
SocketServers. The core of the patch was written by Pedro Werneck, but any bugs
are mine. I've also rearranged the code for timeouts in order to avoid
interfering with the shutdown poll.
2008-03-07 06:22:15 +00:00
Raymond Hettinger
38fb9bee6c
Tweak recipes and tests
2008-03-07 01:33:20 +00:00
Raymond Hettinger
a1ca94a102
Issue 2246: itertools grouper object did not participate in GC (should be backported).
2008-03-06 22:51:36 +00:00
Raymond Hettinger
ad47fa141c
More tests.
2008-03-06 20:52:01 +00:00
Martin v. Löwis
db311ba588
Update db-4.4.20 build procedure.
2008-03-06 13:50:28 +00:00
Martin v. Löwis
8c4e799ad0
Rely on x64 platform configuration when building _bsddb on AMD64.
2008-03-06 13:49:47 +00:00
Georg Brandl
98aa805b10
Bug #2220 : handle rlcompleter attribute match failure more gracefully.
2008-03-06 07:45:52 +00:00
Georg Brandl
4286138e7b
#2220 : handle matching failure more gracefully.
2008-03-06 07:43:02 +00:00
Georg Brandl
a7bd27f0a8
#2225 : return nonzero status code from py_compile if not all files could be compiled.
2008-03-06 07:41:16 +00:00
Georg Brandl
810ea29b0e
Add missing NEWS entry for r61263.
2008-03-06 07:34:52 +00:00
Georg Brandl
6c45dc12b3
Add isinstance/issubclass to tutorial.
2008-03-06 07:31:34 +00:00
Georg Brandl
26bab5f92a
Little clarification of assignments.
2008-03-06 07:22:09 +00:00
Georg Brandl
70992c3c83
Expand on re.split behavior with captured expressions.
2008-03-06 07:19:15 +00:00
Martin v. Löwis
d2bbe526c3
Patch #2232 : os.tmpfile might fail on Windows if the user has no
...
permission to create files in the root directory.
Will backport to 2.5.
2008-03-06 06:55:22 +00:00
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