[Python-checkins] CVS: python/dist/src/Misc NEWS,1.220,1.221

Tim Peters tim_one@users.sourceforge.net
Sat, 01 Sep 2001 20:41:01 -0700


Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv11094/python/Misc

Modified Files:
	NEWS 
Log Message:
Start items w/ "-" instead of "+" (consistency w/ earlier versions).

Stephen Hansen reported via email that he didn't finish the port to
Borland C, so remove the old item saying it worked and add a new item
saying what I know; I've asked Stephen for more details.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.220
retrieving revision 1.221
diff -C2 -d -r1.220 -r1.221
*** NEWS	2001/08/31 18:31:35	1.220
--- NEWS	2001/09/02 03:40:59	1.221
***************
*** 4,8 ****
  Core
  
! + Overflowing operations on plain ints now return a long int rather
    than raising OverflowError.  This is a partial implementation of PEP
    237.  You can use -Wdefault::OverflowWarning to enable a warning for
--- 4,8 ----
  Core
  
! - Overflowing operations on plain ints now return a long int rather
    than raising OverflowError.  This is a partial implementation of PEP
    237.  You can use -Wdefault::OverflowWarning to enable a warning for
***************
*** 10,14 ****
    OverflowError exception.
  
! + A new command line option, -D<arg>, is added to control run-time
    warnings for the use of classic division.  (See PEP 238.)  Possible
    values are -Dold, -Dwarn, and -Dnew.  The default is -Dold, meaning
--- 10,14 ----
    OverflowError exception.
  
! - A new command line option, -D<arg>, is added to control run-time
    warnings for the use of classic division.  (See PEP 238.)  Possible
    values are -Dold, -Dwarn, and -Dnew.  The default is -Dold, meaning
***************
*** 21,25 ****
    division everywhere else.
  
! + Many built-in types can now be subclassed.  This applies to int,
    long, float, str, unicode, and tuple.  (The types complex, list and
    dictionary can also be subclassed; this was introduced earlier.)
--- 21,25 ----
    division everywhere else.
  
! - Many built-in types can now be subclassed.  This applies to int,
    long, float, str, unicode, and tuple.  (The types complex, list and
    dictionary can also be subclassed; this was introduced earlier.)
***************
*** 31,39 ****
    once it is created.
  
! + A new built-in type, super, has been added.  This facilitates making
    "cooperative super calls" in a multiple inheritance setting.  For an
    explanation, see http://www.python.org/2.2/descrintro.html#cooperation
  
! + A new built-in type, getset, has been added.  This enables the
    creation of "computed attributes".  Such attributes are implemented
    by getter and setter functions (or only one of these for read-only
--- 31,39 ----
    once it is created.
  
! - A new built-in type, super, has been added.  This facilitates making
    "cooperative super calls" in a multiple inheritance setting.  For an
    explanation, see http://www.python.org/2.2/descrintro.html#cooperation
  
! - A new built-in type, getset, has been added.  This enables the
    creation of "computed attributes".  Such attributes are implemented
    by getter and setter functions (or only one of these for read-only
***************
*** 41,45 ****
    __getattr__.  See http://www.python.org/2.2/descrintro.html#getset
  
! + The syntax of floating-point and imaginary literals has been
    liberalized, to allow leading zeroes.  Examples of literals now
    legal that were SyntaxErrors before:
--- 41,45 ----
    __getattr__.  See http://www.python.org/2.2/descrintro.html#getset
  
! - The syntax of floating-point and imaginary literals has been
    liberalized, to allow leading zeroes.  Examples of literals now
    legal that were SyntaxErrors before:
***************
*** 47,64 ****
        00.0    0e3   0100j   07.5   00000000000000000008.
  
! + An old tokenizer bug allowed floating point literals with an incomplete
    exponent, such as 1e and 3.1e-.  Such literals now raise SyntaxError.
  
  Library
  
! + A new function, imp.lock_held(), returns 1 when the import lock is
    currently held.  See the docs for the imp module.
  
! + pickle, cPickle and marshal on 32-bit platforms can now correctly read
    dumps containing ints written on platforms where Python ints are 8 bytes.
    When read on a box where Python ints are 4 bytes, such values are
    converted to Python longs.
  
! + In restricted execution mode (using the rexec module), unmarshalling
    code objects is no longer allowed.  This plugs a security hole.
  
--- 47,64 ----
        00.0    0e3   0100j   07.5   00000000000000000008.
  
! - An old tokenizer bug allowed floating point literals with an incomplete
    exponent, such as 1e and 3.1e-.  Such literals now raise SyntaxError.
  
  Library
  
! - A new function, imp.lock_held(), returns 1 when the import lock is
    currently held.  See the docs for the imp module.
  
! - pickle, cPickle and marshal on 32-bit platforms can now correctly read
    dumps containing ints written on platforms where Python ints are 8 bytes.
    When read on a box where Python ints are 4 bytes, such values are
    converted to Python longs.
  
! - In restricted execution mode (using the rexec module), unmarshalling
    code objects is no longer allowed.  This plugs a security hole.
  
***************
*** 69,73 ****
  API
  
! + The GC API has been changed.  Extensions that use the old API will still
    compile but will not participate in GC.  To upgrade an extension
    module:
--- 69,73 ----
  API
  
! - The GC API has been changed.  Extensions that use the old API will still
    compile but will not participate in GC.  To upgrade an extension
    module:
***************
*** 85,89 ****
      - remove calls to PyObject_AS_GC and PyObject_FROM_GC
  
! + Two new functions: PyString_FromFormat() and PyString_FromFormatV().
    These can be used safely to construct string objects from a
    sprintf-style format string (similar to the format string supported
--- 85,89 ----
      - remove calls to PyObject_AS_GC and PyObject_FROM_GC
  
! - Two new functions: PyString_FromFormat() and PyString_FromFormatV().
    These can be used safely to construct string objects from a
    sprintf-style format string (similar to the format string supported
***************
*** 92,100 ****
  New platforms
  
  Tests
  
  Windows
  
! + The w9xpopen hack is now used on Windows NT and 2000 too when COMPSPEC
    points to command.com (patch from Brian Quinlan).
  
--- 92,104 ----
  New platforms
  
+ - Patches from Stephen Hansen for the Borland C compiler (under Windows)
+   are reported to yield a clean compile, but a Python that doesn't yet
+   run correctly.  Volunteers?
+ 
  Tests
  
  Windows
  
! - The w9xpopen hack is now used on Windows NT and 2000 too when COMPSPEC
    points to command.com (patch from Brian Quinlan).
  
***************
*** 436,444 ****
    pprint.isreadable() return sensible results.  Also verifies that simple
    cases produce correct output.
- 
- New platforms
- 
- - Python should compile and run out of the box using the Borland C
-   compiler (under Windows), thanks to Stephen Hansen.
  
  C API
--- 440,443 ----