Just van Rossum
6767eed22a
Short and sweet module doing something very useful: for event loop
...
based threads, release the GIL when the event loop goes to sleep,
and acquire it again when the event loop wakes up again. OSX-only.
2003-05-03 00:18:55 +00:00
Just van Rossum
d797e7b507
Fixed age-old beginner's error: don't start the main loop as a side
...
effect of an import. (This is one step towards threading support in
the IDE.)
2003-05-02 23:40:29 +00:00
Raymond Hettinger
320a1b0454
Simplify ref count test.
2003-05-02 22:44:59 +00:00
Raymond Hettinger
8fd3f871f3
Add StopIteration tests.
...
Simplify test_main().
2003-05-02 22:38:07 +00:00
Fred Drake
05404c3d7c
add link types for the remaining links in the navigation panels
2003-05-02 20:30:18 +00:00
Jack Jansen
4f45011af2
CWI moved websites around without me knowing it, and together with
...
a bug in urllib2 this caused pimp to stop working. Fixed the URL to
make it work again.
2003-05-02 20:27:40 +00:00
Raymond Hettinger
834f463948
Note itertools.islice() bugfix.
2003-05-02 20:24:56 +00:00
Fred Drake
bf8ec3e035
- add link relationships to some of the links in the navigation panels
...
- implement custom_REL_hook() so LaTeX2HTML uses currently recommended
link types; those work fine with tools like the Mozilla Site
Navigation Bar
2003-05-02 20:18:01 +00:00
Raymond Hettinger
5466296f02
Research notes and explorations for optimizing Python dictionaries.
2003-05-02 20:11:29 +00:00
Raymond Hettinger
341deb74e7
The previous made the stop argument optional.
...
It is better to be explicit and just allow stop to be None.
2003-05-02 19:44:20 +00:00
Raymond Hettinger
14ef54cd83
SF bug #730685 : itertools.islice stop argument is not optional
...
* itertools.islice() stop argument did not perform as documented.
* beefed-up test suite
2003-05-02 19:04:37 +00:00
Tim Peters
e2df5ffa53
SF patch 731504: Typo in datetimemodule.c comment.
...
s/isofomat/isoformat/, by Steven Taschuk.
2003-05-02 18:39:55 +00:00
Fred Drake
98b2576424
Avoid extraneous blank line generated in the middle of the document
...
head.
2003-05-02 18:21:22 +00:00
Fred Drake
f06b90534b
Remove section number from the title for use in the
...
<meta name='description' ...> element in the document head.
2003-05-02 18:08:16 +00:00
Anthony Baxter
0e85f9d6fd
Patch 731209: Restore socketmodule's behaviour with dotted quad addresses
...
to that of Python2.1. Such nnn.nnn.nnn.nnn addresses are just used directly,
not passed to the resolver for a pointless lookup.
2003-05-02 15:40:46 +00:00
Skip Montanaro
6dc4a8e3fb
add note about building with bsddb185 and making it appear as bsddb.
2003-05-02 15:27:59 +00:00
Raymond Hettinger
2e973c03f3
Added missing modules to __all__ check.
2003-05-02 09:36:07 +00:00
Raymond Hettinger
91bbd9a7b9
Used sets.Set() to compare unordered sequences.
...
Improves clarity and brevity.
2003-05-02 09:06:28 +00:00
Jack Jansen
40006e9f7a
Rename funny long suite to Disk_File_Folder.
2003-05-01 22:06:15 +00:00
Jeremy Hylton
fc61f9a36e
Silence compiler warnings in VC 7.
2003-05-01 21:31:53 +00:00
Ken Manheimer
2448f1b655
Slightly more lenient pdbtrack prompt recognition, for people who use
...
eg "pdb>".
2003-05-01 21:07:32 +00:00
Ken Manheimer
595adce09b
Allow for multiple parens around pdb prompt for (new) nested debugging
...
sessions (and some cosmetic wording changes).
2003-05-01 20:46:14 +00:00
Walter Dörwald
21d3a32b99
Combine the functionality of test_support.run_unittest()
...
and test_support.run_classtests() into run_unittest()
and use it wherever possible.
Also don't use "from test.test_support import ...", but
"from test import test_support" in a few spots.
From SF patch #662807 .
2003-05-01 17:45:56 +00:00
Walter Dörwald
90437c03f2
Consistently use test_support.foo everywhere.
...
Remove the last use of veris().
Remove now useless imports and functions.
2003-05-01 13:12:34 +00:00
Martin v. Löwis
1869ec5cb7
Convert tcl objects to strings in getvar/setvar. Fixes #730506 .
2003-05-01 05:47:00 +00:00
Martin v. Löwis
9e29625a1b
Patch #729300 : Disable error message if Python is not built for threads.
2003-05-01 05:25:29 +00:00
Martin v. Löwis
fccac2e61a
Patch #725942 : Always rename emulation functions.
2003-05-01 05:20:46 +00:00
Martin v. Löwis
9c5ea50c25
Patch #727805 : Remove extra line ending from CGI responses.
2003-05-01 05:05:09 +00:00
Guido van Rossum
16ec34eefb
Mark CVS as 2.3b1+.
2003-04-30 22:14:27 +00:00
Fred Drake
90fc0b356f
At the site of an indexed reference to print, point to the relevant
...
documentation. Closes SF bug #723136 .
2003-04-30 16:44:36 +00:00
Fred Drake
b876bcc561
work around mostly-minor formatting problems; the encodings.idna
...
example still doesn't come out quite right: a bug in the formatting
tools
2003-04-30 15:03:46 +00:00
Fred Drake
d4be747e1e
- comment out \moduleauthor that broke formatting until the formatting
...
tools can be fixed; added XXX comment
- general markup fixes
2003-04-30 15:02:07 +00:00
Andrew M. Kuchling
c24fe36c57
Allow _sre.c to compile with Python 2.2
2003-04-30 13:09:08 +00:00
Michael W. Hudson
1bc2fdd785
Delete comment my last checkin rendered obsolete.
...
I should also not that my last checkin did stuff that made failures give
more helpful information.
2003-04-30 08:42:19 +00:00
Brett Cannon
f9addb676d
Change from a threading.Condition object to a threading.Event object for
...
signalling when the TCP server is done. Should hopefully solve hanging
issues for Solaris 8 & 9. Solves the apparent hanging issue with OS X.
Closes patch #729988 .
2003-04-30 05:32:32 +00:00
Brett Cannon
13da5fa999
Make time.sleep calls go to 0 for common testing.
2003-04-30 03:03:37 +00:00
Brett Cannon
e6b7033e79
Flesh out test_support docs.
2003-04-30 01:42:35 +00:00
Piers Lauder
533366beb0
improved CRLF regex for previous fix
2003-04-29 23:58:08 +00:00
Piers Lauder
47404fffff
added code to canonicalise line endings in data sent via "append" - fix for bug report 723962
2003-04-29 23:40:59 +00:00
Fred Drake
75ab1462d5
Allow "@" in unquoted attribute values.
...
Added test that checks for characters allowed in the query part of URLs.
Backport candidate.
2003-04-29 22:12:55 +00:00
Jack Jansen
b616f17902
Added a note about Stefan Deibels list of contacts.
2003-04-29 21:49:30 +00:00
Jack Jansen
8ddc3f0fa6
The new bundlebuilder-generated applets contain an absolute reference
...
to the Python used to create them (in the #! line). Therefore, when your
Python installation is moved the applets become invalid. As the
binary distribution is installed in a different place than where it was
created we need to fix up the #! lines.
2003-04-29 21:48:46 +00:00
Jack Jansen
d6abf5d8c7
By default be verbose.
2003-04-29 21:46:31 +00:00
Walter Dörwald
721adf9952
Port test_richcmp.py to PyUnit. From SF patch #662807 which additional
...
tests and comments.
2003-04-29 21:31:19 +00:00
Skip Montanaro
4a7751ccb5
document socket speed reclamation. Patch 729293.
2003-04-29 21:07:16 +00:00
Walter Dörwald
1b0be2d4c6
Use the new htmlentitydefs.codepoint2name for test_xmlcharnamereplace()
2003-04-29 20:59:55 +00:00
Raymond Hettinger
1a4a9d0b0f
Add doctest for example in the library reference.
2003-04-29 19:58:04 +00:00
Fred Drake
70d566be10
Extract the errno value to use from the errno module if possible.
2003-04-29 19:50:25 +00:00
Guido van Rossum
24ccca1565
When an unhandled exception happens, report the repr() of the function
...
that was used to start the thread. This is useful to track down the
source of the problem when there is no traceback, as can happen when a
daemon thread gets to run after Python is finialized (a new kind of
event, somehow this is now possible due to changes in Py_Finalize()).
2003-04-29 19:44:05 +00:00
Skip Montanaro
c689918c94
Regain throughput lost with the _socketobject wrapper. The
...
throughput-sensitive methods are grabbed from the underlying _socket.socket
object. Closes SF patch 729293.
2003-04-29 19:27:26 +00:00