David Ascher
e2b4b32025
Implementation of patch 869468
...
Allow the user to create Tkinter.Tcl objects which are
just like Tkinter.Tk objects except that they do not
initialize Tk. This is useful in circumstances where the
script is being run on machines that do not have an X
server running -- in those cases, Tk initialization fails,
even if no window is ever created.
Includes documentation change and tests.
Tested on Linux, Solaris and Windows.
Reviewed by Martin von Loewis.
2004-02-18 05:59:53 +00:00
Anthony Baxter
5d7c06720d
Make socketmodule compile again on a modern Linux (that supports Bluetooth).
...
The Bluetooth code was obviously never tested on Linux.
2004-02-16 05:35:28 +00:00
Neal Norwitz
94f1d71d70
Fix docstrings to mention the correct function
2004-02-16 01:26:34 +00:00
Gustavo Niemeyer
601b963be0
- Fixing annoying warnings.
2004-02-14 00:31:13 +00:00
Gustavo Niemeyer
a6e436e4b4
- Fixed #853061 : allow BZ2Compressor.compress() to receive an empty string
...
as parameter.
2004-02-14 00:02:45 +00:00
Walter Dörwald
70a6b49821
Replace backticks with repr() or "%r"
...
From SF patch #852334 .
2004-02-12 17:35:32 +00:00
Skip Montanaro
f3938fd029
need to initialize ob_type slot at run-time, at least on cygwin
2004-02-10 20:27:40 +00:00
Skip Montanaro
7befb9966e
remove support for missing ANSI C header files (limits.h, stddef.h, etc).
2004-02-10 16:50:21 +00:00
Raymond Hettinger
5cab2e3a88
Give itertools.repeat() a length method.
2004-02-10 09:25:40 +00:00
Raymond Hettinger
ee33b27ef0
Make deque.rotate() smarter. Beef-up related tests.
2004-02-08 04:05:26 +00:00
Raymond Hettinger
5c5eb86347
* Incorporate Skip's suggestions for documentation (explain the word deque
...
comes from and show the differences from lists).
* Add a rotate() method.
2004-02-07 21:13:00 +00:00
Skip Montanaro
db6080507d
Remove support for --without-universal-newlines (see PEP 11).
2004-02-07 13:53:46 +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
3ba85c2e8a
Have deques support high volume loads.
2004-02-06 19:04:56 +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
12af0485f8
Patch #874083 : Bluetooth support for socket module.
2004-01-31 12:34:17 +00:00
Raymond Hettinger
d0814eb7fe
Fix spelling.
2004-01-29 07:29:32 +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
Hye-Shik Chang
d210a5bed2
Fix MSVC6 warnings. (spotted by Tim Peters)
2004-01-23 14:36:17 +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
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
Hye-Shik Chang
3e2a306920
Add CJK codecs support as discussed on python-dev. (SF #873597 )
...
Several style fixes are suggested by Martin v. Loewis and
Marc-Andre Lemburg. Thanks!
2004-01-17 14:29:29 +00:00
Skip Montanaro
ce59c04127
Remove support for SunOS 4.
...
Remove BAD_EXEC_PROTOYPE (leftover from IRIX 4 demolition).
2004-01-17 14:19:44 +00:00
Andrew M. Kuchling
8135fd5365
Make parameter names in docstring more mnemonic
2004-01-16 13:18:42 +00:00
Sjoerd Mullender
7e6bbe1516
The format of the string data used in the imageop module is described
...
as "This is the same format as used by gl.lrectwrite() and the imgfile
module." This implies a certain byte order in multi-byte pixel
formats. However, the code was originally written on an SGI
(big-endian) and *uses* the fact that bytes are stored in a particular
order in ints. This means that the code uses and produces different
byte order on little-endian systems.
This fix adds a module-level flag "backward_compatible" (default not
set, and if not set, behaves as if set to 1--i.e. backward compatible)
that can be used on a little-endian system to use the same byte order
as the SGI. Using this flag it is then possible to prepare
SGI-compatible images on a little-endian system.
This patch is the result of a (small) discussion on python-dev and was
submitted to SourceForge as patch #874358 .
2004-01-10 20:43:43 +00:00
Raymond Hettinger
0c4102760c
SF Patch #864863 : Bisect C implementation
...
(Contributed by Dmitry Vasiliev.)
2004-01-05 10:13:35 +00:00
Hye-Shik Chang
2b2c97356f
FIx unicodefilename support of posix.uname(). This fixes test_unicode_file
...
failure on FreeBSD.
2004-01-04 13:54:25 +00:00
Raymond Hettinger
674d56b82e
Convert return value to boolean.
2004-01-04 04:00:13 +00:00
Martin v. Löwis
da91d02461
Add IPV6_ socket options from RFCs 3493 and 3542. Fixes #867012 .
2003-12-30 11:14:01 +00:00
Hye-Shik Chang
a7b673f47c
Fix erroneus argument parsing of socket.htons() on 64bit big endian
...
machines.
2003-12-17 09:40:23 +00:00
Neal Norwitz
9342fb41c3
Make private/local functions static
2003-12-13 22:31:53 +00:00
Gustavo Niemeyer
2cbdc2a461
Cleaning up recursive pieces left in the reorganization.
2003-12-13 20:32:08 +00:00
Raymond Hettinger
d25c1c6351
Implement itertools.groupby()
...
Original idea by Guido van Rossum.
Idea for skipable inner iterators by Raymond Hettinger.
Idea for argument order and identity function default by Alex Martelli.
Implementation by Hye-Shik Chang (with tweaks by Raymond Hettinger).
2003-12-06 16:23:06 +00:00
Raymond Hettinger
bd3a240e6d
Fix typos.
2003-12-04 22:17:49 +00:00
Mark Hammond
817c929bba
Fix [ 846133 ] os.chmod/os.utime/shutil do not work with unicode filenames
2003-12-03 01:22:38 +00:00
Skip Montanaro
148eb6a6b6
doc nit
2003-12-02 18:57:47 +00:00
Raymond Hettinger
166958b5df
As discussed on python-dev, added two extractor functions to the
...
operator module.
2003-12-01 13:18:39 +00:00
Martin v. Löwis
94681fc4a3
Patch #849595 : Add socket.shutdown() constants.
2003-11-27 19:40:22 +00:00
Guido van Rossum
0bba722fff
Silence GCC warning when asserts are turned off.
2003-11-24 04:02:13 +00:00
Tim Peters
403a203223
SF bug 839548: Bug in type's GC handling causes segfaults.
...
Also SF patch 843455.
This is a critical bugfix.
I'll backport to 2.3 maint, but not beyond that. The bugs this fixes
have been there since weakrefs were introduced.
2003-11-20 21:21:46 +00:00
Jack Jansen
7107c1aff3
Got rid of macglue.h, replacing it by pymactoolbox.h where relevant.
...
Cleaned up various things in the toolbox modules.
2003-11-20 13:31:00 +00:00
Jack Jansen
eddc1449ba
Getting rid of all the code inside #ifdef macintosh too.
2003-11-20 01:44:59 +00:00
Jack Jansen
4bae2d5e46
Getting rid of code dependent on GUSI or the MetroWerks compiler.
2003-11-19 22:52:23 +00:00
Jack Jansen
fb2765666f
Getting rid of support for the ancient Apple MPW compiler.
2003-11-19 15:24:47 +00:00
Martin v. Löwis
6caea370ac
Patch #794400 : Let PYTHONSTARTUP influence the compiler flags.
2003-11-18 19:46:25 +00:00