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
Fred Drake
1fe9750200
add direct link to the article in DDJ
...
closes SF bug #871402
2004-01-21 18:30:28 +00:00
Skip Montanaro
ba0485a92d
expand on notion of row object type
2004-01-21 13:47:04 +00:00
Skip Montanaro
7895146c40
typo
2004-01-21 13:34:35 +00:00
Martin v. Löwis
daea3e5032
Add cjkcodecs to build process
2004-01-21 07:54:02 +00:00
Barry Warsaw
e1b1c87636
pwd_getpwuid(), pwd_getpwnam(): Patch # 868499, improvement to the error
...
messages.
2004-01-20 21:07:23 +00:00
Barry Warsaw
c7a7709321
grp_getgrgid(), grp_getgrnam(): Patch # 868499, improvement to the error
...
messages.
2004-01-20 21:06:00 +00:00
Raymond Hettinger
734fb5724f
Add a Guido inspired example for groupby().
2004-01-20 20:04:40 +00:00
Marc-André Lemburg
57cb68fe93
Add news item about change in encodings search function.
2004-01-20 18:24:34 +00:00
Gustavo Niemeyer
f073b7584f
Removing TODO comment for None keys, as suggested by Neal Norwitz.
2004-01-20 15:24:29 +00:00
Gustavo Niemeyer
8974f72b81
When key is None, give up if _DB_get_type() returns -1 as well.
2004-01-20 15:20:03 +00:00
Gustavo Niemeyer
024f2de05f
Fixing #880531 : raise TypeError when trying to use a None key with RECNO
...
or QUEUE database.
2004-01-20 15:14:55 +00:00