Guido van Rossum
a01fa26396
The MRO conflict error message depends on dictionary hash order.
...
Avoid depending on this in the test.
2002-11-27 04:00:59 +00:00
Fred Drake
4add68bbbc
Add missing dependency information for the "What's New" document.
2002-11-26 22:13:41 +00:00
Martin v. Löwis
4ec2e7071e
Avoid including tclInt.h.
2002-11-26 22:12:12 +00:00
Fred Drake
54fe3fdf77
Noted the support for resource exclusion for regrtest. Some people
...
use regrtest, so it might be interesting.
2002-11-26 22:07:35 +00:00
Fred Drake
4dd0f7ef7a
Add a way to say "use any resource except A". For example, to run
...
allow the use of any resource except bsddb, give the option
"-uall,-bsddb".
2002-11-26 21:44:56 +00:00
Martin v. Löwis
8c8aa5d666
Rename want_objects to wantobjects throughout, for consistency.
2002-11-26 21:39:48 +00:00
Fred Drake
94e7bb7dd6
Use "is" to test type objects, not "==".
2002-11-26 21:28:23 +00:00
Gustavo Niemeyer
f955412130
* Doc/ref/ref5.tex
...
Fixed minor bug preventing documentation compilation.
2002-11-26 18:14:35 +00:00
Michael W. Hudson
ac74f5d44b
Initialize a variable. Hope this makes things work for Guido.
...
It's odd that gcc on my ibook didn't complain about this.
2002-11-26 17:49:11 +00:00
Andrew M. Kuchling
acd5cb2ff0
Fix for bug #410541 : bdist builds bogus .zips
...
This adds a --relative option to the bdist_dumb command that defaults
to false; if true, the .tar.gz or .zip will be assembled using relative
paths.
2002-11-26 17:45:19 +00:00
Andrew M. Kuchling
40f23e0ddf
Part of the fix for bug #410541 : add ensure_relative() function
2002-11-26 17:42:48 +00:00
Michael W. Hudson
96bc3b4d74
This is not part of my patch
...
[ 635933 ] make some type attrs writable
but should have been!
News about the above.
2002-11-26 14:48:23 +00:00
Michael W. Hudson
98bbc49c54
This is my patch:
...
[ 635933 ] make some type attrs writable
Plus a couple of extra tests beyond what's up there.
It hasn't been as carefully reviewed as it perhaps should, so all readers
are encouraged, nay exhorted, to give this a close reading.
There are still a couple of oddities related to assigning to __name__,
but I intend to solicit python-dev's opinions on these.
2002-11-26 14:47:27 +00:00
Andrew M. Kuchling
50905d0ffb
Fix typo
2002-11-26 12:31:09 +00:00
Just van Rossum
5d0bd1ebdf
refactor universal line endings detection
2002-11-26 09:53:16 +00:00
Martin v. Löwis
39b48523e4
Report Tkinter changes.
2002-11-26 09:47:25 +00:00
Martin v. Löwis
ffad633af9
Patch #518625 : Return objects in Tkinter.
2002-11-26 09:28:05 +00:00
Martin v. Löwis
52ea7e9244
Patch #632973 : Implement _getdefaultlocale for OS X.
2002-11-26 09:05:36 +00:00
Thomas Heller
318b7b920d
Polish some bits to silence pychecker.
2002-11-26 08:06:50 +00:00
Thomas Heller
8af41ceece
Don't look for modules in the registry any longer.
...
Mark writes in private email:
"Modules listed in the registry was a dumb idea. This whole scheme
can die. AFAIK, no one in the world uses it (including win32all
since the last build)."
(See also SF #643711 )
2002-11-26 08:05:09 +00:00
Just van Rossum
cef3288247
added support for building standalone applications
...
- requires modulefinder.py to be on sys.path
- does *not* work for Python.framework (yet), only for static builds
2002-11-26 00:34:52 +00:00
Guido van Rossum
d32047f038
A tweaked version of Jeremy's patch #642489 , to produce better error
...
messages about MRO conflicts. (Tweaks here: don't print the message,
but compare it with an expected string.)
2002-11-25 21:38:52 +00:00
Guido van Rossum
98f3373a8c
A tweaked version of Jeremy's patch #642489 , to produce better error
...
messages about MRO conflicts. (The tweaks include correcting spelling
errors, some refactoring to get the name of classic classes, and a
style nit or two.)
2002-11-25 21:36:54 +00:00
Tim Peters
7da3432be6
Added Marius Gedminas, for contributions to the datetime code.
2002-11-25 21:13:13 +00:00
Raymond Hettinger
35e48d2426
SF 643115: Set._update() had a special case for dictionaries which allowed
...
non-true values to leak in. This threw-off equality testing which depends
on the underlying dictionaries having both the same keys and values.
2002-11-25 20:43:55 +00:00
Thomas Heller
919000e9ec
Add a note that this file should be kept compatible with Python 1.5.2,
...
per PEP 291 (although there are currently string methods used).
This patch makes it compatible with 2.2, at least, by detecting
universal newline support.
2002-11-25 20:21:59 +00:00
Gustavo Niemeyer
057ab14e7d
* libbz2.tex
...
Fixed minor typo, suggested by Drew Perttula <drewp@bigasterisk.com>.
2002-11-25 18:51:43 +00:00
Walter Dörwald
00445d2393
Fix typo in comment.
2002-11-25 17:58:02 +00:00
Gustavo Niemeyer
1456fde6a0
Fixed bug
...
[#495695 ] webbrowser.py: selection of browser
* Lib/webbrowser.py
Only include graphic browsers in _tryorder if DISPLAY is set. Also,
included skipstone support, as suggested by Fred in the mentioned bug.
* Misc/NEWS
Mention fix and skipstone inclusion.
2002-11-25 17:25:04 +00:00
Jack Jansen
3d654d6dff
Added a class PEP252Mixin. By adding this to your ObjectDefinition you
...
get PEP-252 style objects in stead of old-fashioned objects.
In stead of defining a GetattrHook you declare a class variable getsetlist,
which contains tuples (name, getcode, setcode, docstring).
Only lightly tested: the code still works if you don't inherit PEP252Mixin
and the code works if you inherit it but don't define any getters
or setters. Also, this will not work together with the "poor mans inheritance"
offered by method chains, so the CF module will remain with old-style
objects until PEP253 is supported too.
2002-11-25 16:36:49 +00:00
Andrew M. Kuchling
9e7453dc71
Remove \module{} in link text to avoid HTML generation bug
2002-11-25 16:02:13 +00:00
Andrew M. Kuchling
15353f5c64
Remove extra word
2002-11-25 16:01:08 +00:00
Michael W. Hudson
3131679241
James Henstridge pointed out a misleading comment.
2002-11-25 15:06:29 +00:00
Andrew M. Kuchling
1a54d71550
Mention that .pth files can't be used to override standard modules
...
(suggested by Jack Jansen)
2002-11-25 13:56:12 +00:00
Jack Jansen
2095c06cec
Lots of restructuring, mostly suggested by Bill Bumgarner. Main
...
externally visible difference is that the factory defaults are
now in a plist file in the bundle, in stead of being hard-coded in
the application.
2002-11-25 13:11:06 +00:00
Martin v. Löwis
b5c980b802
Add unidata_version. Bump generator version number.
2002-11-25 09:13:37 +00:00
Just van Rossum
05ced6aa76
Don't disable building Mac-specific modules for a non-framework build:
...
whether they crash or not is not a matter of using a framework or not,
but whether the code is run from an app bundle or not. And that it
_can_ crash (instead of tracing back) is Apple's bug anyway, not ours.
2002-11-24 23:15:57 +00:00
Martin v. Löwis
d5169bad94
Regenerate from Unicode 3.2.0 to include all First/Last ranges.
2002-11-24 23:10:08 +00:00
Martin v. Löwis
97225da29a
Sort names independent of the Python version. Fix hex constant warning.
...
Include all First/Last blocks.
2002-11-24 23:05:09 +00:00
Tim Peters
5b21df4a5c
Repaired inaccuracies in the % docs. In particular, we don't (and can't)
...
guarantee abs(x%y) < abs(y) in all cases when a float is involved.
math.fmod() should, though, so noted that too.
Bugfix candidate. Someone should check the LaTeX here first, though.
2002-11-24 20:23:04 +00:00
Tim Peters
1babdfc48a
Reduced memory burden by iterating over the normalization test input
...
file directly (instead of sucking it all into a list of lines first).
2002-11-24 19:19:09 +00:00
Tim Peters
1b445d3fcf
Fiddled things so that test_normalization is expected to be skipped if
...
and only if the test input file doesn't exist.
2002-11-24 18:53:11 +00:00
Martin v. Löwis
65730a4de8
Delete bsddb from sys.modules if _bsddb cannot be imported.
2002-11-24 08:26:01 +00:00
Tim Peters
d332c085ea
Skip test_normalization on Windows until it's at least clear why the
...
data it needs doesn't exist in the project. If it's a huge file,
maybe the test should be changed to be one of the -u thingies.
2002-11-24 02:40:40 +00:00
Tim Peters
b9ac505110
Split long line.
...
XXX If NormalizationTest.txt is required to run this test, why isn't it
checked into the project?
2002-11-24 02:37:29 +00:00
Tim Peters
77c06fbf94
Whitespace normalization.
2002-11-24 02:35:35 +00:00
Neil Schemenauer
b808c5cf2d
Simplify use of NB_BINOP and NB_TERNOP by making them do the pointer
...
dereference rather than the caller.
2002-11-24 01:34:49 +00:00
Just van Rossum
e6b49025c1
get creator code from plist if available, instead of overriding with default
2002-11-24 01:23:45 +00:00
Just van Rossum
b8829b49b2
whoops, -p actually has an argument
2002-11-24 01:15:20 +00:00
Neil Schemenauer
d46fbc322d
Remove special handling of str and unicode in PyNumber_InPlaceRemainder. They
...
both have a nb_remainer slot.
2002-11-24 01:07:42 +00:00