Tim Peters
6ef966e1ad
_TemporaryFileWrapper: changed self.close_called to a proper bool.
2002-11-21 15:48:33 +00:00
Michael W. Hudson
2100798b8c
Always call tparm with 10 arguments. It seems it's not varargs i
...
more often than it is. In response to bug:
[ 641808 ] Portability of Modules/_cursesmodule.c
submitted by Nick Mclaren.
2002-11-21 14:17:51 +00:00
Just van Rossum
3e554d7b8a
name kwargs kwargs
2002-11-21 10:29:57 +00:00
Just van Rossum
ad33d72361
Tools to create MacOS X (application) bundles.
...
Todo:
- command line parsing
- main program
- modulefinder(-like ;-) support to build standalone apps.
2002-11-21 10:23:04 +00:00
Kurt B. Kaiser
4fc904708b
Apply Nicolas Riley's Patch.
...
[ 634250 ] SearchDialogBase.py fix for Tk 8.4.1
SearchDialogBase refers to the grid 'col' option
considered ambiguous with Python 2.2.2 and Tk 8.4.1.
The correct name is 'column'.
2002-11-21 03:02:17 +00:00
Neal Norwitz
201626e00f
Fix SF #640094 , on win32 getpass runs into unix_getpass
...
Make sure we have a UNIX-compatible termios.
Apparently, McMillan Installer made a termios on windows
which caused unix_getpass() to be used instead of win_getpass().
Will backport.
2002-11-20 23:15:54 +00:00
Just van Rossum
10263d6e6b
- cleaned up example/test code
...
- don't encode/escape elements
- fixed typo in doc string
- provide our own copy function for the Dict class
2002-11-20 20:47:55 +00:00
Andrew M. Kuchling
2db92a6ee1
Add missing import
2002-11-20 16:10:29 +00:00
Jack Jansen
1b99896944
dded cvsignores.
2002-11-20 14:14:14 +00:00
Jack Jansen
d8d7bbe3b9
Minimal instructions on building a MacPython-OSX addon for Apple's
...
/usr/bin/python.
2002-11-20 14:07:57 +00:00
Jack Jansen
1ebcc4427a
Build PythonLauncher for MacPython-OSX 2.2 as well.
2002-11-20 14:06:16 +00:00
Jack Jansen
e37469297c
This file is now generated dynamically.
2002-11-20 14:05:41 +00:00
Andrew M. Kuchling
495172c3b4
Add change to int() and OverflowError
...
Re-order the "porting" section to list items by decreasing significance
2002-11-20 13:50:15 +00:00
Just van Rossum
db951c34e3
removed a redundant .strip(); made a doc string more or less tell the truth
2002-11-19 23:11:49 +00:00
Just van Rossum
247e16ef80
No need to import __builtin__, spotted by Skip.
2002-11-19 23:01:20 +00:00
Just van Rossum
0ec2744fb8
Pure Python implementation of a plist generator/parser.
2002-11-19 22:01:02 +00:00
Walter Dörwald
72f861657a
Document additional error handling names available through PEP 293.
2002-11-19 21:51:35 +00:00
Walter Dörwald
7f82f7955e
Add missing documentation for the PEP 293 functionality to
...
the codecs docstrings.
2002-11-19 21:42:53 +00:00
Walter Dörwald
a1a61f92a2
Fix typo.
2002-11-19 21:20:25 +00:00
Walter Dörwald
f171540ab8
Change int() so that passing a string, unicode, float or long argument
...
that is outside the integer range no longer raises OverflowError, but
returns a long object instead.
This fixes SF bug http://www.python.org/sf/635115
2002-11-19 20:49:15 +00:00
Martin v. Löwis
7a3bae410d
Replace bsddb3 and _db occurrences.
2002-11-19 17:48:49 +00:00
Martin v. Löwis
1c6b1a2b4e
Importing test suite from bsddb3 3.4.0 (with modifications).
2002-11-19 17:47:07 +00:00
Tim Peters
a406b58619
Renamed Wise vrbl from _TCLMINOR_ to _TCLDIR_, to remove any script
...
dependence on the Tcl/Tk version number. Now you point it at the
Tcl/Tk install you want to ship, and that's what it ships.
2002-11-19 17:38:27 +00:00
Andrew M. Kuchling
b9a21ad74d
Add Lib/bsddb to list of installed directories
2002-11-19 13:31:16 +00:00
Andrew M. Kuchling
d448f66317
Add comment to Distutil files about requiring 1.5.2 compatibility, as
...
suggested by PEP 291.
2002-11-19 13:12:28 +00:00
Andrew M. Kuchling
6f429c3d1c
Use \ulink instead of \citetitle; bump version number
2002-11-19 13:09:00 +00:00
Andrew M. Kuchling
669249ecd3
Add PyBSDDB update
2002-11-19 13:05:33 +00:00
Martin v. Löwis
21645fc073
Don't try to use unsupported DB versions.
2002-11-19 08:30:08 +00:00
Martin v. Löwis
ef546b347d
Document PyBSDDB import.
2002-11-19 08:12:57 +00:00
Martin v. Löwis
6aa4a1f29c
Import PyBSDDB 3.4.0. Rename historical wrapper to bsddb185.
2002-11-19 08:09:52 +00:00
Guido van Rossum
1d2674051b
Comment on PyNumber_Check().
2002-11-18 16:27:16 +00:00
Neil Schemenauer
6c19476168
Note that PyNumber_Check() returns true for string and unicode objects.
2002-11-18 16:19:39 +00:00
Neil Schemenauer
fe4f769fb8
Add __mod__ method to UserString.
2002-11-18 16:12:54 +00:00
Neil Schemenauer
b981df9943
check for str.__mod__
2002-11-18 16:12:11 +00:00
Neil Schemenauer
ab9e4b76c2
check for unicode.__mod__
2002-11-18 16:11:34 +00:00
Neil Schemenauer
ce30bc9f49
Add nb_remainder (i.e. __mod__) slot to unicode type. Fixes SF bug #615506 .
2002-11-18 16:10:18 +00:00
Neil Schemenauer
a6cd4e65d7
Add nb_remainder (i.e. __mod__) slot to str type. Fixes SF bug #615506 .
2002-11-18 16:09:38 +00:00
Neil Schemenauer
2c77e90804
Improve exception message raised by PyFloat_AsDouble if the object does not
...
have a nb_float slot. This matches what PyInt_AsLong does.
2002-11-18 16:06:21 +00:00
Neil Schemenauer
26db587485
str and unicode objects now have a __mod__ slot so don't special case them in
...
PyNumber_Remainder(). This fixes SF bug #615506 and allows string and unicode
subclasses to override __mod__.
2002-11-18 16:04:52 +00:00
Neil Schemenauer
47ec6c0790
Don't use PyNumber_Float() since it's is nearly useless. Instead, rely on
...
PyFloat_AsDouble to generate a good error message.
2002-11-18 16:02:29 +00:00
Jack Jansen
293fdeb31e
Another workaround, to find the IDE directory when we're in MacPython-OSX
...
on Jaguar.
Ceteram censeam W era packagendam esse.
2002-11-18 15:29:02 +00:00
Jack Jansen
972573553e
Define PyDoc_STR if it isn't defined. This makes these modules compile
...
for Python 2.2.
2002-11-18 15:26:43 +00:00
Jack Jansen
5efbbcd793
Build waste, _Help and _Scrap too.
2002-11-18 13:48:18 +00:00
Raymond Hettinger
311f419628
Improve comments. Clarify docs.
...
Replace "type(0)" with "int".
Replace "while 1" with "while True"
2002-11-18 09:01:24 +00:00
Raymond Hettinger
8ddc176e2e
Improve DictMixin.
...
Replaced docstring with comments. Prevents subclass contamination.
Added the missing __cmp__() method and a test for __cmp__().
Used try/except style in preference to has_key() followed by a look-up.
Used iteritem() where possible to save creating a long key list and
to save redundant lookups.
Expanded .update() to look for the most helpful methods first and gradually
work down to a mininum expected interface.
Expanded documentation to be more clear on how to use the class.
2002-11-18 04:34:10 +00:00
Eric S. Raymond
782d940866
Guard against error if .netrc is missing.
2002-11-17 17:53:12 +00:00
Neil Schemenauer
89350a41b9
Remove _Py_ResetReferences. Fixes bug #529750 "Circular reference makes
...
Py_Init crash". refchain cannot be cleared because objects can live across
Py_Finalize() and Py_Initialize() if they are kept alive by circular
references.
2002-11-17 17:52:44 +00:00
Skip Montanaro
6141812820
correct typo detected by Lee Hansen
2002-11-17 11:09:50 +00:00
Fred Drake
e55bec2566
Better note that str.zfill() was added in 2.2.2 as well. ;-(
2002-11-16 00:44:00 +00:00
Fred Drake
9171801de9
Document that a minor feature was added in 2.2.2. ;-(
...
Closes SF bug #639170 .
2002-11-16 00:41:55 +00:00