]> granicus.if.org Git - python/log
python
21 years agogive rational filenames to some of the generated HTML
Fred Drake [Thu, 8 Apr 2004 19:44:31 +0000 (19:44 +0000)]
give rational filenames to some of the generated HTML

21 years agoswitch to PNG navigation icons by default
Fred Drake [Thu, 8 Apr 2004 18:51:39 +0000 (18:51 +0000)]
switch to PNG navigation icons by default

21 years agoinclude both the GIF and PNG icons in the HTML package
Fred Drake [Thu, 8 Apr 2004 18:50:51 +0000 (18:50 +0000)]
include both the GIF and PNG icons in the HTML package

21 years agoavoid stripping space after indexing macros
Fred Drake [Thu, 8 Apr 2004 15:30:12 +0000 (15:30 +0000)]
avoid stripping space after indexing macros

21 years agonote --trackcalls flag in trace module
Skip Montanaro [Wed, 7 Apr 2004 16:03:02 +0000 (16:03 +0000)]
note --trackcalls flag in trace module

21 years agoAdded --trackcalls command line arg to display crude caller/callee
Skip Montanaro [Wed, 7 Apr 2004 15:46:05 +0000 (15:46 +0000)]
Added --trackcalls command line arg to display crude caller/callee
relationships at program exit.  Output is a bit prettier than that for
--listfuncs but won't parse as easily using downstream postprocessing tools.

21 years agoUse continue instead of break whereever possible.
Raymond Hettinger [Wed, 7 Apr 2004 14:38:08 +0000 (14:38 +0000)]
Use continue instead of break whereever possible.

21 years ago* Improve readability and remove data dependencies by converting
Raymond Hettinger [Wed, 7 Apr 2004 13:17:27 +0000 (13:17 +0000)]
* Improve readability and remove data dependencies by converting
pre-increment forms to post-increment forms.  Post-incrementing
also eliminates the need for negative array indices for oparg fetches.

* In exception handling code, check for class based exceptions before
  the older string based exceptions.

21 years agoSmall code improvements for readability, code size, and/or speed.
Raymond Hettinger [Wed, 7 Apr 2004 11:39:21 +0000 (11:39 +0000)]
Small code improvements for readability, code size, and/or speed.

BINARY_SUBSCR:
    * invert test for normal case fall through
    * eliminate err handling code by jumping to slow_case

LOAD_LOCALS:
    * invert test for normal case fall through
    * continue instead of break for the non-error case

STORE_NAME and DELETE_NAME:
    * invert test for normal case fall through

LOAD_NAME:
    * continue instead of break for the non-error case

DELETE_FAST:
    * invert test for normal case fall through

LOAD_DEREF:
    * invert test for normal case fall through
    * continue instead of break for the non-error case

21 years agoFix comment typo
Andrew M. Kuchling [Tue, 6 Apr 2004 19:43:03 +0000 (19:43 +0000)]
Fix comment typo

21 years agoRemove specific Python version from #!
Andrew M. Kuchling [Tue, 6 Apr 2004 19:42:34 +0000 (19:42 +0000)]
Remove specific Python version from #!

21 years agoSimplify previous checkin (bitfields for WHY codes).
Raymond Hettinger [Tue, 6 Apr 2004 10:11:10 +0000 (10:11 +0000)]
Simplify previous checkin (bitfields for WHY codes).
Restores the self-documenting enum declaration.

21 years agoCoded WHY flags as bitfields (taking inspiration from tp_flags).
Raymond Hettinger [Tue, 6 Apr 2004 09:37:35 +0000 (09:37 +0000)]
Coded WHY flags as bitfields (taking inspiration from tp_flags).

This allows multiple flags to be tested in a single compare
which eliminates unnecessary compares and saves a few bytes.

21 years agoSF Patch #926375: Remove a useless UTF-16 support code that is never
Hye-Shik Chang [Tue, 6 Apr 2004 07:24:51 +0000 (07:24 +0000)]
SF Patch #926375: Remove a useless UTF-16 support code that is never
been used. (Suggested by Martin v. Loewis)

21 years agoSince the fast_yield branch target was introduced, it appears that most
Tim Peters [Mon, 5 Apr 2004 19:36:21 +0000 (19:36 +0000)]
Since the fast_yield branch target was introduced, it appears that most
tests of "why" against WHY_YIELD became useless.  This patch removes them,
but assert()s that why != WHY_YIELD everywhere such a test was removed.
The test suite ran fine under a debug build (i.e., the asserts never
triggered).

21 years agoImprove previous checkin to use a slot check instead of equivalent
Raymond Hettinger [Mon, 5 Apr 2004 08:14:48 +0000 (08:14 +0000)]
Improve previous checkin to use a slot check instead of equivalent
attribute name lookup.

21 years agoImprove accuracy of sequence and mapping checks.
Raymond Hettinger [Sun, 4 Apr 2004 08:51:41 +0000 (08:51 +0000)]
Improve accuracy of sequence and mapping checks.

21 years agoOS/2's TCP/IP stack supports AF_UNIX sockets, with the limitation that
Andrew MacIntyre [Sun, 4 Apr 2004 07:13:49 +0000 (07:13 +0000)]
OS/2's TCP/IP stack supports AF_UNIX sockets, with the limitation that
the socket name must start with /socket32/.  Unlike Unix systems, this
file never exists in the file system.

21 years agoOS/2 has support for spawnvp() and spawnvpe() in the C libraries supplied
Andrew MacIntyre [Sun, 4 Apr 2004 07:11:43 +0000 (07:11 +0000)]
OS/2 has support for spawnvp() and spawnvpe() in the C libraries supplied
with major C compilers (VACPP, EMX+gcc and [Open]Watcom).

Also tidy up the export of spawn*() symbols in the os module to match what
is found/implemented.

21 years agoIf a file is opened with an explicit buffer size >= 1, repeated
Andrew MacIntyre [Sun, 4 Apr 2004 07:01:35 +0000 (07:01 +0000)]
If a file is opened with an explicit buffer size >= 1, repeated
close() calls would attempt to free() the buffer already free()ed on
the first close().     [bug introduced with patch #788249]

Making sure that the buffer is free()ed in file object deallocation is
a belt-n-braces bit of insurance against a memory leak.

21 years ago#928751, fix typos in socket doc
Neal Norwitz [Sat, 3 Apr 2004 18:02:37 +0000 (18:02 +0000)]
#928751, fix typos in socket doc

21 years agoIt would help if I deleted the old pystack!
Skip Montanaro [Fri, 2 Apr 2004 14:53:55 +0000 (14:53 +0000)]
It would help if I deleted the old pystack!
Also, move pystack comment down next to it

21 years agoinclude local variables when dumping Python stack trace
Skip Montanaro [Fri, 2 Apr 2004 14:51:13 +0000 (14:51 +0000)]
include local variables when dumping Python stack trace

21 years agoFix support for the "prog" keyword to the OptionParser constructor, as well
Fred Drake [Thu, 1 Apr 2004 07:40:35 +0000 (07:40 +0000)]
Fix support for the "prog" keyword to the OptionParser constructor, as well
as directly setting the .prog attribute (which should be supported based on
the class docstring).
Closes SF bug #850964.

21 years agofix typo that wasn't properly fixed in revision 1.144
Fred Drake [Thu, 1 Apr 2004 04:30:29 +0000 (04:30 +0000)]
fix typo that wasn't properly fixed in revision 1.144

21 years agoBump the magic number to avoid sharing bytecode between 2.3 and 2.4.
Jeremy Hylton [Thu, 1 Apr 2004 02:45:22 +0000 (02:45 +0000)]
Bump the magic number to avoid sharing bytecode between 2.3 and 2.4.
Revise the long comment that explained details of the magic number
in gory detail.

21 years ago[Bugfix candidate] Escape traceback type and value. There are probably additional...
Andrew M. Kuchling [Wed, 31 Mar 2004 20:17:56 +0000 (20:17 +0000)]
[Bugfix candidate] Escape traceback type and value.  There are probably additional cases where cgitb.py doesn't escape as paranoidly as it should (e.g. attribute names)

21 years agoPatch #924497: find(1) all files with /usr/local/bin/python in them.
Martin v. Löwis [Wed, 31 Mar 2004 18:59:04 +0000 (18:59 +0000)]
Patch #924497: find(1) all files with /usr/local/bin/python in them.
Backported to 2.3.

21 years agoWhen /tmp has certain sticky bits set, newly created subdirectories
Guido van Rossum [Wed, 31 Mar 2004 18:53:29 +0000 (18:53 +0000)]
When /tmp has certain sticky bits set, newly created subdirectories
inherit those bits, causing the test_mkdtemp.test_mode() test to fail.
Remove those before comparing the actual mode to the expected mode.

21 years agoadd a heavy box around warning notices to make them really stand out in the
Fred Drake [Wed, 31 Mar 2004 08:08:34 +0000 (08:08 +0000)]
add a heavy box around warning notices to make them really stand out in the
PDF and PostScript versions of the docs (the CSS already does this for HTML)

21 years agoadd missing and forthcoming releases
Fred Drake [Wed, 31 Mar 2004 08:04:46 +0000 (08:04 +0000)]
add missing and forthcoming releases

21 years agoEmphasize the requirement that Python.h be included first more strongly.
Fred Drake [Wed, 31 Mar 2004 07:45:46 +0000 (07:45 +0000)]
Emphasize the requirement that Python.h be included first more strongly.
Closes SF bug #837228; backporting for Python 2.3.4.

21 years agoadded scripts to the list of files automatically included in the
Fred Drake [Wed, 31 Mar 2004 01:50:37 +0000 (01:50 +0000)]
added scripts to the list of files automatically included in the
distribution (see SF bug #796042)

21 years agoOS/2 VACPP build updates/fixes
Andrew MacIntyre [Mon, 29 Mar 2004 11:53:38 +0000 (11:53 +0000)]
OS/2 VACPP build updates/fixes

21 years agoAdded a comment about the unreferenced PyThreadState.tick_counter
Tim Peters [Mon, 29 Mar 2004 02:24:26 +0000 (02:24 +0000)]
Added a comment about the unreferenced PyThreadState.tick_counter
member.

21 years agofix typo
Andrew M. Kuchling [Mon, 29 Mar 2004 01:19:54 +0000 (01:19 +0000)]
fix typo

21 years agoInsert missing pronoun
Raymond Hettinger [Sun, 28 Mar 2004 22:44:09 +0000 (22:44 +0000)]
Insert missing pronoun

21 years agoSF bug 924242: socket._fileobject._getclosed() returns wrong value
Tim Peters [Sun, 28 Mar 2004 02:20:45 +0000 (02:20 +0000)]
SF bug 924242: socket._fileobject._getclosed() returns wrong value

The .closed property always returned the wrong result.

Bugfix candidate!

21 years agoadd usage() function, -h(elp) flag and long versions of short flags
Skip Montanaro [Sat, 27 Mar 2004 18:43:56 +0000 (18:43 +0000)]
add usage() function, -h(elp) flag and long versions of short flags

21 years ago- add entry for complex number
Skip Montanaro [Sat, 27 Mar 2004 18:23:11 +0000 (18:23 +0000)]
- add entry for complex number
- fix a couple typos
- refine definitions for "interpreted" and "coercion" based upon updates on
  the python glossary wiki

21 years agoRevert 1.51 booleans so that sre will still run on old pythons.
Raymond Hettinger [Sat, 27 Mar 2004 09:24:36 +0000 (09:24 +0000)]
Revert 1.51 booleans so that sre will still run on old pythons.

21 years agoSimple Optimizations:
Raymond Hettinger [Fri, 26 Mar 2004 23:24:00 +0000 (23:24 +0000)]
Simple Optimizations:
* Factor constant expressions out of loops.
* Presize a list being grown to a known length.

21 years agoRemove unnecessary test. (Thanks Skip)
Raymond Hettinger [Fri, 26 Mar 2004 20:16:39 +0000 (20:16 +0000)]
Remove unnecessary test.  (Thanks Skip)

21 years agoremove out-of-date warning
Fred Drake [Fri, 26 Mar 2004 17:11:10 +0000 (17:11 +0000)]
remove out-of-date warning

21 years agoFix test failure for test_tcl on OS/X and Windows if a
David Ascher [Fri, 26 Mar 2004 15:10:25 +0000 (15:10 +0000)]
Fix test failure for test_tcl on OS/X and Windows if a
version of Tcl other than ActiveTcl is installed (ActiveTcl
included TclX, other Tcl distros didn't).

I'm removing the package loading test because it's hard to
come up with a package that is guaranteed to be in any Tcl installation.

Special-casing darwin and windows is ok since that leaves the
only Tk platform (X) which the test was trying to address.

21 years agoMarshal clean-up (SF patch #873224)
Armin Rigo [Fri, 26 Mar 2004 15:09:27 +0000 (15:09 +0000)]
Marshal clean-up (SF patch #873224)

21 years agoSimple optimizations:
Raymond Hettinger [Fri, 26 Mar 2004 11:16:55 +0000 (11:16 +0000)]
Simple optimizations:
* pre-build a single identity function for the fixup function
* pre-build membership tests in dictionaries instead of in-line tuples
* assign len() to a local variable
* assign append() methods to a local variable
* use xrange() instead of range()
* replace "x<<1" with "x+x"

21 years agoUpdate timeit example to reflect current performance.
Raymond Hettinger [Fri, 26 Mar 2004 07:56:23 +0000 (07:56 +0000)]
Update timeit example to reflect current performance.

21 years agomake sure the default manifest generation includes files identified as
Fred Drake [Thu, 25 Mar 2004 22:04:52 +0000 (22:04 +0000)]
make sure the default manifest generation includes files identified as
scripts
closes SF bug 796042

21 years agoAdded more Windows version names (thanks to Thomas Heller).
Marc-André Lemburg [Thu, 25 Mar 2004 18:35:12 +0000 (18:35 +0000)]
Added more Windows version names (thanks to Thomas Heller).
Fixed bug in platform() cache (thanks to Brett Cannon).

(Restored Python 1.5.2 compatibility.)

21 years agoFix last patch to be backwards-compatible with Python 1.5.2 .
Brett Cannon [Thu, 25 Mar 2004 18:32:11 +0000 (18:32 +0000)]
Fix last patch to be backwards-compatible with Python 1.5.2 .
Bumped version micro number.

21 years agoFixed a caching bug in platform.platform() where the argument of 'terse' was
Brett Cannon [Thu, 25 Mar 2004 16:55:12 +0000 (16:55 +0000)]
Fixed a caching bug in platform.platform() where the argument of 'terse' was
not taken into consideration when caching value.

21 years agoNote that reading from a socket may not always return all of the
Fred Drake [Thu, 25 Mar 2004 16:51:12 +0000 (16:51 +0000)]
Note that reading from a socket may not always return all of the
remaining content of a stream when expected to do so.
Closes SF bug #725265.  Should be backported to Python 2.3.x.

21 years ago- make sure the methods minidom adds to the basic DOM are attributed
Fred Drake [Thu, 25 Mar 2004 16:39:46 +0000 (16:39 +0000)]
- make sure the methods minidom adds to the basic DOM are attributed
  to Node objects in the index (closes SF bug #832251)
- fix a variety of markup nits

Someone should backport this patch to Python 2.3.x.

21 years agoGet rid of gcc warning.
Hye-Shik Chang [Thu, 25 Mar 2004 16:37:03 +0000 (16:37 +0000)]
Get rid of gcc warning.

21 years agoinclude the right index sources
Fred Drake [Thu, 25 Mar 2004 16:35:10 +0000 (16:35 +0000)]
include the right index sources

21 years agoremove duplicate use of the meta-data label
Fred Drake [Thu, 25 Mar 2004 16:33:29 +0000 (16:33 +0000)]
remove duplicate use of the meta-data label

21 years agoCorrect code to advance ptr to be well-formed C.
Martin v. Löwis [Thu, 25 Mar 2004 16:16:28 +0000 (16:16 +0000)]
Correct code to advance ptr to be well-formed C.

21 years agofix typo
Fred Drake [Thu, 25 Mar 2004 16:14:17 +0000 (16:14 +0000)]
fix typo

21 years agonote that distutils API docs are included in "Distributing Python
Fred Drake [Thu, 25 Mar 2004 16:12:08 +0000 (16:12 +0000)]
note that distutils API docs are included in "Distributing Python
Modules"

21 years agoimprove the very-high-level API docs (contributed by Jeff Epler)
Fred Drake [Thu, 25 Mar 2004 15:44:56 +0000 (15:44 +0000)]
improve the very-high-level API docs (contributed by Jeff Epler)
Closes SF patch #798638.

21 years agoDefer compilation of regular expressions until first use.
Martin v. Löwis [Thu, 25 Mar 2004 14:58:19 +0000 (14:58 +0000)]
Defer compilation of regular expressions until first use.

21 years agoRemove note that PyErr_SetInterrupt() is obsolete; add comment about the
Fred Drake [Thu, 25 Mar 2004 14:25:28 +0000 (14:25 +0000)]
Remove note that PyErr_SetInterrupt() is obsolete; add comment about the
fact that it was marked obsolete but is still needed.
Closes SF bug #919299.  Someone else should backport this to Python 2.3.

21 years agoUse True/False instead of 0/1 for character classes.
Martin v. Löwis [Thu, 25 Mar 2004 13:50:59 +0000 (13:50 +0000)]
Use True/False instead of 0/1 for character classes.

21 years agoSF bug: #921927: Fixed a typo/thinko spelling "parameter" as "paramter"
Raymond Hettinger [Thu, 25 Mar 2004 08:51:36 +0000 (08:51 +0000)]
SF bug: #921927:  Fixed a typo/thinko spelling "parameter" as "paramter"

21 years agoEnsure super() lookup of descriptor from classmethod works (SF #743627)
Phillip J. Eby [Thu, 25 Mar 2004 02:19:34 +0000 (02:19 +0000)]
Ensure super() lookup of descriptor from classmethod works (SF #743627)

21 years agoA few more PyThreadState_Get to PyThreadState_GET conversions
Nicholas Bastin [Thu, 25 Mar 2004 02:16:23 +0000 (02:16 +0000)]
A few more PyThreadState_Get to PyThreadState_GET conversions

21 years agofix name in setacl method doc string
Piers Lauder [Thu, 25 Mar 2004 00:12:21 +0000 (00:12 +0000)]
fix name in setacl method doc string

21 years agoChanged random calls to PyThreadState_Get() to use the macro
Nicholas Bastin [Wed, 24 Mar 2004 22:22:12 +0000 (22:22 +0000)]
Changed random calls to PyThreadState_Get() to use the macro

21 years agoEnable the profiling of C functions (builtins and extensions)
Nicholas Bastin [Wed, 24 Mar 2004 21:57:10 +0000 (21:57 +0000)]
Enable the profiling of C functions (builtins and extensions)

21 years agoAdd test case for unicode(somestring, "idna").
Martin v. Löwis [Wed, 24 Mar 2004 16:48:24 +0000 (16:48 +0000)]
Add test case for unicode(somestring, "idna").

21 years agoReplace sequential split/join calls on strings with a single replace call.
Brett Cannon [Tue, 23 Mar 2004 23:50:17 +0000 (23:50 +0000)]
Replace sequential split/join calls on strings with a single replace call.
Thanks Andrew Gaul.

21 years agoConvert input to a string object. Fixes #909230.
Martin v. Löwis [Tue, 23 Mar 2004 23:40:36 +0000 (23:40 +0000)]
Convert input to a string object. Fixes #909230.
Backported 2.3.

21 years ago...for work done at PyCon 2004 (and beyond...)
Nicholas Bastin [Tue, 23 Mar 2004 23:29:01 +0000 (23:29 +0000)]
...for work done at PyCon 2004 (and beyond...)

21 years agoMake socket.sslerror a subclass of socket.error .
Brett Cannon [Tue, 23 Mar 2004 23:16:54 +0000 (23:16 +0000)]
Make socket.sslerror a subclass of socket.error .
Added socket.error to the socket module's C API.

21 years agomore markup nits
Fred Drake [Tue, 23 Mar 2004 21:40:07 +0000 (21:40 +0000)]
more markup nits

21 years agoReplace code in urllib for basejoin (undocumented) with urlparse.urljoin .
Brett Cannon [Tue, 23 Mar 2004 21:26:39 +0000 (21:26 +0000)]
Replace code in urllib for basejoin (undocumented) with urlparse.urljoin .
Test suites for urllib and urlparse run with each other's function to verify
correctness of replacement and both test suites pass.

Bumped urllib's __version__ attribute up a minor number.

21 years agofix markup nits
Fred Drake [Tue, 23 Mar 2004 20:30:59 +0000 (20:30 +0000)]
fix markup nits

21 years agoadd the distutils modules to the global modules list
Fred Drake [Tue, 23 Mar 2004 19:26:54 +0000 (19:26 +0000)]
add the distutils modules to the global modules list

21 years agoAdd runctx to __all__.
Guido van Rossum [Tue, 23 Mar 2004 19:19:21 +0000 (19:19 +0000)]
Add runctx to __all__.

21 years agogive the document indexes
Fred Drake [Tue, 23 Mar 2004 19:02:38 +0000 (19:02 +0000)]
give the document indexes

21 years ago- use recommended Python style in examples (no spaces around "=" for
Fred Drake [Tue, 23 Mar 2004 18:54:12 +0000 (18:54 +0000)]
- use recommended Python style in examples (no spaces around "=" for
  keyword args)
- format multi-line calls to distutils.core.setup() consistently, and
  in line with general practice (one keyword arg per line,
  comma/newline after the last
- fix a few typos

21 years agoAdded command line options for profile.py - one for stats output file
Nicholas Bastin [Tue, 23 Mar 2004 18:44:39 +0000 (18:44 +0000)]
Added command line options for profile.py - one for stats output file
and one for sort order when using stdout.  Uses optparse.

21 years agomerge Anthony Baxter's distutils API reference into the package
Fred Drake [Tue, 23 Mar 2004 18:43:03 +0000 (18:43 +0000)]
merge Anthony Baxter's distutils API reference into the package
author's documentation

21 years agoIntern __name__.
Martin v. Löwis [Tue, 23 Mar 2004 18:40:15 +0000 (18:40 +0000)]
Intern __name__.

21 years agoDecref all if ensure_fromlist fails. Fixes #876533.
Martin v. Löwis [Tue, 23 Mar 2004 16:28:13 +0000 (16:28 +0000)]
Decref all if ensure_fromlist fails. Fixes #876533.
Backported to 2.3.

21 years agoBasic dependency checking. setup() has two new optional arguments
Anthony Baxter [Mon, 22 Mar 2004 22:22:05 +0000 (22:22 +0000)]
Basic dependency checking. setup() has two new optional arguments
requires and provides. requires is a sequence of strings, of the
form 'packagename-version'. The dependency checking so far merely
does an '__import__(packagename)' and checks for packagename.__version__
You can also leave off the version, and any version of the package
will be installed.
There's a special case for the package 'python' - sys.version_info
is used, so
requires= ( 'python-2.3', )
just works.

Provides is of the same format as requires - but if it's not supplied,
a provides is generated by adding the version to each entry in packages,
or modules if packages isn't there.
Provides is currently only used in the PKG-INFO file. Shortly, PyPI
will grow the ability to accept these lines, and register will be
updated to send them.

There's a new command 'checkdep' command that runs these checks.
For this version, only greater-than-or-equal checking is done. We'll
add the ability to specify an optional operator later.

21 years agoPatch #911176: Move test function into __main__
Martin v. Löwis [Mon, 22 Mar 2004 21:49:47 +0000 (21:49 +0000)]
Patch #911176: Move test function into __main__

21 years agoconvert from a howto to a manual
Fred Drake [Mon, 22 Mar 2004 21:44:43 +0000 (21:44 +0000)]
convert from a howto to a manual

21 years agoLost reference.
Armin Rigo [Mon, 22 Mar 2004 20:16:58 +0000 (20:16 +0000)]
Lost reference.

21 years agoAdded global runctx function to profile to fix SF Bug #716587
Nicholas Bastin [Mon, 22 Mar 2004 20:12:56 +0000 (20:12 +0000)]
Added global runctx function to profile to fix SF Bug #716587

21 years agoThe fix in ceval.c 2.386 allows iteration-by-iteration line tracing even in
Armin Rigo [Mon, 22 Mar 2004 19:30:39 +0000 (19:30 +0000)]
The fix in ceval.c 2.386 allows iteration-by-iteration line tracing even in
single-line loops.

21 years agoFix SF bug #765624.
Armin Rigo [Mon, 22 Mar 2004 19:24:58 +0000 (19:24 +0000)]
Fix SF bug #765624.

21 years agoFix (really) for tight loop line events
Nicholas Bastin [Mon, 22 Mar 2004 19:23:46 +0000 (19:23 +0000)]
Fix (really) for tight loop line events

21 years agoTest for tight loop line event fix, SF bug #765624
Nicholas Bastin [Mon, 22 Mar 2004 19:21:47 +0000 (19:21 +0000)]
Test for tight loop line event fix, SF bug #765624

21 years agoTest for lack of implicit return line event
Nicholas Bastin [Mon, 22 Mar 2004 18:30:42 +0000 (18:30 +0000)]
Test for lack of implicit return line event

21 years agoFix for line events in the case:
Armin Rigo [Mon, 22 Mar 2004 17:52:53 +0000 (17:52 +0000)]
Fix for line events in the case:
  def f(a):
    if a:
      print 5
    else:
      pass

21 years agoPatch #871657: Set EDOM for `nan' return values on FreeBSD and OpenBSD.
Hye-Shik Chang [Mon, 22 Mar 2004 08:43:55 +0000 (08:43 +0000)]
Patch #871657: Set EDOM for `nan' return values on FreeBSD and OpenBSD.
This fixes a problem that math.sqrt(-1) doesn't raise math.error.

21 years agoNew parser. Next up, making the current parser use this parser
Anthony Baxter [Mon, 22 Mar 2004 00:33:28 +0000 (00:33 +0000)]
New parser. Next up, making the current parser use this parser

21 years agoAdded configure check for broken poll() on some unix systems (MacOS X 10.3)
Nicholas Bastin [Sun, 21 Mar 2004 23:45:42 +0000 (23:45 +0000)]
Added configure check for broken poll() on some unix systems (MacOS X 10.3)
Fixes SF Bug #850981