]> granicus.if.org Git - python/log
python
23 years agoFix error in explanation of the interaction between $ and MULTILINE mode.
Fred Drake [Mon, 25 Feb 2002 18:56:45 +0000 (18:56 +0000)]
Fix error in explanation of the interaction between $ and MULTILINE mode.
Reported by Steve Alexander.

23 years agoAdd documentation about how the inter-module linking works.
Marc-André Lemburg [Mon, 25 Feb 2002 14:45:40 +0000 (14:45 +0000)]
Add documentation about how the inter-module linking works.

23 years agoSet TCL_LIBRARY before import _tkinter. Suggested by Kirill Simonov.
Martin v. Löwis [Sun, 24 Feb 2002 16:51:45 +0000 (16:51 +0000)]
Set TCL_LIBRARY before import _tkinter. Suggested by Kirill Simonov.
Fixes #418173 and #219960. 2.2.1 candidate.

23 years agoPatch #510825: PTHREAD_SCOPE_SYSTEM support for HP-UX
Martin v. Löwis [Sun, 24 Feb 2002 16:05:05 +0000 (16:05 +0000)]
Patch #510825: PTHREAD_SCOPE_SYSTEM support for HP-UX
(pass non-null argument to pthread_create). 2.2.1 candidate.

23 years agoAccept Unicode strings as SMTP TO addresses. Fixes #521270.
Martin v. Löwis [Sun, 24 Feb 2002 15:07:24 +0000 (15:07 +0000)]
Accept Unicode strings as SMTP TO addresses. Fixes #521270.
2.2.1 candidate.

23 years agoOS/2 EMX port Library and regression test changes:
Andrew MacIntyre [Sun, 24 Feb 2002 05:32:32 +0000 (05:32 +0000)]
OS/2 EMX port Library and regression test changes:
  Lib/
    os.py
    os2emxpath.py   // added - OS/2 EMX specific path manipulation routines
    popen2.py
    site.py
  Lib/test/
    test_fcntl.py
    test_longexp.py

23 years agotracking changes to python idle:
Steven M. Gava [Sat, 23 Feb 2002 23:27:08 +0000 (23:27 +0000)]
tracking changes to python idle:
python Patch #520483: Make IDLE OutputWindow handle Unicode.

23 years agoPatch #520483: Make IDLE OutputWindow handle Unicode.
Martin v. Löwis [Sat, 23 Feb 2002 22:39:37 +0000 (22:39 +0000)]
Patch #520483: Make IDLE OutputWindow handle Unicode.
2.2.1 candidate.

23 years agoPatch #521714: fix pychecker warnings in ast.py.
Martin v. Löwis [Sat, 23 Feb 2002 22:35:33 +0000 (22:35 +0000)]
Patch #521714: fix pychecker warnings in ast.py.

23 years agoPatch #521670: Remove unused sys import.
Martin v. Löwis [Sat, 23 Feb 2002 22:31:53 +0000 (22:31 +0000)]
Patch #521670: Remove unused sys import.

23 years agoSF bug #501591: dir() doc is old
Tim Peters [Sat, 23 Feb 2002 04:40:15 +0000 (04:40 +0000)]
SF bug #501591:  dir() doc is old
Bugfix candidate.

+ Updated dir() description to match actual 2.2 behavior.

+ Replaced the dir(sys) example with dir(struct), because the former
  was way out of date and is bound to change frequently, while the
  latter is stable.

+ Added a note cautioning that dir() is supplied primarily for
  convenience at an interactive prompt (hoping to discourage its
  use as the foundation of introspective code outside the core).

23 years agoGrammar tweak.
Greg Ward [Fri, 22 Feb 2002 21:24:32 +0000 (21:24 +0000)]
Grammar tweak.

23 years agoTypo: thsi -> this. Closes SF bug #521450.
Fred Drake [Fri, 22 Feb 2002 15:40:23 +0000 (15:40 +0000)]
Typo: thsi -> this.  Closes SF bug #521450.

23 years agoCreate and populate OS/2 EMX port platform specific library directory:
Andrew MacIntyre [Fri, 22 Feb 2002 11:06:30 +0000 (11:06 +0000)]
Create and populate OS/2 EMX port platform specific library directory:
  Lib/plat-os2emx/
    IN.py
    SOCKET.py
    grp.py
    pwd.py       // pwd module that can process real passwd files
    regen

23 years agomoved command logging routines into IMAP4 class: thread safe/faster
Piers Lauder [Fri, 22 Feb 2002 01:15:17 +0000 (01:15 +0000)]
moved command logging routines into IMAP4 class: thread safe/faster

23 years agoFirst version which runs an install-script (specified by the
Thomas Heller [Wed, 20 Feb 2002 08:01:19 +0000 (08:01 +0000)]
First version which runs an install-script (specified by the
--install-script ... command line option to bdist_wininst) at the end
of the installation and at the start of deinstallation.  Output
(stdout, stderr) of the script (if any) is displayed in the last
screen at installation, or in a simple message box at deinstallation.

sys.argv[1] for the script will contain '-install' at installation
time or '-remove' at deinstallation time.

The installation script runs in an environment (embedded by the
bdist_wininst runtime) where an additional function is available as
builtin:

create_shortcut(path, description, filename,
        [arguments[, workdir[, iconpath, iconindex]]])

Recreated this file after source changes.

23 years agoCorrect the refcount information for the PyWeakref_GetObject() function.
Fred Drake [Wed, 20 Feb 2002 05:07:36 +0000 (05:07 +0000)]
Correct the refcount information for the PyWeakref_GetObject() function.
This closes SF bug #520087.

23 years agoSomebody made list.__dict__ grow a '__doc__' key, but apparently didn't
Tim Peters [Tue, 19 Feb 2002 04:25:19 +0000 (04:25 +0000)]
Somebody made list.__dict__ grow a '__doc__' key, but apparently didn't
run the test suite afterwards.  Either that, or whether '__doc__' shows
up is platform-dependent!

23 years agoSF #515023. Make _DummyThread.join() signature match base class (Thread)
Neal Norwitz [Tue, 19 Feb 2002 03:01:36 +0000 (03:01 +0000)]
SF #515023.  Make _DummyThread.join() signature match base class (Thread)

23 years agoSF #515041, Update path for 2.3
Neal Norwitz [Tue, 19 Feb 2002 02:58:54 +0000 (02:58 +0000)]
SF #515041,  Update path for 2.3

23 years agoAllow __doc__ to be of arbitrary type. Patch by James Henstridge,
Martin v. Löwis [Mon, 18 Feb 2002 17:46:48 +0000 (17:46 +0000)]
Allow __doc__ to be of arbitrary type. Patch by James Henstridge,
fixes #504343. 2.2.1 candidate.

23 years agofurther work on config system
Steven M. Gava [Mon, 18 Feb 2002 01:45:43 +0000 (01:45 +0000)]
further work on config system

23 years agohandle user theme and key set deletion
Steven M. Gava [Mon, 18 Feb 2002 01:43:11 +0000 (01:43 +0000)]
handle user theme and key set deletion

23 years agoMove some opcodes to top of big eval_frame switch statement. Skip
Neil Schemenauer [Sun, 17 Feb 2002 19:10:14 +0000 (19:10 +0000)]
Move some opcodes to top of big eval_frame switch statement.  Skip
things_to_do block for a few common opcodes that don't do any real
work.  Closes SF patch #512256.

23 years agoSF bug #497839: reindent chokes on empty first lines.
Tim Peters [Sun, 17 Feb 2002 07:03:05 +0000 (07:03 +0000)]
SF bug #497839:  reindent chokes on empty first lines.
Reindenter.run():  copy over initial all-whitespace lines (if any, and
after normalizing to remove trailing blanks and tabs).
Bugfix candidate.

23 years agoCreate and populate OS/2 EMX port build directory:
Andrew MacIntyre [Sun, 17 Feb 2002 05:23:30 +0000 (05:23 +0000)]
Create and populate OS/2 EMX port build directory:
  PC/os2emx/
    Makefile
    README.os2emx
    config.c
    dlfcn.c            // libdl emulation code for loadable extensions
    dlfcn.h
    dllentry.c         // DLL initialisation routine for Python DLL
    getpath.c
    pyconfig.h
    python23.def       // Python DLL symbol export definitions
    pythonpm.c         // console-less PM interpreter wrapper

23 years agoRepair so that importing socket doesn't blow up on platforms that lack
Tim Peters [Sun, 17 Feb 2002 04:25:24 +0000 (04:25 +0000)]
Repair so that importing socket doesn't blow up on platforms that lack
SSL support.  test_socket.py passes again on Windows.

Added an XXX about adding _ssl exports to the __all__ list (it doesn't
appear to be doing anything about that now, but since I don't have SSL
on this box I can't really tell).

23 years agoMoved the declaration of PySocketSock_Type from socketmodule.h to
Tim Peters [Sun, 17 Feb 2002 04:13:21 +0000 (04:13 +0000)]
Moved the declaration of PySocketSock_Type from socketmodule.h to
socketmodule.c.  No code outside of the .c file references it, so it
doesn't belong the .h file (at least not yet ...), and declaring it
an imported symbol in the .h file can't be made to work on Windows (it's
a cross-DLL symbol then) without substantial code rewriting.  Also
repaired the comment that goes along with the decl, to stop referring
to names and functions that haven't existed for 7 years <wink>.

socketmodule.c compiles cleanly on Windows again.  The test_socket dies
at once, though (later).

23 years agoFor readability, switch to tab indents; was using a mix of tab indents,
Tim Peters [Sun, 17 Feb 2002 03:58:51 +0000 (03:58 +0000)]
For readability, switch to tab indents; was using a mix of tab indents,
4-space indents, and ambiguous space+tab indents.  Added an XXX comment
about a confusing part.  Still doesn't build on Windows.

23 years agoPatch #508038: Do not use a type as a variable name.
Martin v. Löwis [Sat, 16 Feb 2002 23:39:10 +0000 (23:39 +0000)]
Patch #508038: Do not use a type as a variable name.

23 years agoPatch #511193: Implement killpg in posixmodule.
Martin v. Löwis [Sat, 16 Feb 2002 23:35:41 +0000 (23:35 +0000)]
Patch #511193: Implement killpg in posixmodule.

23 years agoPatch #515598: removed unused import of os.
Martin v. Löwis [Sat, 16 Feb 2002 23:16:53 +0000 (23:16 +0000)]
Patch #515598: removed unused import of os.

23 years agoRemove extraneous variable 'total', as reported by James Rucker.
Martin v. Löwis [Sat, 16 Feb 2002 23:13:54 +0000 (23:13 +0000)]
Remove extraneous variable 'total', as reported by James Rucker.

23 years agoThe Grande 'sendall()' patch, copied from release21-maint. Fixes #516715.
Martin v. Löwis [Sat, 16 Feb 2002 23:06:19 +0000 (23:06 +0000)]
The Grande 'sendall()' patch, copied from release21-maint. Fixes #516715.
Replaces calls to socket.send() (which isn't guaranteed to send all data)
with the new socket.sendall() method.

23 years agoAlso fix the comment.
Marc-André Lemburg [Sat, 16 Feb 2002 18:47:07 +0000 (18:47 +0000)]
Also fix the comment.

23 years agoFix the name of the header file.
Marc-André Lemburg [Sat, 16 Feb 2002 18:44:52 +0000 (18:44 +0000)]
Fix the name of the header file.

23 years agoBreak SSL support out of _socket module and place it into a new
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.

23 years agoWhitespace normalization.
Tim Peters [Sat, 16 Feb 2002 07:34:19 +0000 (07:34 +0000)]
Whitespace normalization.

23 years agoSF bug #516372: test_thread: unhandled exc. in thread
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.

23 years agoUse the standard expression for the availability statement for alarm().
Fred Drake [Fri, 15 Feb 2002 20:59:43 +0000 (20:59 +0000)]
Use the standard expression for the availability statement for alarm().

23 years agonote that the alarm function is not available on Windows.
Skip Montanaro [Fri, 15 Feb 2002 20:36:19 +0000 (20:36 +0000)]
note that the alarm function is not available on Windows.

23 years agoAdded deprecatioon information for mac.xstat().
Fred Drake [Fri, 15 Feb 2002 14:35:09 +0000 (14:35 +0000)]
Added deprecatioon information for mac.xstat().
This closes SF bug #505150.

23 years agoThe "%" character does not need to be escaped in verbatim environments.
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.

23 years agoConsistently use \textasciicircum to produce a ^ character.
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!

23 years agoFix typo.
Fred Drake [Thu, 14 Feb 2002 07:16:30 +0000 (07:16 +0000)]
Fix typo.

23 years agoUse PyModule_AddObject() instead of accessing the module dict directly.
Fred Drake [Thu, 14 Feb 2002 07:11:23 +0000 (07:11 +0000)]
Use PyModule_AddObject() instead of accessing the module dict directly.

23 years agoUse PyModule_AddIntConstant() instead of creating a private helper function.
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__.

23 years agoCompute expat -I directives from srcdir. Fixes #517214.
Martin v. Löwis [Thu, 14 Feb 2002 01:25:37 +0000 (01:25 +0000)]
Compute expat -I directives from srcdir. Fixes #517214.

23 years agoFinish the pyexpat rework for Windows: builders needn't suck down the
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.

23 years agoSimon Budig's patch (posted by me):
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

23 years agoDefine VERSION in expat.h.
Martin v. Löwis [Wed, 13 Feb 2002 07:47:16 +0000 (07:47 +0000)]
Define VERSION in expat.h.

23 years agoWindows time_clock(): rewrite to get rid of horrid casting tricks.
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.

23 years agoTwo OSX fixes related to switching Python versions in an existing sourcetree:
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.

23 years ago"Generate" from expat.h.in, for 1.95.2.
Martin v. Löwis [Tue, 12 Feb 2002 09:52:22 +0000 (09:52 +0000)]
"Generate" from expat.h.in, for 1.95.2.

23 years agoLOAD_FAST: rearrange branches to favor the expected case, and get
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.

23 years agoEnsure we also build on VC7. Involves replacing largeint.h helper functions with...
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.

23 years agoBuild using included Expat.
Martin v. Löwis [Tue, 12 Feb 2002 00:05:49 +0000 (00:05 +0000)]
Build using included Expat.

23 years agoUse included Expat library. Drop support for older expat versions.
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.

23 years agoDisable usage of Expat's config.h.
Martin v. Löwis [Mon, 11 Feb 2002 23:16:32 +0000 (23:16 +0000)]
Disable usage of Expat's config.h.

23 years agoInitial revision
Martin v. Löwis [Mon, 11 Feb 2002 23:13:04 +0000 (23:13 +0000)]
Initial revision

23 years agoFix bug #511786 (2.2.1 candidate): ensure that custom-supplied headers
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.

23 years agoRemove mentioning of -U option in "python -h" output.
Marc-André Lemburg [Mon, 11 Feb 2002 18:46:47 +0000 (18:46 +0000)]
Remove mentioning of -U option in "python -h" output.

23 years agoSF #515020, delete global variables which are used only for temporary
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).

23 years agoSF #515005, change "1 + ''" (which pychecker warns about being invalid)
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".

23 years agoSF #515022 remove unused variable
Neal Norwitz [Mon, 11 Feb 2002 18:18:29 +0000 (18:18 +0000)]
SF #515022 remove unused variable

23 years agoSF #515009, delete global variable that was apparently used only
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.

23 years agoSF #515018, delete global variable that was apparently used only
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.

23 years agoSF #515026, delete global variable that was apparently used only
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.

23 years agoSF #515024 remove unused variable
Neal Norwitz [Mon, 11 Feb 2002 18:06:21 +0000 (18:06 +0000)]
SF #515024 remove unused variable

23 years agoSF #515021, print the refused list to the DEBUGSTREAM, so the parameter is used
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

23 years agoSF #515012, cleanup: remove unused variable
Neal Norwitz [Mon, 11 Feb 2002 18:01:32 +0000 (18:01 +0000)]
SF #515012, cleanup: remove unused variable

23 years agoSF #515011, cleanup: remove "or 0" condition
Neal Norwitz [Mon, 11 Feb 2002 17:59:51 +0000 (17:59 +0000)]
SF #515011, cleanup: remove "or 0" condition

23 years agoSF #515006, remove unnecessary import
Neal Norwitz [Mon, 11 Feb 2002 17:57:55 +0000 (17:57 +0000)]
SF #515006, remove unnecessary import

23 years agoSF #515004 cleanup
Neal Norwitz [Mon, 11 Feb 2002 17:56:27 +0000 (17:56 +0000)]
SF #515004 cleanup
  - remove unnecessary imports
  - rename dum -> dummy

23 years agoSF #515000, print result of f.tell() in test() instead of ignoring
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

23 years agoCorrected import behaviour for codecs which live outside the encodings
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.

23 years agoRegenerate configure script
Andrew M. Kuchling [Mon, 11 Feb 2002 16:31:10 +0000 (16:31 +0000)]
Regenerate configure script

23 years agoBump version number to 2.3
Andrew M. Kuchling [Mon, 11 Feb 2002 16:30:54 +0000 (16:30 +0000)]
Bump version number to 2.3

23 years agoRemoved a spurious }. (How did it get there in the first place??)
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??)

23 years agoon MacOSX/Darwin, use ranlib when building static libs.
Just van Rossum [Mon, 11 Feb 2002 15:31:50 +0000 (15:31 +0000)]
on MacOSX/Darwin, use ranlib when building static libs.

23 years agoimprovement to keybinding re-use check
Steven M. Gava [Mon, 11 Feb 2002 03:45:22 +0000 (03:45 +0000)]
improvement to keybinding re-use check

23 years agobase GetHighlight on GetThemeDict for better defaults
Steven M. Gava [Mon, 11 Feb 2002 02:51:18 +0000 (02:51 +0000)]
base GetHighlight on GetThemeDict for better defaults

23 years agofurther work on config saving
Steven M. Gava [Mon, 11 Feb 2002 02:28:19 +0000 (02:28 +0000)]
further work on config saving

23 years agofurther work on config saving
Steven M. Gava [Mon, 11 Feb 2002 02:20:53 +0000 (02:20 +0000)]
further work on config saving

23 years agoRemove stub for unicode.txt. Resort README in dictionary order.
Guido van Rossum [Mon, 11 Feb 2002 01:18:25 +0000 (01:18 +0000)]
Remove stub for unicode.txt.  Resort README in dictionary order.

23 years agoNews about the new alias support.
Marc-André Lemburg [Sun, 10 Feb 2002 21:42:47 +0000 (21:42 +0000)]
News about the new alias support.

23 years agoAdd IANA character set aliases to the encodings alias dictionary
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.

23 years agoAdd news about PYC magic and changes to UTF-8 codec.
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.

23 years agoAdded a module docstring, which doubles as the --help text.
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.

23 years agoUpdates related to Modules/Setup and setup.py. This addresses SF bug
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.

23 years agoAdded regression test for start()/stop() returning bogus NULL.
Fred Drake [Fri, 8 Feb 2002 21:29:22 +0000 (21:29 +0000)]
Added regression test for start()/stop() returning bogus NULL.

23 years agostart() and stop() methods: return None where there is no exception;
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.

23 years agoDeclare real and imag as read-only attributes.
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!

23 years agoWhitespace cleanup.
Guido van Rossum [Fri, 8 Feb 2002 20:41:34 +0000 (20:41 +0000)]
Whitespace cleanup.

23 years agoFix typo
Neal Norwitz [Fri, 8 Feb 2002 20:13:53 +0000 (20:13 +0000)]
Fix typo

23 years agoPython 10 was a success, commemorate it\!
Fred Drake [Fri, 8 Feb 2002 20:13:47 +0000 (20:13 +0000)]
Python 10 was a success, commemorate it\!

23 years agowww.google.com is better than google.com.
Guido van Rossum [Fri, 8 Feb 2002 16:20:07 +0000 (16:20 +0000)]
www.google.com is better than google.com.

23 years agoMake it 1.5.2 compatible again.
Thomas Heller [Fri, 8 Feb 2002 14:41:31 +0000 (14:41 +0000)]
Make it 1.5.2 compatible again.

23 years agoFix to the UTF-8 encoder: it failed on 0-length input strings.
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.

23 years agoForgot to add the new emxccompiler.py from Andrew I. MacIntyre's
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...