]> granicus.if.org Git - python/log
python
22 years agoPart of the fix for bug #410541: add ensure_relative() function
Andrew M. Kuchling [Tue, 26 Nov 2002 17:42:48 +0000 (17:42 +0000)]
Part of the fix for bug #410541: add ensure_relative() function

22 years agoThis is not part of my patch
Michael W. Hudson [Tue, 26 Nov 2002 14:48:23 +0000 (14:48 +0000)]
This is not part of my patch

[ 635933 ] make some type attrs writable

but should have been!

News about the above.

22 years agoThis is my patch:
Michael W. Hudson [Tue, 26 Nov 2002 14:47:27 +0000 (14:47 +0000)]
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.

22 years agoFix typo
Andrew M. Kuchling [Tue, 26 Nov 2002 12:31:09 +0000 (12:31 +0000)]
Fix typo

22 years agorefactor universal line endings detection
Just van Rossum [Tue, 26 Nov 2002 09:53:16 +0000 (09:53 +0000)]
refactor universal line endings detection

22 years agoReport Tkinter changes.
Martin v. Löwis [Tue, 26 Nov 2002 09:47:25 +0000 (09:47 +0000)]
Report Tkinter changes.

22 years agoPatch #518625: Return objects in Tkinter.
Martin v. Löwis [Tue, 26 Nov 2002 09:28:05 +0000 (09:28 +0000)]
Patch #518625: Return objects in Tkinter.

22 years agoPatch #632973: Implement _getdefaultlocale for OS X.
Martin v. Löwis [Tue, 26 Nov 2002 09:05:36 +0000 (09:05 +0000)]
Patch #632973: Implement _getdefaultlocale for OS X.

22 years agoPolish some bits to silence pychecker.
Thomas Heller [Tue, 26 Nov 2002 08:06:50 +0000 (08:06 +0000)]
Polish some bits to silence pychecker.

22 years agoDon't look for modules in the registry any longer.
Thomas Heller [Tue, 26 Nov 2002 08:05:09 +0000 (08:05 +0000)]
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)

22 years agoadded support for building standalone applications
Just van Rossum [Tue, 26 Nov 2002 00:34:52 +0000 (00:34 +0000)]
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

22 years agoA tweaked version of Jeremy's patch #642489, to produce better error
Guido van Rossum [Mon, 25 Nov 2002 21:38:52 +0000 (21:38 +0000)]
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.)

22 years agoA tweaked version of Jeremy's patch #642489, to produce better error
Guido van Rossum [Mon, 25 Nov 2002 21:36:54 +0000 (21:36 +0000)]
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.)

22 years agoAdded Marius Gedminas, for contributions to the datetime code.
Tim Peters [Mon, 25 Nov 2002 21:13:13 +0000 (21:13 +0000)]
Added Marius Gedminas, for contributions to the datetime code.

22 years agoSF 643115: Set._update() had a special case for dictionaries which allowed
Raymond Hettinger [Mon, 25 Nov 2002 20:43:55 +0000 (20:43 +0000)]
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.

22 years agoAdd a note that this file should be kept compatible with Python 1.5.2,
Thomas Heller [Mon, 25 Nov 2002 20:21:59 +0000 (20:21 +0000)]
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.

22 years ago* libbz2.tex
Gustavo Niemeyer [Mon, 25 Nov 2002 18:51:43 +0000 (18:51 +0000)]
* libbz2.tex
  Fixed minor typo, suggested by Drew Perttula <drewp@bigasterisk.com>.

22 years agoFix typo in comment.
Walter Dörwald [Mon, 25 Nov 2002 17:58:02 +0000 (17:58 +0000)]
Fix typo in comment.

22 years agoFixed bug
Gustavo Niemeyer [Mon, 25 Nov 2002 17:25:04 +0000 (17:25 +0000)]
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.

22 years agoAdded a class PEP252Mixin. By adding this to your ObjectDefinition you
Jack Jansen [Mon, 25 Nov 2002 16:36:49 +0000 (16:36 +0000)]
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.

22 years agoRemove \module{} in link text to avoid HTML generation bug
Andrew M. Kuchling [Mon, 25 Nov 2002 16:02:13 +0000 (16:02 +0000)]
Remove \module{} in link text to avoid HTML generation bug

22 years agoRemove extra word
Andrew M. Kuchling [Mon, 25 Nov 2002 16:01:08 +0000 (16:01 +0000)]
Remove extra word

22 years agoJames Henstridge pointed out a misleading comment.
Michael W. Hudson [Mon, 25 Nov 2002 15:06:29 +0000 (15:06 +0000)]
James Henstridge pointed out a misleading comment.

22 years agoMention that .pth files can't be used to override standard modules
Andrew M. Kuchling [Mon, 25 Nov 2002 13:56:12 +0000 (13:56 +0000)]
Mention that .pth files can't be used to override standard modules
    (suggested by Jack Jansen)

22 years agoLots of restructuring, mostly suggested by Bill Bumgarner. Main
Jack Jansen [Mon, 25 Nov 2002 13:11:06 +0000 (13:11 +0000)]
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.

22 years agoAdd unidata_version. Bump generator version number.
Martin v. Löwis [Mon, 25 Nov 2002 09:13:37 +0000 (09:13 +0000)]
Add unidata_version. Bump generator version number.

22 years agoDon't disable building Mac-specific modules for a non-framework build:
Just van Rossum [Sun, 24 Nov 2002 23:15:57 +0000 (23:15 +0000)]
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.

22 years agoRegenerate from Unicode 3.2.0 to include all First/Last ranges.
Martin v. Löwis [Sun, 24 Nov 2002 23:10:08 +0000 (23:10 +0000)]
Regenerate from Unicode 3.2.0 to include all First/Last ranges.

22 years agoSort names independent of the Python version. Fix hex constant warning.
Martin v. Löwis [Sun, 24 Nov 2002 23:05:09 +0000 (23:05 +0000)]
Sort names independent of the Python version. Fix hex constant warning.
Include all First/Last blocks.

22 years agoRepaired inaccuracies in the % docs. In particular, we don't (and can't)
Tim Peters [Sun, 24 Nov 2002 20:23:04 +0000 (20:23 +0000)]
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.

22 years agoReduced memory burden by iterating over the normalization test input
Tim Peters [Sun, 24 Nov 2002 19:19:09 +0000 (19:19 +0000)]
Reduced memory burden by iterating over the normalization test input
file directly (instead of sucking it all into a list of lines first).

22 years agoFiddled things so that test_normalization is expected to be skipped if
Tim Peters [Sun, 24 Nov 2002 18:53:11 +0000 (18:53 +0000)]
Fiddled things so that test_normalization is expected to be skipped if
and only if the test input file doesn't exist.

22 years agoDelete bsddb from sys.modules if _bsddb cannot be imported.
Martin v. Löwis [Sun, 24 Nov 2002 08:26:01 +0000 (08:26 +0000)]
Delete bsddb from sys.modules if _bsddb cannot be imported.

22 years agoSkip test_normalization on Windows until it's at least clear why the
Tim Peters [Sun, 24 Nov 2002 02:40:40 +0000 (02:40 +0000)]
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.

22 years agoSplit long line.
Tim Peters [Sun, 24 Nov 2002 02:37:29 +0000 (02:37 +0000)]
Split long line.
XXX If NormalizationTest.txt is required to run this test, why isn't it
checked into the project?

22 years agoWhitespace normalization.
Tim Peters [Sun, 24 Nov 2002 02:35:35 +0000 (02:35 +0000)]
Whitespace normalization.

22 years agoSimplify use of NB_BINOP and NB_TERNOP by making them do the pointer
Neil Schemenauer [Sun, 24 Nov 2002 01:34:49 +0000 (01:34 +0000)]
Simplify use of NB_BINOP and NB_TERNOP by making them do the pointer
dereference rather than the caller.

22 years agoget creator code from plist if available, instead of overriding with default
Just van Rossum [Sun, 24 Nov 2002 01:23:45 +0000 (01:23 +0000)]
get creator code from plist if available, instead of overriding with default

22 years agowhoops, -p actually has an argument
Just van Rossum [Sun, 24 Nov 2002 01:15:20 +0000 (01:15 +0000)]
whoops, -p actually has an argument

22 years agoRemove special handling of str and unicode in PyNumber_InPlaceRemainder. They
Neil Schemenauer [Sun, 24 Nov 2002 01:07:42 +0000 (01:07 +0000)]
Remove special handling of str and unicode in PyNumber_InPlaceRemainder.  They
both have a nb_remainer slot.

22 years agohardcode some resources, removing annoying Widgets.rsrc dependency
Just van Rossum [Sun, 24 Nov 2002 01:01:07 +0000 (01:01 +0000)]
hardcode some resources, removing annoying Widgets.rsrc dependency

22 years agocleaned up __init__ argument mess with a funky base class
Just van Rossum [Sat, 23 Nov 2002 22:26:44 +0000 (22:26 +0000)]
cleaned up __init__ argument mess with a funky base class

22 years agoVerify that the code in CJK UNIFIED IDEOGRAPH- actually denotes an ideograph.
Martin v. Löwis [Sat, 23 Nov 2002 22:10:29 +0000 (22:10 +0000)]
Verify that the code in CJK UNIFIED IDEOGRAPH- actually denotes an ideograph.

22 years agoPatch #626485: Support Unicode normalization.
Martin v. Löwis [Sat, 23 Nov 2002 22:08:15 +0000 (22:08 +0000)]
Patch #626485: Support Unicode normalization.

22 years agoUpdate character names.
Martin v. Löwis [Sat, 23 Nov 2002 19:41:01 +0000 (19:41 +0000)]
Update character names.

22 years agoTry linking the static Sleepycat lib into _bsddb.pyd. Hard to say
Tim Peters [Sat, 23 Nov 2002 18:48:06 +0000 (18:48 +0000)]
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.

22 years agoImplement names for CJK unified ideographs. Add name to KeyError output.
Martin v. Löwis [Sat, 23 Nov 2002 18:01:32 +0000 (18:01 +0000)]
Implement names for CJK unified ideographs. Add name to KeyError output.
Verify that the lookup for an existing name succeeds.

22 years agoAdd test cases for Hangul syllables. Update output.
Martin v. Löwis [Sat, 23 Nov 2002 17:11:42 +0000 (17:11 +0000)]
Add test cases for Hangul syllables. Update output.

22 years agoFix off-by-one error.
Martin v. Löwis [Sat, 23 Nov 2002 17:11:06 +0000 (17:11 +0000)]
Fix off-by-one error.

22 years agoRemove duplicate test
Neal Norwitz [Sat, 23 Nov 2002 16:57:00 +0000 (16:57 +0000)]
Remove duplicate test

22 years agoTouch up the news for dict() keyword args.
Guido van Rossum [Sat, 23 Nov 2002 16:28:12 +0000 (16:28 +0000)]
Touch up the news for dict() keyword args.

22 years agoAdded change note about returning a dictionary based on keyword
Fred Drake [Sat, 23 Nov 2002 15:02:13 +0000 (15:02 +0000)]
Added change note about returning a dictionary based on keyword
arguments.

22 years agoPatch #626548: Support Hangul syllable names.
Martin v. Löwis [Sat, 23 Nov 2002 12:22:32 +0000 (12:22 +0000)]
Patch #626548: Support Hangul syllable names.

22 years agoRegenerate. Fixes #618012.
Martin v. Löwis [Sat, 23 Nov 2002 12:09:28 +0000 (12:09 +0000)]
Regenerate. Fixes #618012.

22 years agoExpand negative hexadecimal constants.
Martin v. Löwis [Sat, 23 Nov 2002 12:08:10 +0000 (12:08 +0000)]
Expand negative hexadecimal constants.

22 years agoMerge with bsddb3 2002.11.23.10.42.36
Martin v. Löwis [Sat, 23 Nov 2002 11:26:07 +0000 (11:26 +0000)]
Merge with bsddb3 2002.11.23.10.42.36

22 years agoPatch #642500 with slight modifications: allow keyword arguments in
Just van Rossum [Sat, 23 Nov 2002 09:45:04 +0000 (09:45 +0000)]
Patch #642500 with slight modifications: allow keyword arguments in
dict() constructor. Example:
  >>> dict(a=1, b=2)
  {'a': 1, 'b': 2}
  >>>

22 years agoInclude Python.h first.
Martin v. Löwis [Sat, 23 Nov 2002 09:16:19 +0000 (09:16 +0000)]
Include Python.h first.

22 years agoRemove MALLOC_ZERO_RETURNS_NULL.
Martin v. Löwis [Sat, 23 Nov 2002 09:13:40 +0000 (09:13 +0000)]
Remove MALLOC_ZERO_RETURNS_NULL.

22 years agoMore bsddb-on-Windows fiddling:
Tim Peters [Sat, 23 Nov 2002 03:49:08 +0000 (03:49 +0000)]
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.

22 years agoAllow access to the returned value(s) as FSRefs. Unfortunately for some
Jack Jansen [Fri, 22 Nov 2002 23:39:52 +0000 (23:39 +0000)]
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.

22 years agoFix SF # 640557, '64-bit' systems and the dbm module
Neal Norwitz [Fri, 22 Nov 2002 23:29:31 +0000 (23:29 +0000)]
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.

22 years ago(This is hopefully the last large, funny checkin message for
Thomas Heller [Fri, 22 Nov 2002 21:08:34 +0000 (21:08 +0000)]
(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.

22 years agoget_python_version was not imported.
Thomas Heller [Fri, 22 Nov 2002 20:57:20 +0000 (20:57 +0000)]
get_python_version was not imported.

22 years agoOops, MSVC was still open, so the project file was not yet saved.
Thomas Heller [Fri, 22 Nov 2002 20:43:30 +0000 (20:43 +0000)]
Oops, MSVC was still open, so the project file was not yet saved.

22 years agoCopied the sources from the distutils CVS repository.
Thomas Heller [Fri, 22 Nov 2002 20:39:33 +0000 (20:39 +0000)]
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.

22 years agoTwo bugs:
Fred Drake [Fri, 22 Nov 2002 20:13:43 +0000 (20:13 +0000)]
Two bugs:
- assertRaises() wasn't being called correctly
- test_warning() no longer applies

22 years agoMove Windows Python away from bsddb 1.85 and toward Sleepycat's latest.
Tim Peters [Fri, 22 Nov 2002 20:00:34 +0000 (20:00 +0000)]
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!

22 years agoFix for #641455: curses module doesn't build on MacOSX. It turns out the
Jack Jansen [Fri, 22 Nov 2002 16:12:57 +0000 (16:12 +0000)]
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.

22 years agoComment out the warnings about mktemp(). These are too annoying, and
Guido van Rossum [Fri, 22 Nov 2002 15:56:29 +0000 (15:56 +0000)]
Comment out the warnings about mktemp().  These are too annoying, and
often unavoidable.

22 years agoAdded the alias manager too. The interface isn't perfect yet: the alias
Jack Jansen [Fri, 22 Nov 2002 15:53:32 +0000 (15:53 +0000)]
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.

22 years agoGot angry and added support for pretty much the whole file and folder
Jack Jansen [Fri, 22 Nov 2002 14:58:35 +0000 (14:58 +0000)]
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.

22 years agoClarify the default setting for daemon_threads.
Fred Drake [Fri, 22 Nov 2002 14:29:42 +0000 (14:29 +0000)]
Clarify the default setting for daemon_threads.

22 years agoFix markup.
Fred Drake [Fri, 22 Nov 2002 14:28:53 +0000 (14:28 +0000)]
Fix markup.

22 years agoUse False instead of 0.
Fred Drake [Fri, 22 Nov 2002 14:22:49 +0000 (14:22 +0000)]
Use False instead of 0.

22 years agoworkaround so the (otherwise still broken) IDE can at least quit in the Python 2...
Just van Rossum [Fri, 22 Nov 2002 12:48:47 +0000 (12:48 +0000)]
workaround so the (otherwise still broken) IDE can at least quit in the Python 2.2 Jaguar addon install

22 years agofix for SF #635398 (don't "downcast" return strings from unicode to ascii)
Fredrik Lundh [Fri, 22 Nov 2002 12:46:35 +0000 (12:46 +0000)]
fix for SF #635398 (don't "downcast" return strings from unicode to ascii)

22 years agochanged to use Lib/bundlebuilder.py instead of scripts/buildappbundle.py
Just van Rossum [Fri, 22 Nov 2002 11:52:15 +0000 (11:52 +0000)]
changed to use Lib/bundlebuilder.py instead of scripts/buildappbundle.py

22 years agomake the --link option match the original: just symlink the executable
Just van Rossum [Fri, 22 Nov 2002 11:45:42 +0000 (11:45 +0000)]
make the --link option match the original: just symlink the executable

22 years agoAdded --link-exec option: make a symlink for the executable only, copy all other...
Just van Rossum [Fri, 22 Nov 2002 11:43:10 +0000 (11:43 +0000)]
Added --link-exec option: make a symlink for the executable only, copy all other files.

22 years agoReplaced the bundle building code with calls to the new bundlebuilder
Just van Rossum [Fri, 22 Nov 2002 11:10:49 +0000 (11:10 +0000)]
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.

22 years agoPatch #542562, file 25252: Remove changelog.
Martin v. Löwis [Fri, 22 Nov 2002 09:10:33 +0000 (09:10 +0000)]
Patch #542562, file 25252: Remove changelog.

22 years agoPatch #494845: Support string concatenation, detect non-string data,
Martin v. Löwis [Fri, 22 Nov 2002 08:36:54 +0000 (08:36 +0000)]
Patch #494845: Support string concatenation, detect non-string data,
add globbing support, find modules by name instead of by file.

22 years agoPatch #486438: Make module argument to testmod optional.
Martin v. Löwis [Fri, 22 Nov 2002 08:23:09 +0000 (08:23 +0000)]
Patch #486438: Make module argument to testmod optional.

22 years agoPatch #550765: Add daemon_threads flag.
Martin v. Löwis [Fri, 22 Nov 2002 08:08:44 +0000 (08:08 +0000)]
Patch #550765: Add daemon_threads flag.

22 years agoadded new IMAP4_stream class; added proxyauth command; added login_cram_md5 method
Piers Lauder [Fri, 22 Nov 2002 05:53:04 +0000 (05:53 +0000)]
added new IMAP4_stream class; added proxyauth command; added login_cram_md5 method

22 years agoadded details of new IMAP4_stream class; emphasised meaning of data part of command...
Piers Lauder [Fri, 22 Nov 2002 05:47:39 +0000 (05:47 +0000)]
added details of new IMAP4_stream class; emphasised meaning of data part of command results; added proxyauth command description

22 years agofixed error in cmd line doc; moved funny self.name line once more
Just van Rossum [Fri, 22 Nov 2002 00:31:50 +0000 (00:31 +0000)]
fixed error in cmd line doc; moved funny self.name line once more

22 years agofixed stupid bug
Just van Rossum [Fri, 22 Nov 2002 00:08:47 +0000 (00:08 +0000)]
fixed stupid bug

22 years agoImplement dict() style constructor.
Raymond Hettinger [Fri, 22 Nov 2002 00:07:40 +0000 (00:07 +0000)]
Implement dict() style constructor.
Already supported dict() and dict(mapping).
Now supports dict(itemsequence) and
Just van Rossum's new syntax for dict(keywordargs).

Also, added related unittests.

The docs already promise dict-like behavior
so no update is needed there.

22 years agoProperly compute array size even for --disable-unicode.
Martin v. Löwis [Thu, 21 Nov 2002 23:53:25 +0000 (23:53 +0000)]
Properly compute array size even for --disable-unicode.

22 years agoFix --disable-unicode compilation problems.
Martin v. Löwis [Thu, 21 Nov 2002 23:52:35 +0000 (23:52 +0000)]
Fix --disable-unicode compilation problems.

22 years agoadded command line interface; refactored a bit; little things.
Just van Rossum [Thu, 21 Nov 2002 23:19:37 +0000 (23:19 +0000)]
added command line interface; refactored a bit; little things.

22 years agofloat_int(): Some systems raise an exception if a double is cast to
Tim Peters [Thu, 21 Nov 2002 22:26:37 +0000 (22:26 +0000)]
float_int():  Some systems raise an exception if a double is cast to
long but the double is too big to fit in a long.  Prevent that.  This
closes some recent bug or patch on SF, but SF is down now so I can't
say which.

Bugfix candidate.

22 years agoPatch #633547: Support plural forms. Do TODOs in test suite.
Martin v. Löwis [Thu, 21 Nov 2002 21:45:32 +0000 (21:45 +0000)]
Patch #633547: Support plural forms. Do TODOs in test suite.

22 years agoThe _Event class should be more careful with releasing its lock when
Guido van Rossum [Thu, 21 Nov 2002 21:08:39 +0000 (21:08 +0000)]
The _Event class should be more careful with releasing its lock when
interrupted.  A try/finally will do nicely.  Maybe other classes need
this too, but since they manipulate more state it's less clear that
that is always the right thing, and I'm in a hurry.

Backport candidate.

22 years agoPatch #639371: Remove FreeBSD 5 specific test, test for ctermid_r, setgroups
Martin v. Löwis [Thu, 21 Nov 2002 20:41:28 +0000 (20:41 +0000)]
Patch #639371: Remove FreeBSD 5 specific test, test for ctermid_r, setgroups
prototypes explicitly.

22 years agoReflow comment
Andrew M. Kuchling [Thu, 21 Nov 2002 20:41:07 +0000 (20:41 +0000)]
Reflow comment

22 years agoPatch #642019: Recognize gcc-x.y as gcc.
Martin v. Löwis [Thu, 21 Nov 2002 20:33:24 +0000 (20:33 +0000)]
Patch #642019: Recognize gcc-x.y as gcc.

22 years agoPatch #642020: Pass down prefix, BINDIR, and DESTSHARED to idleinstall.
Martin v. Löwis [Thu, 21 Nov 2002 20:29:57 +0000 (20:29 +0000)]
Patch #642020: Pass down prefix, BINDIR, and DESTSHARED to idleinstall.