Marc-André Lemburg [Sat, 16 Feb 2002 18:44:52 +0000 (18:44 +0000)]
Fix the name of the header file.
Marc-André Lemburg [Sat, 16 Feb 2002 18:23:30 +0000 (18:23 +0000)]
Break SSL support out of _socket module and place it into a new
helper module _ssl.
The support for the RAND_* APIs in _ssl is now only enabled
for OpenSSL 0.9.5 and up since they were added in that
release.
Note that socketmodule.* should really be renamed to _socket.* --
unfortunately, this seems to lose the CVS history of the file.
Please review and test... I was only able to test the header file
chaos in socketmodule.c/h on Linux. The test run through fine
and compiles don't give errors or warnings.
WARNING: This patch does *not* include changes to the various
non-Unix build process files.
Tim Peters [Sat, 16 Feb 2002 07:34:19 +0000 (07:34 +0000)]
Whitespace normalization.
Tim Peters [Sat, 16 Feb 2002 07:26:27 +0000 (07:26 +0000)]
SF bug #516372: test_thread: unhandled exc. in thread
Fix exit races in test_thread.py and test_threaded_import.py.
I suspect the bug is provokable only under Linux (where child threads
seem to get lots of cycles before they get killed after the main thread
exits), or on multi-processor machines running other OSes.
Bugfix candidate.
Fred Drake [Fri, 15 Feb 2002 20:59:43 +0000 (20:59 +0000)]
Use the standard expression for the availability statement for alarm().
Skip Montanaro [Fri, 15 Feb 2002 20:36:19 +0000 (20:36 +0000)]
note that the alarm function is not available on Windows.
Fred Drake [Fri, 15 Feb 2002 14:35:09 +0000 (14:35 +0000)]
Added deprecatioon information for mac.xstat().
This closes SF bug #505150.
Fred Drake [Fri, 15 Feb 2002 04:12:59 +0000 (04:12 +0000)]
The "%" character does not need to be escaped in verbatim environments.
This closes SF bug #517811.
Fred Drake [Thu, 14 Feb 2002 15:19:30 +0000 (15:19 +0000)]
Consistently use \textasciicircum to produce a ^ character.
LaTeX really falls flat on this one!
Fred Drake [Thu, 14 Feb 2002 07:16:30 +0000 (07:16 +0000)]
Fix typo.
Fred Drake [Thu, 14 Feb 2002 07:11:23 +0000 (07:11 +0000)]
Use PyModule_AddObject() instead of accessing the module dict directly.
Fred Drake [Thu, 14 Feb 2002 06:59:26 +0000 (06:59 +0000)]
Use PyModule_AddIntConstant() instead of creating a private helper function.
This also avoids directly accessing the module'd __dict__.
Martin v. Löwis [Thu, 14 Feb 2002 01:25:37 +0000 (01:25 +0000)]
Compute expat -I directives from srcdir. Fixes #517214.
Tim Peters [Wed, 13 Feb 2002 23:56:46 +0000 (23:56 +0000)]
Finish the pyexpat rework for Windows: builders needn't suck down the
Expat installer from SF anymore, and the installer shouldn't install
expat.dll anymore.
Michael W. Hudson [Wed, 13 Feb 2002 11:58:25 +0000 (11:58 +0000)]
Simon Budig's patch (posted by me):
[ #513235 ] prevent readline filename completion
Martin v. Löwis [Wed, 13 Feb 2002 07:47:16 +0000 (07:47 +0000)]
Define VERSION in expat.h.
Tim Peters [Wed, 13 Feb 2002 05:14:18 +0000 (05:14 +0000)]
Windows time_clock(): rewrite to get rid of horrid casting tricks.
Don't blame Mark! The horrid casting tricks were my idea to begin with.
The rewrite works fine under VC6, and I *expect* will work fine under VC7.
Jack Jansen [Tue, 12 Feb 2002 21:30:53 +0000 (21:30 +0000)]
Two OSX fixes related to switching Python versions in an existing sourcetree:
- Create the Python.framework/Versions/$(VERSION) dir if it doesn't exist
- Override existing symlinks in the framework.
Martin v. Löwis [Tue, 12 Feb 2002 09:52:22 +0000 (09:52 +0000)]
"Generate" from expat.h.in, for 1.95.2.
Tim Peters [Tue, 12 Feb 2002 04:31:21 +0000 (04:31 +0000)]
LOAD_FAST: rearrange branches to favor the expected case, and get
rid of a redundant NULL-pointer check in the expected case.
Mark Hammond [Tue, 12 Feb 2002 04:02:33 +0000 (04:02 +0000)]
Ensure we also build on VC7. Involves replacing largeint.h helper functions with msvc's native 64 bit integers.
Martin v. Löwis [Tue, 12 Feb 2002 00:05:49 +0000 (00:05 +0000)]
Build using included Expat.
Martin v. Löwis [Mon, 11 Feb 2002 23:27:45 +0000 (23:27 +0000)]
Use included Expat library. Drop support for older expat versions.
Martin v. Löwis [Mon, 11 Feb 2002 23:16:32 +0000 (23:16 +0000)]
Disable usage of Expat's config.h.
Martin v. Löwis [Mon, 11 Feb 2002 23:13:04 +0000 (23:13 +0000)]
Initial revision
Greg Ward [Mon, 11 Feb 2002 20:46:10 +0000 (20:46 +0000)]
Fix bug #511786 (2.2.1 candidate): ensure that custom-supplied headers
are preserved for redirected requests.
Marc-André Lemburg [Mon, 11 Feb 2002 18:46:47 +0000 (18:46 +0000)]
Remove mentioning of -U option in "python -h" output.
Neal Norwitz [Mon, 11 Feb 2002 18:34:41 +0000 (18:34 +0000)]
SF #515020, delete global variables which are used only for temporary
values in for loops (dircase, prefix, sitedir).
Neal Norwitz [Mon, 11 Feb 2002 18:26:02 +0000 (18:26 +0000)]
SF #515005, change "1 + ''" (which pychecker warns about being invalid)
into "raise Exception".
Neal Norwitz [Mon, 11 Feb 2002 18:18:29 +0000 (18:18 +0000)]
SF #515022 remove unused variable
Neal Norwitz [Mon, 11 Feb 2002 18:14:22 +0000 (18:14 +0000)]
SF #515009, delete global variable that was apparently used only
in a for loop.
Neal Norwitz [Mon, 11 Feb 2002 18:12:06 +0000 (18:12 +0000)]
SF #515018, delete global variable that was apparently used only
in a list comprehension.
Neal Norwitz [Mon, 11 Feb 2002 18:11:09 +0000 (18:11 +0000)]
SF #515026, delete global variable that was apparently used only
in a for loop.
Neal Norwitz [Mon, 11 Feb 2002 18:06:21 +0000 (18:06 +0000)]
SF #515024 remove unused variable
Neal Norwitz [Mon, 11 Feb 2002 18:05:05 +0000 (18:05 +0000)]
SF #515021, print the refused list to the DEBUGSTREAM, so the parameter is used
Note: There is a TBD (aka FIXME) for how best to handle the refused addresses
Neal Norwitz [Mon, 11 Feb 2002 18:01:32 +0000 (18:01 +0000)]
SF #515012, cleanup: remove unused variable
Neal Norwitz [Mon, 11 Feb 2002 17:59:51 +0000 (17:59 +0000)]
SF #515011, cleanup: remove "or 0" condition
Neal Norwitz [Mon, 11 Feb 2002 17:57:55 +0000 (17:57 +0000)]
SF #515006, remove unnecessary import
Neal Norwitz [Mon, 11 Feb 2002 17:56:27 +0000 (17:56 +0000)]
SF #515004 cleanup
- remove unnecessary imports
- rename dum -> dummy
Neal Norwitz [Mon, 11 Feb 2002 17:52:18 +0000 (17:52 +0000)]
SF #515000, print result of f.tell() in test() instead of ignoring
Marc-André Lemburg [Mon, 11 Feb 2002 17:43:46 +0000 (17:43 +0000)]
Corrected import behaviour for codecs which live outside the encodings
package.
Andrew M. Kuchling [Mon, 11 Feb 2002 16:31:10 +0000 (16:31 +0000)]
Regenerate configure script
Andrew M. Kuchling [Mon, 11 Feb 2002 16:30:54 +0000 (16:30 +0000)]
Bump version number to 2.3
Jack Jansen [Mon, 11 Feb 2002 16:21:00 +0000 (16:21 +0000)]
Removed a spurious }. (How did it get there in the first place??)
Just van Rossum [Mon, 11 Feb 2002 15:31:50 +0000 (15:31 +0000)]
on MacOSX/Darwin, use ranlib when building static libs.
Steven M. Gava [Mon, 11 Feb 2002 03:45:22 +0000 (03:45 +0000)]
improvement to keybinding re-use check
Steven M. Gava [Mon, 11 Feb 2002 02:51:18 +0000 (02:51 +0000)]
base GetHighlight on GetThemeDict for better defaults
Steven M. Gava [Mon, 11 Feb 2002 02:28:19 +0000 (02:28 +0000)]
further work on config saving
Steven M. Gava [Mon, 11 Feb 2002 02:20:53 +0000 (02:20 +0000)]
further work on config saving
Guido van Rossum [Mon, 11 Feb 2002 01:18:25 +0000 (01:18 +0000)]
Remove stub for unicode.txt. Resort README in dictionary order.
Marc-André Lemburg [Sun, 10 Feb 2002 21:42:47 +0000 (21:42 +0000)]
News about the new alias support.
Marc-André Lemburg [Sun, 10 Feb 2002 21:36:20 +0000 (21:36 +0000)]
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.
Marc-André Lemburg [Sat, 9 Feb 2002 11:28:43 +0000 (11:28 +0000)]
Add news about PYC magic and changes to UTF-8 codec.
Barry Warsaw [Fri, 8 Feb 2002 23:25:46 +0000 (23:25 +0000)]
Added a module docstring, which doubles as the --help text.
Added a bunch of command line options to make the script more
generic.
Guido van Rossum [Fri, 8 Feb 2002 22:22:35 +0000 (22:22 +0000)]
Updates related to Modules/Setup and setup.py. This addresses SF bug
#512871 (Jon Ribbens): Installation instructions are wrong.
Bugfix candidate.
Fred Drake [Fri, 8 Feb 2002 21:29:22 +0000 (21:29 +0000)]
Added regression test for start()/stop() returning bogus NULL.
Fred Drake [Fri, 8 Feb 2002 21:27:50 +0000 (21:27 +0000)]
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.
Guido van Rossum [Fri, 8 Feb 2002 21:26:07 +0000 (21:26 +0000)]
Declare real and imag as read-only attributes.
This fixes SF bug #514858 (Gregory Smith): complex not entirely
immutable
2.2.1 Bugfix candidate!
Guido van Rossum [Fri, 8 Feb 2002 20:41:34 +0000 (20:41 +0000)]
Whitespace cleanup.
Neal Norwitz [Fri, 8 Feb 2002 20:13:53 +0000 (20:13 +0000)]
Fix typo
Fred Drake [Fri, 8 Feb 2002 20:13:47 +0000 (20:13 +0000)]
Python 10 was a success, commemorate it\!
Guido van Rossum [Fri, 8 Feb 2002 16:20:07 +0000 (16:20 +0000)]
www.google.com is better than google.com.
Thomas Heller [Fri, 8 Feb 2002 14:41:31 +0000 (14:41 +0000)]
Make it 1.5.2 compatible again.
Marc-André Lemburg [Thu, 7 Feb 2002 11:33:49 +0000 (11:33 +0000)]
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.
Marc-André Lemburg [Wed, 6 Feb 2002 18:22:48 +0000 (18:22 +0000)]
Forgot to add the new emxccompiler.py from Andrew I. MacIntyre's
distutils patch for OS/2.
Here it is...
Marc-André Lemburg [Wed, 6 Feb 2002 18:20:19 +0000 (18:20 +0000)]
Cosmetics.
Marc-André Lemburg [Wed, 6 Feb 2002 18:18:03 +0000 (18:18 +0000)]
Whitespace fixes.
Marc-André Lemburg [Wed, 6 Feb 2002 18:09:02 +0000 (18:09 +0000)]
Fix for the UTF-8 memory allocation bug and the UTF-8 encoding
bug related to lone high surrogates.
Jack Jansen [Tue, 5 Feb 2002 22:35:36 +0000 (22:35 +0000)]
Don't blacklist ModalFilterUPP but always pass it as NULL. This enables the record routines to be generated.
Jack Jansen [Tue, 5 Feb 2002 22:34:35 +0000 (22:34 +0000)]
Added SndRecord and (classic only) SndRecordToFile.
Jack Jansen [Tue, 5 Feb 2002 21:24:47 +0000 (21:24 +0000)]
Added support for unicode strings (utxt).
Steven M. Gava [Tue, 5 Feb 2002 04:52:32 +0000 (04:52 +0000)]
further work on config system and config saving
Fred Drake [Mon, 4 Feb 2002 21:43:08 +0000 (21:43 +0000)]
Update the instructions on reporting bugs to reflect that anonymous reports
are no longer accepted.
Fred Drake [Mon, 4 Feb 2002 21:15:42 +0000 (21:15 +0000)]
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).
Fred Drake [Mon, 4 Feb 2002 19:49:29 +0000 (19:49 +0000)]
Update version number to match Include/patchlevel.h.
Make sure we clean up all the temp files craeted for the typeset formats.
Fred Drake [Mon, 4 Feb 2002 19:48:25 +0000 (19:48 +0000)]
Update version number to match Include/patchlevel.h.
Just van Rossum [Mon, 4 Feb 2002 12:52:44 +0000 (12:52 +0000)]
Added minimal support for floating windows.
Just van Rossum [Mon, 4 Feb 2002 12:48:06 +0000 (12:48 +0000)]
Don't append quit menu when on OSX, it is special and automatic there.
Just van Rossum [Mon, 4 Feb 2002 11:53:53 +0000 (11:53 +0000)]
Flush screen buffer upon console.flush() and output.flush().
This fixes bug #511992.
Guido van Rossum [Mon, 4 Feb 2002 01:59:23 +0000 (01:59 +0000)]
Quick build: clarify that you have to do "make install" as root; OS
info: add info about Red Hat's python and python2.
Tim Peters [Sat, 2 Feb 2002 00:08:15 +0000 (00:08 +0000)]
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.
Jack Jansen [Fri, 1 Feb 2002 22:24:56 +0000 (22:24 +0000)]
Got rid of an extra level of {} and funny formatting that was still
there because of the NeXT history.
Andrew M. Kuchling [Fri, 1 Feb 2002 18:29:34 +0000 (18:29 +0000)]
[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.
Guido van Rossum [Fri, 1 Feb 2002 16:27:59 +0000 (16:27 +0000)]
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.
Jack Jansen [Fri, 1 Feb 2002 16:01:05 +0000 (16:01 +0000)]
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.
Jack Jansen [Fri, 1 Feb 2002 15:46:29 +0000 (15:46 +0000)]
Got rid of a few more NeXT ifdefs. The last, I think.
Guido van Rossum [Fri, 1 Feb 2002 15:34:10 +0000 (15:34 +0000)]
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.
Tim Peters [Fri, 1 Feb 2002 11:27:43 +0000 (11:27 +0000)]
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).
Thomas Heller [Fri, 1 Feb 2002 09:44:09 +0000 (09:44 +0000)]
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
Steven M. Gava [Fri, 1 Feb 2002 03:02:37 +0000 (03:02 +0000)]
improve user config dir handling
Steven M. Gava [Fri, 1 Feb 2002 01:33:36 +0000 (01:33 +0000)]
more work on configuration saving
Tim Peters [Fri, 1 Feb 2002 00:52:29 +0000 (00:52 +0000)]
New tempfile and os.open() gimmicks for Windows.
Andrew M. Kuchling [Thu, 31 Jan 2002 22:08:38 +0000 (22:08 +0000)]
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.
Marc-André Lemburg [Thu, 31 Jan 2002 18:56:00 +0000 (18:56 +0000)]
OS/2 patches by Andrew I MacIntyre for distutils.
Closes patch #435381.
Skip Montanaro [Thu, 31 Jan 2002 17:32:24 +0000 (17:32 +0000)]
added handle_error method description
Fred Drake [Wed, 30 Jan 2002 16:15:13 +0000 (16:15 +0000)]
string.split() docstring described the interpretation of the maxsplit
argument incorrectly.
This closes SF bug #505997.
Michael W. Hudson [Wed, 30 Jan 2002 15:47:34 +0000 (15:47 +0000)]
Oh look, another one.
2.2.1 candiate (he says, largely talking to himself :)
Michael W. Hudson [Wed, 30 Jan 2002 15:39:28 +0000 (15:39 +0000)]
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.
Jack Jansen [Wed, 30 Jan 2002 10:42:59 +0000 (10:42 +0000)]
Added a note about compiler warnings.
Tim Peters [Wed, 30 Jan 2002 09:11:42 +0000 (09:11 +0000)]
Thanks to Detlef Lannert for pointing out a typo in the code that
uses _DummyMutex on platforms without threads.