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
Fred Drake
a191befb2d
Clarify the default setting for daemon_threads.
2002-11-22 14:29:42 +00:00
Fred Drake
74f5a56c2c
Fix markup.
2002-11-22 14:28:53 +00:00
Fred Drake
132e0e824b
Use False instead of 0.
2002-11-22 14:22:49 +00:00
Just van Rossum
62a103b2fc
workaround so the (otherwise still broken) IDE can at least quit in the Python 2.2 Jaguar addon install
2002-11-22 12:48:47 +00:00
Fredrik Lundh
09705f0b89
fix for SF #635398 (don't "downcast" return strings from unicode to ascii)
2002-11-22 12:46:35 +00:00
Just van Rossum
db2a0f6778
changed to use Lib/bundlebuilder.py instead of scripts/buildappbundle.py
2002-11-22 11:52:15 +00:00
Just van Rossum
e6de56e81c
make the --link option match the original: just symlink the executable
2002-11-22 11:45:42 +00:00
Just van Rossum
16aebf77c7
Added --link-exec option: make a symlink for the executable only, copy all other files.
2002-11-22 11:43:10 +00:00
Just van Rossum
224405fcfd
Replaced the bundle building code with calls to the new bundlebuilder
...
module.
Jack: I've compared the .app output of the orginal with the new and I
can't find any significant differences. However, bundlebuilder.py
contains its' own command line interface and I think we should use
that instead. I'll have a look to see whether I can patch
Mac/OSX/Makefile.jaguar to this effect.
2002-11-22 11:10:49 +00:00
Martin v. Löwis
6f00a7ad84
Patch #542562 , file 25252: Remove changelog.
2002-11-22 09:10:33 +00:00