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
Just van Rossum
761b6095bd
hardcode some resources, removing annoying Widgets.rsrc dependency
2002-11-24 01:01:07 +00:00
Just van Rossum
da302da912
cleaned up __init__ argument mess with a funky base class
2002-11-23 22:26:44 +00:00
Martin v. Löwis
8d93ca1383
Verify that the code in CJK UNIFIED IDEOGRAPH- actually denotes an ideograph.
2002-11-23 22:10:29 +00:00
Martin v. Löwis
677bde2dd1
Patch #626485 : Support Unicode normalization.
2002-11-23 22:08:15 +00:00
Martin v. Löwis
74a530d42d
Update character names.
2002-11-23 19:41:01 +00:00
Tim Peters
84c7a3f328
Try linking the static Sleepycat lib into _bsddb.pyd. Hard to say
...
whether this is a correct thing to do:
+ There are linker warnings (see PCbuild\readme.txt).
+ test_bsddb passes, in both release and debug builds now.
+ test_bsddb3 has several failures, but it did before too.
Also made pythoncore a dependency of the _bsddb project, updated
build instructions, added database conversion XXX to NEWS, and fiddled
the Windows installer accordingly.
2002-11-23 18:48:06 +00:00
Martin v. Löwis
ef7fe2e813
Implement names for CJK unified ideographs. Add name to KeyError output.
...
Verify that the lookup for an existing name succeeds.
2002-11-23 18:01:32 +00:00
Martin v. Löwis
8579efc86c
Add test cases for Hangul syllables. Update output.
2002-11-23 17:11:42 +00:00
Martin v. Löwis
2f4be4e38a
Fix off-by-one error.
2002-11-23 17:11:06 +00:00
Neal Norwitz
ca2953ea5c
Remove duplicate test
2002-11-23 16:57:00 +00:00
Guido van Rossum
8b1e74b274
Touch up the news for dict() keyword args.
2002-11-23 16:28:12 +00:00
Fred Drake
6e596b6895
Added change note about returning a dictionary based on keyword
...
arguments.
2002-11-23 15:02:13 +00:00
Martin v. Löwis
7d41e29c58
Patch #626548 : Support Hangul syllable names.
2002-11-23 12:22:32 +00:00
Martin v. Löwis
529ec6a1ee
Regenerate. Fixes #618012 .
2002-11-23 12:09:28 +00:00
Martin v. Löwis
dab3bc05f3
Expand negative hexadecimal constants.
2002-11-23 12:08:10 +00:00
Martin v. Löwis
b2c7affbaa
Merge with bsddb3 2002.11.23.10.42.36
2002-11-23 11:26:07 +00:00
Just van Rossum
a797d8150d
Patch #642500 with slight modifications: allow keyword arguments in
...
dict() constructor. Example:
>>> dict(a=1, b=2)
{'a': 1, 'b': 2}
>>>
2002-11-23 09:45:04 +00:00
Martin v. Löwis
e17af7b3db
Include Python.h first.
2002-11-23 09:16:19 +00:00
Martin v. Löwis
39f59b089d
Remove MALLOC_ZERO_RETURNS_NULL.
2002-11-23 09:13:40 +00:00
Tim Peters
19cf4ee69d
More bsddb-on-Windows fiddling:
...
+ News blurb, but as much XXX as news.
+ Updated installer (install the new bsddb package, and the Berkeley DLL;
still don't know how to fold that into _bsddb.pyd).
+ Fleshed out build instructions.
+ Debug Python still blows up.
2002-11-23 03:49:08 +00:00
Jack Jansen
4b5c7a4f47
Allow access to the returned value(s) as FSRefs. Unfortunately for some
...
reason getting at saveFileName doesn't work, so it currently only really
works for opening files for reading.
2002-11-22 23:39:52 +00:00
Neal Norwitz
8d4c9817a2
Fix SF # 640557, '64-bit' systems and the dbm module
...
datum.dsize can apparently be long on some systems.
Ensure we pass an int* to PyArg_Parse("s#"), not &datum.dsize
Will backport.
2002-11-22 23:29:31 +00:00
Thomas Heller
450cafae28
(This is hopefully the last large, funny checkin message for
...
bdist_wininst.py we will see.)
Removed the base64 encoded binary contents, wininst.exe must be in the
same directory as this file now.
wininst.exe must be recompiled and commited each time the sources in
PC/bdist_wininst are changed.
2002-11-22 21:08:34 +00:00
Thomas Heller
3a23c3fae1
get_python_version was not imported.
2002-11-22 20:57:20 +00:00
Thomas Heller
b0cd38c985
Oops, MSVC was still open, so the project file was not yet saved.
2002-11-22 20:43:30 +00:00
Thomas Heller
bb4b7d2d68
Copied the sources from the distutils CVS repository.
...
Changed the MSVC project file to create the exe in the
lib/distutils/command directory, bdist_wininst.py must still be
changed to use it.
Also changed to use the same zlib as the zlib module - this has the nice
sideeffect that now the buggy 1.1.3 version is no longer used.
Most of the source files now conform to PEP 7, except for the maximum
line length. Windows api programming in 78 character lines =:(.
README.txt is a new file, but still empty except for placeholders.
2002-11-22 20:39:33 +00:00
Fred Drake
8bec48316b
Two bugs:
...
- assertRaises() wasn't being called correctly
- test_warning() no longer applies
2002-11-22 20:13:43 +00:00
Tim Peters
78e35f9311
Move Windows Python away from bsddb 1.85 and toward Sleepycat's latest.
...
The bsddb subproject is gone.
The _bsddb subproject is new.
There are problems here, but I'm out of time to work on this now. If
anyone can address an XXX comment or two in readme.txt, please do!
2002-11-22 20:00:34 +00:00
Jack Jansen
26897bf138
Fix for #641455 : curses module doesn't build on MacOSX. It turns out the
...
system headers have two declarations for wchar_t, with different guard macros.
Not sure whether this is a bugfix candidate, that depends on what changed in the
curses module.
2002-11-22 16:12:57 +00:00
Guido van Rossum
44f602dd3b
Comment out the warnings about mktemp(). These are too annoying, and
...
often unavoidable.
2002-11-22 15:56:29 +00:00
Jack Jansen
d0e59fb68d
Added the alias manager too. The interface isn't perfect yet: the alias
...
manager doesn't always have the alias as the first argument, so things
become functions in stead of methods.
2002-11-22 15:53:32 +00:00
Jack Jansen
e2ba87396c
Got angry and added support for pretty much the whole file and folder
...
manager. This should allow us the get rid of most of the FSSpecs, only
navigation services remains to be done.
2002-11-22 14:58:35 +00:00