Commit Graph

144 Commits

Author SHA1 Message Date
Guido van Rossum 4fb60361dc Note additions to pydoc and pstats. 2001-04-13 00:46:14 +00:00
Guido van Rossum c993272786 Note that __debug__ assignments are legal again. 2001-04-12 02:31:27 +00:00
Guido van Rossum 34d37dc5d2 Noted the improved RISCOS port and the new Unixware 7 port. 2001-04-11 21:03:32 +00:00
Barry Warsaw 11e89c72c1 Added news about the updated python-mode.el 2001-04-11 20:37:57 +00:00
Andrew M. Kuchling 68ad64af87 Remove the backed-out version requirement 2001-03-31 02:42:42 +00:00
Jeremy Hylton f626db77df News items for my recent checkins 2001-03-23 14:18:27 +00:00
Fred Drake 4e262a9631 A small change to the C API for weakly-referencable types: Such types
must now initialize the extra field used by the weak-ref machinery to
NULL themselves, to avoid having to require PyObject_INIT() to check
if the type supports weak references and do it there.  This causes less
work to be done for all objects (the type object does not need to be
consulted to check for the Py_TPFLAGS_HAVE_WEAKREFS bit).
2001-03-22 18:26:47 +00:00
Andrew M. Kuchling 8e9972c215 Added news items for the Distutils 2001-03-22 15:42:08 +00:00
Guido van Rossum 053ae3502c Add some news for 2.1b2. I'd still like someone else to add news
about these packages:

- distutils

- xml
2001-03-22 14:17:21 +00:00
Martin v. Löwis 0411f6f135 Add section on 2.1b2.
Report the addition of the Tix module.
2001-03-21 08:01:39 +00:00
Guido van Rossum e3955a8ce2 Add some more info about pydoc. (Can you see I'm excited?) 2001-03-02 14:05:59 +00:00
Guido van Rossum 9d0fbdeaf7 Add big news item about nested scopes, __future__, and compile-time
warnings.
2001-03-02 14:00:32 +00:00
Guido van Rossum 9089b2769e ROSCOS change. 2001-03-02 06:49:50 +00:00
Tim Peters 2fe289a21b Thank Jason Tishler and Steven Majewski for their help in the Cygwin and
MacOS X ports.  Change section header to beta 1.
2001-03-01 22:19:38 +00:00
Tim Peters 1eff79674b Added blurbs about difflib, doctest and Windows import (PEP 235). 2001-03-01 02:31:33 +00:00
Andrew M. Kuchling d6a1d79d16 Mention pydoc 2001-02-28 21:05:42 +00:00
Neil Schemenauer a35c688055 Add Vladimir Marangozov's object allocator. It is disabled by default. This
closes SF patch #401229.
2001-02-27 04:45:05 +00:00
Martin v. Löwis 2a5130ed20 Document XML changes. 2001-02-27 04:21:58 +00:00
Andrew M. Kuchling debc352e9c Mention the removal of soundex.c 2001-02-22 15:53:21 +00:00
Tim Peters 25a9ce371c Take a tour of hell's seedier neighborhoods to try to make winsound.Beep()
do something non-useless on Win9X boxes.  WinME unknown to me.  Someone with
NT/2000 make sure it still works there!
2001-02-19 07:06:36 +00:00
Tim Peters 3389f1999a Fixed misspelling. 2001-02-18 08:48:49 +00:00
Tim Peters 1449585529 Bug #132921: None treated differently in cmp() / sort() in 2.1a2.
Just mentioning that in the NEWS file.
2001-02-18 08:28:33 +00:00
Martin v. Löwis e214baa209 Fix binfmt_register documentation to always register the right magic. 2001-02-04 22:37:56 +00:00
Tim Peters d66595fe42 Renamed _testXXX to _testcapiXXX. Jack is my hero -- good call! 2001-02-04 03:09:53 +00:00
Guido van Rossum ba38123b75 Clarify the news item about "from M import X" if "M is not a real
module" after a complaint from Tim.
2001-02-03 15:06:40 +00:00
Tim Peters b16c56f0ba Teach Windows build and installer about new _symtable module/DLL. 2001-02-02 21:24:51 +00:00
Jeremy Hylton d6b1cf9a55 Fix spelling errors.
Add note about _symtable.
Add note that 'from ... import *' restriction may go away -- and move
the whole entry closer to the top, because it might bite people.
2001-02-02 20:06:28 +00:00
Tim Peters 9ea17ac595 Patch derived from Trent's 101162: a Python/C API testing framework.
STILL NEEDS UNIX BUILD CHANGES.
2001-02-02 05:57:15 +00:00
Jeremy Hylton 4c4fda0f57 add info about Grant Edwards' raw packet support 2001-02-02 03:29:24 +00:00
Jeremy Hylton 0072d5aa33 continue now allowed in try block 2001-02-01 22:53:15 +00:00
Jeremy Hylton 4589bd82da Add item about nested scopes.
Revise item about restriction on 'from ... import *'.  It was in the
wrong section and the section restriction was removed.
2001-02-01 20:38:45 +00:00
Fred Drake fb9d712721 Added comments about the weak reference support. 2001-02-01 20:00:40 +00:00
Tim Peters 0de88fc4b1 Change random.seed() so that it can get at the full range of possible
internal states.  Put the old .seed() (which could only get at about
the square root of the # of possibilities) under the new name .whseed(),
for bit-level compatibility with older versions.  This occurred to me
while reviewing effbot's book (he found himself stumbling over .seed()
more than once there ...).
2001-02-01 04:59:18 +00:00
Barry Warsaw 30dbd1429a Document the two changes to the mailbox.py module:
- All constructors grow an optional argument `factory' which is a
  callable used when new message instances are created by the next()
  methods.  Defaults to the rfc822.Message class.

- A new subclass of UnixMailbox is added, called PortableUnixMailbox.
  It's identical to UnixMailbox, but uses a more portable test for
  From_ delimiter lines.  With PortableUnixMailbox, any line that
  starts with "From " is considered a delimiter (this should really
  check for two newlines before the F, but it doesn't.
2001-01-31 22:14:01 +00:00
Tim Peters ee826f88c9 Docs for new Windows zlib build procedure. 2001-01-31 19:39:44 +00:00
Jeremy Hylton 69c327988a add note about two kinds of illegal imports that are now checked 2001-01-30 01:27:28 +00:00
Moshe Zadka 6af0ce0501 Added news of function comparison and hashing by identity 2001-01-29 06:41:00 +00:00
Tim Peters 40ead76ed6 Added news about repr(string). 2001-01-27 05:35:26 +00:00
Tim Peters d52269bfd0 Fix bugs introduced by rewrite (in particular, time-based initialization
got broken).  Also added new method .jumpahead(N).  This finally gives us
a semi-decent answer to how Python's RNGs can be used safely and efficiently
in multithreaded programs (although it requires the user to use the new
machinery!).
2001-01-25 06:23:18 +00:00
Tim Peters d7b5e88e8e Reworked random.py so that it no longer depends on, and offers all the
functionality of, whrandom.py.  Also closes all the "XXX" todos in
random.py.  New frequently-requested functions/methods getstate() and
setstate().  All exported functions are now bound methods of a hidden
instance.  Killed all unintended exports.  Updated the docs.
FRED:  The more I fiddle the docs, the less I understand the exact
intended use of the \var, \code, \method tags.  Please review critically.
GUIDO:  See email.  I updated NEWS as if whrandom were deprecated; I
think it should be.
2001-01-25 03:36:26 +00:00
Guido van Rossum 1e33bdcb76 Added notes about setup.py and cygwin build; removed note about
the previous auto-configuring modules feature (already obsolete :-).
2001-01-23 03:17:00 +00:00
Marc-André Lemburg ebb195b270 Updating NEWS to match the current state of affairs. 2001-01-20 10:34:52 +00:00
Thomas Wouters fe385251f4 Make the 'time' argument to the timemodule functions strftime, asctime,
ctime, gmtime and localtime optional, defaulting to 'the current time' in
all cases. Adjust docs, add news item. Also convert all argument-handling to
METH_VARARGS. Closes SF patch #103265.
2001-01-19 23:16:56 +00:00
Guido van Rossum a88479f0e3 - Add note about complex numbers.
- Changed description of rich comparisons to emphasize that < and >
  (etc.) are each other's reflection.  Also use this word in the note
  about the demise of __rcmp__.
2001-01-18 14:28:08 +00:00
Marc-André Lemburg ad7c98e264 This patch adds a new builtin unistr() which behaves like str()
except that it always returns Unicode objects.

A new C API PyObject_Unicode() is also provided.

This closes patch #101664.

Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
2001-01-17 17:09:53 +00:00
Guido van Rossum f98eda01ab News item for rich comparisons.
(I'm going to check in some more uses of rich comparisons, but the
basic feature should be in place now.)
2001-01-17 15:54:45 +00:00
Barry Warsaw 573b54125d Add a NEWS item about function attributes. 2001-01-15 20:43:18 +00:00
Guido van Rossum 051e335d42 Add note about new and improved xrange(). 2001-01-15 19:11:10 +00:00
Guido van Rossum da91f227ec Add note about ftplib defaulting to passive mode. 2001-01-15 16:36:08 +00:00
Tim Peters f29b64d243 Use the "MS" getline hack (fgets()) by default on non-get_unlocked
platforms.  See NEWS for details.
2001-01-15 06:33:19 +00:00