Marc-André Lemburg
37aa580742
News about the new alias support.
2002-02-10 21:42:47 +00:00
Marc-André Lemburg
462004e90a
Add IANA character set aliases to the encodings alias dictionary
...
and make alias lookup lazy.
Note that only those IANA character set aliases were added for which
we actually have codecs in the encodings package.
2002-02-10 21:36:20 +00:00
Marc-André Lemburg
e92e0a944e
Add news about PYC magic and changes to UTF-8 codec.
2002-02-09 11:28:43 +00:00
Barry Warsaw
56ab9214c9
Added a module docstring, which doubles as the --help text.
...
Added a bunch of command line options to make the script more
generic.
2002-02-08 23:25:46 +00:00
Guido van Rossum
59b0b60d36
Updates related to Modules/Setup and setup.py. This addresses SF bug
...
#512871 (Jon Ribbens): Installation instructions are wrong.
Bugfix candidate.
2002-02-08 22:22:35 +00:00
Fred Drake
4a02f9542f
Added regression test for start()/stop() returning bogus NULL.
2002-02-08 21:29:22 +00:00
Fred Drake
2c146bfa28
start() and stop() methods: return None where there is no exception;
...
returning NULL causes the interpreter to raise a SystemError.
Noted by Anthony Baxter at Python 10.
2002-02-08 21:27:50 +00:00
Guido van Rossum
fa2e4c27d2
Declare real and imag as read-only attributes.
...
This fixes SF bug #514858 (Gregory Smith): complex not entirely
immutable
2.2.1 Bugfix candidate!
2002-02-08 21:26:07 +00:00
Guido van Rossum
5ff8cb4f1b
Whitespace cleanup.
2002-02-08 20:41:34 +00:00
Neal Norwitz
af64263afc
Fix typo
2002-02-08 20:13:53 +00:00
Fred Drake
63cd9bf488
Python 10 was a success, commemorate it\!
2002-02-08 20:13:47 +00:00
Guido van Rossum
65f50156cd
www.google.com is better than google.com.
2002-02-08 16:20:07 +00:00
Thomas Heller
745b4609cb
Make it 1.5.2 compatible again.
2002-02-08 14:41:31 +00:00
Marc-André Lemburg
bd3be8f0ca
Fix to the UTF-8 encoder: it failed on 0-length input strings.
...
Fix for the UTF-8 decoder: it will now accept isolated surrogates
(previously it raised an exception which causes round-trips to
fail).
Added new tests for UTF-8 round-trip safety (we rely on UTF-8 for
marshalling Unicode objects, so we better make sure it works for
all Unicode code points, including isolated surrogates).
Bumped the PYC magic in a non-standard way -- please review. This
was needed because the old PYC format used illegal UTF-8 sequences
for isolated high surrogates which now raise an exception.
2002-02-07 11:33:49 +00:00
Marc-André Lemburg
9273ec726c
Forgot to add the new emxccompiler.py from Andrew I. MacIntyre's
...
distutils patch for OS/2.
Here it is...
2002-02-06 18:22:48 +00:00
Marc-André Lemburg
dc724d6e35
Cosmetics.
2002-02-06 18:20:19 +00:00
Marc-André Lemburg
e7c6ee4b8a
Whitespace fixes.
2002-02-06 18:18:03 +00:00
Marc-André Lemburg
3688a882d3
Fix for the UTF-8 memory allocation bug and the UTF-8 encoding
...
bug related to lone high surrogates.
2002-02-06 18:09:02 +00:00
Jack Jansen
6a60915843
Don't blacklist ModalFilterUPP but always pass it as NULL. This enables the record routines to be generated.
2002-02-05 22:35:36 +00:00
Jack Jansen
e62ceac7d4
Added SndRecord and (classic only) SndRecordToFile.
2002-02-05 22:34:35 +00:00
Jack Jansen
5bb8f78d97
Added support for unicode strings (utxt).
2002-02-05 21:24:47 +00:00
Steven M. Gava
085eb1b372
further work on config system and config saving
2002-02-05 04:52:32 +00:00
Fred Drake
c121745fda
Update the instructions on reporting bugs to reflect that anonymous reports
...
are no longer accepted.
2002-02-04 21:43:08 +00:00
Fred Drake
baf43c5036
When linking to an index page, explicitly name index.html instead of
...
using "./". The later does not work nicely when browsing docs on a local
disk (as in the installed docs on Windows).
2002-02-04 21:15:42 +00:00
Fred Drake
210d3cca86
Update version number to match Include/patchlevel.h.
...
Make sure we clean up all the temp files craeted for the typeset formats.
2002-02-04 19:49:29 +00:00
Fred Drake
375bbc306e
Update version number to match Include/patchlevel.h.
2002-02-04 19:48:25 +00:00
Just van Rossum
4014401c6c
Added minimal support for floating windows.
2002-02-04 12:52:44 +00:00
Just van Rossum
bf0a9084c5
Don't append quit menu when on OSX, it is special and automatic there.
2002-02-04 12:48:06 +00:00
Just van Rossum
4e7203855e
Flush screen buffer upon console.flush() and output.flush().
...
This fixes bug #511992 .
2002-02-04 11:53:53 +00:00
Guido van Rossum
2dcec0c86d
Quick build: clarify that you have to do "make install" as root; OS
...
info: add info about Red Hat's python and python2.
2002-02-04 01:59:23 +00:00
Tim Peters
2cec3542c7
Change the version string from "2.2+" to "2.3a0". disutils peels off
...
the first 3 characters of this string in several places, so for as long
as they remain "2.2" it confuses the heck out of attempts to build 2.3
stuff using distutils.
2002-02-02 00:08:15 +00:00
Jack Jansen
a762f4ca18
Got rid of an extra level of {} and funny formatting that was still
...
there because of the NeXT history.
2002-02-01 22:24:56 +00:00
Andrew M. Kuchling
3b388ec8b3
[Bug #220993 ; may also fix bug #479469 ] Fix flakiness when old
...
installations are present, by always unlinking the destination file
before copying to it. Without the unlink(), the copied file remains
owned by its previous UID, causing the subsequent chmod() to fail.
Bugfix candidate, though it may cause changes on platforms where
file ownership behaves differently.
2002-02-01 18:29:34 +00:00
Guido van Rossum
8cb6540652
Wesley Chun's SF patch 511380: add CGIHTTPServer error supt for Win32
...
This uses os.popen3 (if it exists) to ensure that errors from a
non-Python CGI script are logged.
Bugfix candidate.
2002-02-01 16:27:59 +00:00
Jack Jansen
d4c76bf65a
A new dynload_next, which actually only works on OSX but isn't renamed yet.
...
By default every module is imported in its own namespace, but this can
be changed by defining USE_DYLD_GLOBAL_NAMESPACE. In a future version this
define will be replaced by a runtime setting, but that needs a bit more
thought.
This code is largely based on code and feedback from Steven Majewski,
Marcel Prastawa, Manoj Plakal and other on pythonmac-sig.
2002-02-01 16:01:05 +00:00
Jack Jansen
4892f2406f
Got rid of a few more NeXT ifdefs. The last, I think.
2002-02-01 15:46:29 +00:00
Guido van Rossum
e75bfde7e9
Bugfix candidate.
...
Fix SF bug #511603 : Error calling str on subclass of int
Explicitly fill in tp_str with the same pointer as tp_repr.
2002-02-01 15:34:10 +00:00
Tim Peters
ab034fab03
Implement os.waitpid() for Windows, in a way that's compatible with Linux
...
where their capabilities intersect. Would be nice if people using non-
MSVC compilers (Borland etc) took a whack at doing something similar for
them (this code relies on the MS _cwait function).
2002-02-01 11:27:43 +00:00
Thomas Heller
0c350bfad0
package_dir must be converted from the distutils path conventions to
...
local conventions before being used by build_py.
Fixes SF bug #509288 , probably a candidate for 2.2.1
2002-02-01 09:44:09 +00:00
Steven M. Gava
7cff66d469
improve user config dir handling
2002-02-01 03:02:37 +00:00
Steven M. Gava
a498af269c
more work on configuration saving
2002-02-01 01:33:36 +00:00
Tim Peters
11bd9944e5
New tempfile and os.open() gimmicks for Windows.
2002-02-01 00:52:29 +00:00
Andrew M. Kuchling
b24231e088
Restrict the mode to the lowest four octal positions; higher positions
...
contain the type of the file (regular file, socket, link, &c.).
This means that install_scripts will now print
"changing mode of <file> to 775" instead of "... to 100775".
2.2 bugfix candidate, I suppose, though this isn't actually fixing a bug.
2002-01-31 22:08:38 +00:00
Marc-André Lemburg
2544f51036
OS/2 patches by Andrew I MacIntyre for distutils.
...
Closes patch #435381 .
2002-01-31 18:56:00 +00:00
Skip Montanaro
c318260a71
added handle_error method description
2002-01-31 17:32:24 +00:00
Fred Drake
1453754fcd
string.split() docstring described the interpretation of the maxsplit
...
argument incorrectly.
This closes SF bug #505997 .
2002-01-30 16:15:13 +00:00
Michael W. Hudson
cf6bfe49b1
Oh look, another one.
...
2.2.1 candiate (he says, largely talking to himself :)
2002-01-30 15:47:34 +00:00
Michael W. Hudson
67fb0c3705
I think this fixes
...
[ #510644 ] test_curses segfaults
If we use the *object* *allocator*, we should use the *object* *deallocator*,
not the *raw memory* deallocator (confused yet?).
I think this was what caused segfaults when pymalloc was enabled.
Even if it wasn't the cause, it's still wrong.
2.2.1 candidate.
2002-01-30 15:39:28 +00:00
Jack Jansen
c7dd34b5e7
Added a note about compiler warnings.
2002-01-30 10:42:59 +00:00
Tim Peters
40915bf8dd
Thanks to Detlef Lannert for pointing out a typo in the code that
...
uses _DummyMutex on platforms without threads.
2002-01-30 09:11:42 +00:00