[Python-checkins] python/dist/src/Misc NEWS,1.669,1.670

goodger@users.sourceforge.net goodger@users.sourceforge.net
Wed, 19 Feb 2003 15:31:54 -0800


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

Modified Files:
	NEWS 
Log Message:
fixed markup

Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.669
retrieving revision 1.670
diff -C2 -d -r1.669 -r1.670
*** NEWS	19 Feb 2003 18:18:47 -0000	1.669
--- NEWS	19 Feb 2003 23:31:51 -0000	1.670
***************
*** 33,37 ****
    constructor refuses arguments in this case.  This might break code
    that worked under Python 2.2.  The simplest fix is to add a no-op
!   __init__: "def __init__(self, *args, **kw): pass".
  
  - Through a bytecode optimizer bug (and I bet you didn't even know
--- 33,37 ----
    constructor refuses arguments in this case.  This might break code
    that worked under Python 2.2.  The simplest fix is to add a no-op
!   __init__: ``def __init__(self, *args, **kw): pass``.
  
  - Through a bytecode optimizer bug (and I bet you didn't even know
***************
*** 190,195 ****
    and time, and attach tz to it, without any conversion of date and time
    members.  This was less than useful.  Now now(tz) returns the current
!   date and time as local time in tz's time zone, akin to
        tz.fromutc(datetime.utcnow().replace(tzinfo=utc))
    where "utc" is an instance of a tzinfo subclass modeling UTC.  Without
    a tz argument, now() continues to return the current local date and time,
--- 190,197 ----
    and time, and attach tz to it, without any conversion of date and time
    members.  This was less than useful.  Now now(tz) returns the current
!   date and time as local time in tz's time zone, akin to ::
! 
        tz.fromutc(datetime.utcnow().replace(tzinfo=utc))
+ 
    where "utc" is an instance of a tzinfo subclass modeling UTC.  Without
    a tz argument, now() continues to return the current local date and time,
***************
*** 212,219 ****
    the comparison is == then False is returned, and if the comparison is
    != then True is returned.  Because dict lookup and the "in" operator
!   only invoke __eq__, this allows, for example,
  
        if some_datetime in some_sequence:
!   and
        some_dict[some_timedelta] = whatever
  
--- 214,223 ----
    the comparison is == then False is returned, and if the comparison is
    != then True is returned.  Because dict lookup and the "in" operator
!   only invoke __eq__, this allows, for example, ::
  
        if some_datetime in some_sequence:
! 
!   and ::
! 
        some_dict[some_timedelta] = whatever
  
***************
*** 266,270 ****
    Python 2.2. or 2.3.
  
! - realpath is now exported when doing from poxixpath import *.
    It is also exported for ntpath, macpath, and os2emxpath.
    See SF bug #659228.
--- 270,274 ----
    Python 2.2. or 2.3.
  
! - realpath is now exported when doing ``from poxixpath import *``.
    It is also exported for ntpath, macpath, and os2emxpath.
    See SF bug #659228.
***************
*** 307,311 ****
    test_linuxaudiodev.py) are no longer run by default.  This is
    because they don't always work, depending on your hardware and
!   software.  To run these tests, you must use an invocation like
      ./python Lib/test/regrtest.py -u audio test_ossaudiodev
  
--- 311,316 ----
    test_linuxaudiodev.py) are no longer run by default.  This is
    because they don't always work, depending on your hardware and
!   software.  To run these tests, you must use an invocation like ::
! 
      ./python Lib/test/regrtest.py -u audio test_ossaudiodev
  
***************
*** 331,336 ****
  -----
  
! - PyEval_GetFrame() is now declared to return a PyFrameObject *
!   instead of a plain PyObject *.  (SF patch #686601.)
  
  - PyNumber_Check() now checks that the object has a nb_int or nb_float
--- 336,341 ----
  -----
  
! - PyEval_GetFrame() is now declared to return a ``PyFrameObject *``
!   instead of a plain ``PyObject *``.  (SF patch #686601.)
  
  - PyNumber_Check() now checks that the object has a nb_int or nb_float