Georg Brandl
baf05b7e09
fix typo
2006-03-25 13:12:56 +00:00
Raymond Hettinger
c4e94b90a8
Don't decrement below zero. And add more tests.
2006-03-25 12:15:04 +00:00
Phillip J. Eby
ccc7bb4ef2
More extensive comment on __exit__ handling, per Guido's request.
2006-03-25 04:32:12 +00:00
Tim Peters
e33901eb2b
Whitespace normalization.
2006-03-25 01:50:43 +00:00
Phillip J. Eby
1a9fac0937
Yield is now allowed in try-finally, so update docs accordingly
2006-03-25 00:46:43 +00:00
Phillip J. Eby
6edd258608
Fix a problem with @contextmanager not detecting a broken generator
...
that yields after a throw(). Make @contextmanager not reraise
exceptions, but return a false value in that case instead. Add test
cases for both behaviors.
2006-03-25 00:28:24 +00:00
Phillip J. Eby
bee0712214
Support throw() of string exceptions.
2006-03-25 00:05:50 +00:00
Raymond Hettinger
43b00da219
Revert previous change. Wasn't ready yet.
2006-03-24 23:55:32 +00:00
Raymond Hettinger
e751c86dcb
Add more tests
2006-03-24 23:47:53 +00:00
Phillip J. Eby
4a26633e0e
Revert r42719, because the isinstance() check wasn't redundant; formatting a
...
string exception was causing a TypeError.
2006-03-24 22:10:54 +00:00
Raymond Hettinger
fd3fcf0b35
SF Patch #1455676 : Simplify using Queues with daemon consumer threads
...
Adds join() and task_done() methods to track when all enqueued tasks have
been gotten and fully processed by daemon consumer threads.
2006-03-24 20:43:29 +00:00
Nick Coghlan
98bcb70815
Add documentation for PEP 338
2006-03-24 13:36:33 +00:00
Nick Coghlan
c841bb6b63
run_module shouldn't hold the import lock when running a script
2006-03-24 13:05:53 +00:00
Neal Norwitz
cdb7948f97
Use absolute import.
2006-03-24 08:58:38 +00:00
Martin v. Löwis
b95caff56c
Clarify cases when waitpid might not return self.pid.
2006-03-24 08:26:26 +00:00
Martin v. Löwis
478c82d30f
Bug #1183780 : Add Popen objects to _active only in __del__.
...
Cleanup terminated processes as well.
Add cmd attribute to Popen4.
2006-03-24 08:14:54 +00:00
Neal Norwitz
846d72a7d7
Exceptions should inherit from Exception now.
2006-03-24 08:02:51 +00:00
Neal Norwitz
de868c9a1b
Hmmm, I don't think we wanted to test // twice and / not at all (in this section).
2006-03-24 07:30:56 +00:00
Neal Norwitz
5a822fb720
Exceptions should inherit from Exception now.
2006-03-24 07:03:44 +00:00
Neal Norwitz
7fbb9d1174
SF bug #1457411 , fix errors using variables that don't exist.
...
Rename file -> filename to be clear.
Will backport.
2006-03-24 05:36:33 +00:00
Martin v. Löwis
51ef6f90af
Forward port of 43262: Add 2.4.3 UUIDs.
2006-03-23 19:21:52 +00:00
Martin v. Löwis
c92157ff52
Relax result test for program mode of quopri.
2006-03-23 19:14:23 +00:00
Martin v. Löwis
bd8dbab247
Preserve command name, for later printing of active
...
commands. If there are active commands when the tests
start, fail, printing these commands.
2006-03-23 18:18:35 +00:00
Martin v. Löwis
83be9669c8
Rewrite pipe code using subprocess, to make sure the
...
child process is closed when the test completes.
2006-03-23 18:16:43 +00:00
Hye-Shik Chang
d478f3453f
Patch #1396919 : Reenable the system scope threads on FreeBSD 5.4
...
and later versions because they bumped the default setting to
get our basic tests to run correctly..
2006-03-23 12:32:36 +00:00
Hye-Shik Chang
dfbd34c80f
Cosmetic improvement for r43247
2006-03-23 12:12:44 +00:00
Hye-Shik Chang
55f316c390
Skip to install files for empty directories; to name it, Lib/lib-old.
...
BSD make stops the build when it tries to expand wild cards on empty
directories.
2006-03-23 12:04:37 +00:00
Neal Norwitz
badc086543
Stop duplicating code and handle slice indices consistently and correctly
...
wrt to ssize_t.
2006-03-23 06:03:08 +00:00
Neal Norwitz
90768424f8
Fix a ssize_t issue
2006-03-23 05:48:09 +00:00
Tim Peters
8af92d1f6c
Heh -- used the right format for a refcount, but forgot
...
to stop truncating it.
2006-03-23 05:41:24 +00:00
Neal Norwitz
e98ccf6690
Forward port MvL's fix in 43227:
...
Fix crash when a Unicode string containing an encoding declaration is
compile()d. Fixes #1115379 .
2006-03-23 05:39:47 +00:00
Tim Peters
4d073bb9a1
_Py_NegativeRefcount(): print the full value of ob_refcnt.
2006-03-23 05:38:33 +00:00
Barry Warsaw
d6316a9fea
Add email/mime to LIBSUBDIRS. Fixes SF bug # 1454912.
2006-03-22 14:57:54 +00:00
Thomas Heller
bcfcccaf6e
Fix some int/Py_ssize_t issues which led to compiler warnings
...
on 64-bit platforms.
2006-03-22 13:21:16 +00:00
Thomas Heller
59feb6f5cc
Include <malloc.h> on windows, to avoid warnings when compiling with mingw.
...
Don't use SEH when compiling wth mingw.
Use IS_INTRESOURCE to determine function name from function ordinal.
Rewrite the code that allocates and frees callback functions, hopefully
this avoids the coverty warnings: Remove the THUNK typedef, and move the
definition of struct ffi_info into the header file.
2006-03-22 12:59:53 +00:00
Thomas Heller
c61c049955
ctypes was added.
2006-03-22 10:09:27 +00:00
Hye-Shik Chang
f303261cf0
Remove false information from the comment and reformat it like other
...
comments in the file. (SF #1455641 )
2006-03-22 08:52:43 +00:00
Neal Norwitz
8142cb6f20
Damn another occurrence of using as as a keywordf
2006-03-22 07:13:30 +00:00
Georg Brandl
72d7a78eb0
Change NEWS entry for recent socket API change
2006-03-22 06:44:14 +00:00
Tim Peters
0ae07bdb59
Whitespace normalization.
2006-03-22 03:23:21 +00:00
Tim Peters
b84de02f75
Record that test_wait[34] get skipped on native Windows.
2006-03-22 02:58:17 +00:00
Barry Warsaw
4d90bbd292
News about email 4.0.
2006-03-22 02:45:50 +00:00
Barry Warsaw
0568f404ca
remove test file
2006-03-21 19:46:26 +00:00
Barry Warsaw
a3aaf3e7c8
py trunk svn test
2006-03-21 19:37:40 +00:00
Barry Warsaw
49c54bc97a
py trunk svn test
2006-03-21 19:26:34 +00:00
Barry Warsaw
f37ec35b0b
py trunk svn test
2006-03-21 18:30:37 +00:00
Georg Brandl
bb03ac0dae
Correct API design mistake from rev. 43126: make socket attributes readonly properties.
2006-03-21 18:17:25 +00:00
Martin v. Löwis
9ca8789ee3
Update to Tk 8.4.12 and Tix 8.4.0
2006-03-21 13:20:29 +00:00
Martin v. Löwis
a0f4549b79
Update to OpenSSL 0.9.8a
2006-03-21 12:08:39 +00:00
Georg Brandl
48b4bf7b1a
Add a note about pow(x,y) equalling x**y (the "**" operator
...
was used unmotivated in the pow() docs)
2006-03-21 08:48:04 +00:00