Skip Montanaro
f1afe6682c
Remove support for systems defining Py_PTHREAD_D[467] in
...
Python/thread_pthread.h.
2004-02-07 13:00:18 +00:00
Skip Montanaro
7e11a016e6
Remove HAVE_STRPTIME - no longer necessary with the pure Python version of
...
time.strptime().
2004-02-07 12:55:46 +00:00
Skip Montanaro
7209294112
a couple other sunos4 support items removed
2004-02-07 12:50:19 +00:00
Raymond Hettinger
ac093c6af0
Use collection.deque() instead of a list for a FIFO queue.
2004-02-07 03:19:10 +00:00
Raymond Hettinger
c058fd14a9
* Fix ref counting in extend() and extendleft().
...
* Let deques support reversed().
2004-02-07 02:45:22 +00:00
Raymond Hettinger
b5ba8d749d
Lists work better when popping from the right.
2004-02-07 02:16:24 +00:00
Raymond Hettinger
3ba85c2e8a
Have deques support high volume loads.
2004-02-06 19:04:56 +00:00
Raymond Hettinger
1dd8309246
SF patch #864059 : optimize eval_frame
...
Simplified version of Neal Norwitz's patch which adds gotos for
opcodes that set "why". This skips a number of tests where the
outcome of the tests are known in advance.
2004-02-06 18:32:33 +00:00
Walter Dörwald
7dcf9f89d3
Fix test failure message (from SF patch #885008 )
2004-02-06 18:30:31 +00:00
Hye-Shik Chang
0a83778572
Back rev 1.3 out per Raymond's request.
2004-02-06 04:40:56 +00:00
Fred Drake
228765b0e1
added notes about weakref changes
2004-02-06 04:15:22 +00:00
Hye-Shik Chang
d310f13cd2
Simple is better than complex.
2004-02-06 02:52:15 +00:00
Walter Dörwald
cd736e71a3
Fix reallocation bug in unicode.translate(): The code was comparing
...
characters instead of character pointers to determine space requirements.
2004-02-05 17:36:00 +00:00
Fred Drake
bc875f5a36
Allocating a new weakref object can cause existing weakref objects for
...
the same object to be collected by the cyclic GC support if they are
only referenced by a cycle. If the weakref being collected was one of
the weakrefs without callbacks, some local variables for the
constructor became invalid and have to be re-computed.
The test caused a segfault under a debug build without the fix applied.
2004-02-04 23:14:14 +00:00
Fred Drake
21ae4f983e
minor markup adjustments
2004-02-03 20:55:15 +00:00
Fred Drake
ea2adc9c80
- add tests that exercise fixes for the PyWeakref_NewRef() and
...
PyWeakref_NewProxy() constructors from the C API
- elaborate the getweakrefcount() and getweakrefs() tests slightly
2004-02-03 19:56:46 +00:00
Fred Drake
6a2852cd48
Fix bug in interpretation of the "callback" argument in the constructors for
...
weakref ref and proxy objects; None was not being treated as identical to
NULL, though it was documented as equivalent.
2004-02-03 19:52:56 +00:00
Fred Drake
4458ece4d7
Clarify minor point about the ref() and proxy() constructors.
...
This matches what is already documented for corresponding feature of the C API.
2004-02-03 19:44:26 +00:00
Hye-Shik Chang
ff83c2bacc
Fix input() builtin function to respect compiler flags.
...
(SF patch 876178, patch by mwh, unittest by perky)
2004-02-02 13:39:01 +00:00
Hye-Shik Chang
96c44658b9
Add FreeBSD support for bluetooth sockets. (SF Patch #888148 )
2004-02-02 08:48:45 +00:00
Hye-Shik Chang
81268608bf
Add FreeBSD support for bluetooth sockets.
...
(SF Patch #888148 , reviewed by loewis)
2004-02-02 06:05:24 +00:00
Martin v. Löwis
e2879c34a1
Add collectionsmodule.c.
...
Don't link with largeint.lib anymore.
2004-02-01 18:02:48 +00:00
Martin v. Löwis
12af0485f8
Patch #874083 : Bluetooth support for socket module.
2004-01-31 12:34:17 +00:00
Fred Drake
4d205e366c
update dependency information
2004-01-29 15:13:08 +00:00
Raymond Hettinger
dd256d97cc
Add documentation for collections.deque().
2004-01-29 07:35:45 +00:00
Raymond Hettinger
d0814eb7fe
Fix spelling.
2004-01-29 07:29:32 +00:00
Raymond Hettinger
e52f3b1e56
Add documentation for collections.deque().
2004-01-29 07:27:45 +00:00
Raymond Hettinger
756b3f3c15
* Move collections.deque() in from the sandbox
...
* Add unittests, newsitem, and whatsnew
* Apply to Queue.py mutex.py threading.py pydoc.py and shlex.py
* Docs are forthcoming
2004-01-29 06:37:52 +00:00
Hye-Shik Chang
141d4e5643
Add missed entry for cjkcodecs._iso_2022_kr.
2004-01-28 09:03:28 +00:00
Fred Drake
bd12b181c8
fix whitespace style (inconsistent with the rest of the docs)
2004-01-27 21:08:04 +00:00
Brett Cannon
fb5a4e33fb
Removed two unneeded lines from PyObject_Compare().
...
Closes bug #885293 (thanks, Josiah Carlson).
2004-01-27 20:17:54 +00:00
Fred Drake
fcc51767bd
update signature of the socket constructor
...
(could someone backport this to Python 2.3.x please?)
2004-01-27 18:21:26 +00:00
Armin Rigo
76beca957f
Two forgotten Py_DECREF() for two out-of-memory conditions.
2004-01-27 16:08:07 +00:00
Skip Montanaro
d5a21fd387
add hotshotmain ref
2004-01-27 14:49:04 +00:00
Skip Montanaro
f91c59a06b
add hotshotmain.py ref
2004-01-27 14:47:23 +00:00
Skip Montanaro
4aba6f51cb
The bagpipe didn't say "no" (*), so here's a main program script useful for
...
running an application under hotshot's control. Only slightly embellished
from what Walter Dörwald posted to python-dev.
(*) http://www.icdc.com/~roadkill/silverstein/turtle.html
2004-01-26 19:44:48 +00:00
Fred Drake
ee3c6074c3
add missing period
2004-01-26 19:40:18 +00:00
Fred Drake
913829cb1d
fix markup
2004-01-26 19:39:13 +00:00
Skip Montanaro
db8d1c26d3
add references between getopt and optparse docs
2004-01-26 19:30:21 +00:00
Fred Drake
4e9e7a6140
don't wrap lines too late by default
...
closes SF bug #842213
2004-01-26 16:42:30 +00:00
Fred Drake
6d98f198f7
make this distutils doc match the other in using boilerplate.tex
2004-01-26 15:07:31 +00:00
Tim Peters
a70e6d8e2a
Added the cjkcodecs files to the MSVC 6 build.
2004-01-25 03:25:40 +00:00
Fred Drake
20d4738a95
no reason not to use boilerplate.tex now that it names the PSF
2004-01-23 15:23:49 +00:00
Hye-Shik Chang
d210a5bed2
Fix MSVC6 warnings. (spotted by Tim Peters)
2004-01-23 14:36:17 +00:00
Fred Drake
0d8da3a622
fix some sloppy markup to use \guilabel
2004-01-23 09:01:56 +00:00
Fred Drake
f0f6d12cd4
add \guilabel macro to mark labels that occur in user interfaces
2004-01-23 08:52:28 +00:00
Fred Drake
226f697560
fix method name in example code
2004-01-23 04:05:27 +00:00
Kurt B. Kaiser
7663729ec7
There was an error in the Tk error dialog fix at Rev 1.84 which caused starting
...
w/o the subprocess to fail. Check in a fix to IDLE and IDLEfork.
M PyShell.py
Backport candidate, combine with previous.
2004-01-21 22:10:01 +00:00
Kurt B. Kaiser
d6ab77d27d
rpc.py:SocketIO - Large modules were generating large pickles when downloaded
...
to the execution server. The return of the OK response from the subprocess
initialization was interfering and causing the sending socket to be not
ready. Add an IO ready test to fix this. Moved the polling IO ready test
into pollpacket().
M NEWS.txt
M rpc.py
Backport candidate.
2004-01-21 19:21:11 +00:00
Kurt B. Kaiser
af3eb87802
Added a Tk error dialog to run.py inform the user if the subprocess can't
...
connect to the user GUI process. Added a timeout to the GUI's listening
socket. Added Tk error dialogs to PyShell.py to announce a failure to bind
the port or connect to the subprocess. Clean up error handling during
connection initiation phase. This is an update of Python Patch 778323.
M NEWS.txt
M PyShell.py
M ScriptBinding.py
M run.py
Backport candidate.
2004-01-21 18:54:30 +00:00