Commit graph

808 commits

Author SHA1 Message Date
Tim Peters
547397c45b SF bug http://sourceforge.net/bugs/?func=detailbug&bug_id=130242&group_id=5470
SF patch http://sourceforge.net/patch/?func=detailpatch&patch_id=103453&group_id=5470
PyMember_Set of T_CHAR always raises exception.
Unfortunately, this is a use of a C API function that Python itself never makes, so
there's no .py test I can check in to verify this stays fixed.  But the fault in the
code is obvious, and Dave Cole's patch just as obviously fixes it.
2001-01-27 06:20:08 +00:00
Tim Peters
40ead76ed6 Added news about repr(string). 2001-01-27 05:35:26 +00:00
Tim Peters
85e2e4742d SF bug 130030: Claim of bad betavariate algorithm. 2001-01-26 06:49:56 +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
Barry Warsaw
bbd89b66b1 PyObject_Dump() -> _PyObject_Dump()
PyGC_Dump() -> _PyGC_Dump()
2001-01-24 04:18:13 +00:00
Barry Warsaw
39e44d7a9c A few useful definitions if you're using gdb. Copy to ~/.gdbinit to
pull it in automatically.
2001-01-23 16:25:19 +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
Guido van Rossum
c201bf46b9 Get rid of weird @SET_CXX@ macro occurrence. 2001-01-23 01:53:41 +00:00
Guido van Rossum
89a27ec01c A few more contributors. 2001-01-23 00:06:20 +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
Andrew M. Kuchling
f5c9e86333 Add Jason Tishler to the ACKS file 2001-01-19 16:29:28 +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
Tim Peters
691e0e95de Variant of SF patch 103252: Startup optimize: read *.pyc as string, not with getc(). 2001-01-18 04:39:16 +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
Tim Peters
b9e202b2dc Added Jeffery Collins. 2001-01-14 05:04:40 +00:00
Andrew M. Kuchling
f6f3a89fbd Mention new curses.panel module 2001-01-13 14:53:34 +00:00
Martin v. Löwis
10a2787313 Document extensions to .pth files. 2001-01-13 09:54:41 +00:00
Guido van Rossum
1cc8f83666 News about from...import. 2001-01-12 16:25:08 +00:00
Guido van Rossum
ae72d87822 Typo. 2001-01-11 15:00:14 +00:00
Guido van Rossum
f61f166bca Added a whole slew of news items. Not striving for completeness --
I've skipped all bugfixes, Unicode, distutils changes.  But this
should be a start!
2001-01-10 20:13:55 +00:00
Tim Peters
742bb6f9fd Clarification of new bisect module functions. 2001-01-05 08:05:32 +00:00
Martin v. Löwis
be4c0f56a2 Recognize pyc files even if they don't end in pyc.
Patch #103067 with modifications as discussed in email.
2001-01-04 20:30:56 +00:00
Guido van Rossum
c4e1775081 Two new names. 2001-01-03 23:51:26 +00:00
Tim Peters
36cdad12dd Fred, THIS NEEDS DOCS! The function docstrings tell the tale.
Christmas present to myself:  the bisect module didn't define what
happened if the new element was already in the list.  It so happens
that it inserted the new element "to the right" of all equal elements.
Since it wasn't defined, among other bad implications it was a mystery
how to use bisect to determine whether an element was already in the
list (I've seen code that *assumed* "to the right" without justification).
Added new methods bisect_left and insort_left that insert "to the left"
instead; made the old names bisect and insort aliases for the new names
bisect_right and insort_right; beefed up docstrings to explain what
these actually do; and added a std test for the bisect module.
2000-12-29 02:06:45 +00:00
Barry Warsaw
e0c182fb5f (python-font-lock-keywords): Add highlighting of `as' as a keyword,
but only in "import foo as bar" statements (including optional
preceding `from' clause).
2000-12-27 17:41:47 +00:00
Guido van Rossum
1378c32dd8 Document the -W option as best as I can.
Get rid of BeOpen references.
2000-12-19 03:21:54 +00:00
Andrew M. Kuchling
a1099be778 Fix typo 2000-12-15 01:16:43 +00:00
Guido van Rossum
3661d39474 Describe {}.popitem(). 2000-12-12 22:10:31 +00:00
Tim Peters
d92dfe0ef5 SF bug 110843: Low FD_SETSIZE limit on Win32 (PR#41). Boosted to 512. 2000-12-12 01:18:41 +00:00
Guido van Rossum
37da22b3f4 The C+ compiler is called $(CXX) these days, not CCC.
This fixes SF Bug #124478.
2000-12-06 23:46:29 +00:00
Tim Peters
9940b800a4 Made the description of %[udxXo] formats of negative longs in 2.1 more accurate.
I suggested to Guido that %u be deprecated (it seems useless in Python to me).
2000-12-01 07:59:35 +00:00
Tim Peters
a3a3a030af Fox for SF bug #123859: %[duxXo] long formats inconsistent. 2000-11-30 05:22:44 +00:00
Barry Warsaw
3c34bb33ff (py-goto-beginning-of-tqs): When searching backwards for the matching
delimiter, watch out for backslash escaped delimiters.  Also use =
instead of eq for character comparison (because a character is = to
it's integer value, but not eq to it).
2000-10-27 05:00:25 +00:00
Fred Drake
cf3bc8c5a5 Rename Setup.in to Setup.dist, and assume that configure will create
Setup (instead of creating it from the Makefile).
2000-10-26 17:07:40 +00:00
Tim Peters
adfb94fd79 Typo repair. 2000-10-16 20:51:33 +00:00
Jeremy Hylton
d867a2cc21 revise xml comment 2000-10-16 20:41:38 +00:00
Fred Drake
1a640506ec Updated the XML package comment. 2000-10-16 20:27:25 +00:00
Tim Peters
989b7b91a1 Filled in math-module info; fixed a typo or two. 2000-10-16 20:24:53 +00:00
Jeremy Hylton
d6e2023107 Add NEWS for 2.0 final (there are a few XXX comments that must be
addressed).

Fix a few nits in 2.0c1 news.
2000-10-16 20:08:38 +00:00
Jeremy Hylton
21000caee7 distutils setup files for Tkinter 2000-10-16 15:36:25 +00:00
Jeremy Hylton
355e2f2bc8 misc. RPM support files 2000-10-16 15:34:52 +00:00
Jeremy Hylton
6040aaa9a2 add note explaining what a release candidate is 2000-10-09 21:27:22 +00:00
Tim Peters
46446d6242 Repaired IDLE Unicode bug description.
Added tokenize.py bugfix info.
2000-10-09 21:19:31 +00:00