Commit Graph

647 Commits

Author SHA1 Message Date
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
Guido van Rossum 56fe7f8649 WAVE test + bugfix contributor. 2000-10-09 20:07:00 +00:00
Guido van Rossum 5c2c6046eb And another. 2000-10-09 19:52:41 +00:00
Jeremy Hylton 32e20ff838 typo 2000-10-09 19:48:11 +00:00
Guido van Rossum fded5ed251 One more name. 2000-10-09 19:29:35 +00:00
Jeremy Hylton 109212037b added better description of BeOS changes from Donn Cave 2000-10-09 18:34:12 +00:00
Jeremy Hylton ed9e644793 Summary of changes between 2.0b2 and 2.0c1 2000-10-09 18:26:42 +00:00
Jeremy Hylton 30e78773eb new name 2000-10-09 18:26:16 +00:00
Fred Drake 3105f920bf Added Daniel Dittmar, for helping get the configuration working for
Reliant UNIX.
2000-10-02 14:52:31 +00:00
Jeremy Hylton 625915eb4f typo 2000-10-02 13:43:33 +00:00
Fred Drake 9f11cf8811 Capitalized an "if" that should have been -- noted by Grant Griffin
<grant.griffin@honeywell.com>.
2000-09-29 17:54:40 +00:00
Fred Drake 45888ffbd4 Added a missing "is" -- noted by Grant Griffin
<grant.griffin@honeywell.com>.
2000-09-29 17:09:11 +00:00
Jeremy Hylton 97693b0479 Fix GC news 2000-09-26 17:42:51 +00:00
Fred Drake 67233bc405 Fixed typo, description of changes to dbm module. 2000-09-26 16:40:27 +00:00
Jeremy Hylton fa2e2c1469 The rest of the news for 2.0b2 2000-09-26 16:31:30 +00:00
Fred Drake 64bb380c09 Elaborated the notes on the XML support.
In the limits.h comment, noted that INT_MAX and LONG_MAX are guaranteed
to be defined.

Noted that Reliant UNIX now gets proper API support for extension modules.
2000-09-26 16:21:35 +00:00
Guido van Rossum f62ed9c775 Fixed some typos, added some punctuation (e.g. consistently terminate
sentences with a period and put () after function/method names), and
filled in the blanks on mailbox and posixfile.  Noted <limits.h> change.
2000-09-26 11:16:10 +00:00
Tim Peters 482c021b6a New info and fixed some typos. 2000-09-26 06:33:09 +00:00
Jeremy Hylton 1b6185941e partial list of changes between 2.0b1 and 2.0b2 2000-09-26 05:32:36 +00:00
Guido van Rossum ee76f0b293 Credit where credit is due. Also fixed an unalphabetic sequence. 2000-09-25 14:46:26 +00:00
Marc-André Lemburg 5cd2f0d4a2 Updated according to the changes made to the "s#" parser marker
and bumped the version number to 1.7.
2000-09-21 21:21:59 +00:00
Tim Peters 077a11dd00 arraymodule: Fix SF bug 113960.
reverse() didn't work at all due to bad arg check.
    Fixed that.
    Added Brad Chapman to ACKS file, as the proud new owner of two
        implicitly copyrighted lines of Python source code <wink>.
    Repaired buffer_info's total lack of arg-checking.
    Replaced memmove by memcpy in reverse() guts, as memmove is
        often slower and the memory areas are guaranteed disjoint.
    Replaced poke-and-hope unchecked decl of tmp buffer size by
        assert-checked larger tmp buffer.
    Got rid of inconsistent spaces before open paren in docstrings.
    Added reverse() sanity tests to test_array.py.
2000-09-16 22:31:29 +00:00
Barry Warsaw 645693783c Describe the -h and -V flags. Closes patch #101496 2000-09-15 18:39:09 +00:00
Guido van Rossum 56db095018 Another typo (in the list comprehension example). 2000-09-06 23:34:25 +00:00
Guido van Rossum 4338a284b8 Fix three typos. 2000-09-06 13:02:08 +00:00
Tim Peters 8b09233f93 Added Windows news. Also repeated 1.6 Windows news since most people getting
2.0b1 for Windows will not have bothered getting 1.6.  Also changed
"Changed, New, Obsolete Tools" to say "None" since nobody had put an entry
there.
2000-09-05 20:15:25 +00:00
Jeremy Hylton 24c3d6080d All the NEWS that I could finish in 15 minutes (and then some)
Removed some attributions from the shorter entries in Changed Modules,
because that section is so long.
2000-09-05 19:36:26 +00:00
Jeremy Hylton bdebd54571 current progress on 2.0 NEWS 2000-09-05 18:28:54 +00:00
Guido van Rossum b1156badb4 The malloc rearrangement was actually already in 1.6. 2000-09-05 15:43:23 +00:00
Guido van Rossum 830ca2af5a Added readline news. (Skip) 2000-09-05 15:34:16 +00:00
Guido van Rossum e905e95721 Barry Warsaw: Fixed -+ operator. Added some new sections. Leave some
XXX notes for now.

I could use help here!!!!  Please mail me patches ASAP.  We may have
to put some of this off to 2.0final, but it's best to have it in shape
now...
2000-09-05 12:42:46 +00:00
Guido van Rossum f2ffce0518 Added the 2.0b1 news. 2000-09-05 04:38:34 +00:00
Guido van Rossum f2eac99a4f Added release dates (in some cases detemined by looking at the mtime
of distribution files in ftp://ftp.python.org/pub/python/src/).
2000-09-04 17:24:24 +00:00
Guido van Rossum a598c93b11 1.6 is history. 2000-09-04 16:26:03 +00:00
Guido van Rossum 410a84441d Tim Peters: "Audun S. Runde mailto:audun@mindspring.com wins a
Fabulous Prize for being our first Windows ME tester!  Also our only,
and I think he should get another prize just for that."
2000-09-04 12:11:50 +00:00
Guido van Rossum ff07f8c7ea Patch by Martin von Löwis to give him his umlaut, to remove Christian
Tismer's clone, and to list Hajime Saitou's real name.

Added a note that the file uses Latin-1 (as distributed).
2000-09-02 15:01:50 +00:00
Guido van Rossum 46981de633 Updated to include all files here. 2000-09-01 23:22:12 +00:00
Guido van Rossum 752435773b Delete too. 2000-09-01 23:21:04 +00:00
Guido van Rossum 73eec6360b Deleted. Long obsolete. 2000-09-01 23:18:22 +00:00
Guido van Rossum 0fdd3dcc45 Deleted. We no longer require disclaimers on contributions. 2000-09-01 23:16:41 +00:00
Guido van Rossum 2d721e2506 Deleted; this is ancient info. 2000-09-01 23:15:38 +00:00
Guido van Rossum c13b39c798 Deleted. This is obsoleted by Tools/scripts/fixnotice.py. 2000-09-01 23:12:13 +00:00
Guido van Rossum 8ed602b6e2 Remove the 1.5.2 news. 2.0 news is still to be done. 2000-09-01 22:34:33 +00:00
Guido van Rossum 2001da4e0c Moved NEWS from 1.5.2 here. 2000-09-01 22:26:44 +00:00
Guido van Rossum 44f6e6859b Deleted. This information is now in ../LICENSE. 2000-09-01 22:17:32 +00:00
Guido van Rossum f4a090d579 Clean up a bit. Drop -X option, update date, remove documentation
URLs, add various useful URLs.  Update address and email.  Drop PSA
and copyright.  Add license info.
2000-09-01 20:36:34 +00:00
Jeremy Hylton c18b7d9b2b script that reports a fairly safe recursionlimit for a specific platform 2000-08-31 19:24:17 +00:00
Barry Warsaw 2ef0753a17 Added James Henstridge 2000-08-30 03:30:28 +00:00
Marc-André Lemburg bff879cabb This patch finalizes the move from UTF-8 to a default encoding in
the Python Unicode implementation.

The internal buffer used for implementing the buffer protocol
is renamed to defenc to make this change visible. It now holds the
default encoded version of the Unicode object and is calculated
on demand (NULL otherwise).

Since the default encoding defaults to ASCII, this will mean that
Unicode objects which hold non-ASCII characters will no longer
work on C APIs using the "s" or "t" parser markers. C APIs must now
explicitly provide Unicode support via the "u", "U" or "es"/"es#"
parser markers in order to work with non-ASCII Unicode strings.

(Note: this patch will also have to be applied to the 1.6 branch
 of the CVS tree.)
2000-08-03 18:46:08 +00:00
Peter Schneider-Kamp 397be50a88 moving files to nondist/sf-html 2000-07-14 08:54:58 +00:00
Vladimir Marangozov a1dbd1b21b Gosh - clean up that messy HTML; make it valid XHTML instead. 2000-07-14 06:22:54 +00:00
Peter Schneider-Kamp 374724ed74 added information how to edit pages at http://python.sourceforge.net 2000-07-14 01:43:31 +00:00
Peter Schneider-Kamp 737bcc3466 small FAQ about Python CVS and patches at SourceForge 2000-07-14 01:28:47 +00:00
Guido van Rossum fd71b9e9d4 Change copyright notice. 2000-06-30 23:50:40 +00:00
Guido van Rossum 8f8e2428f7 s/REGENTS/COPYRIGHT HOLDERS/ followed by paragraph reflow. 2000-06-30 20:22:36 +00:00
Fred Drake 1d758b0108 The new copyright / license. 2000-06-30 18:41:01 +00:00
Barry Warsaw 6de7213e7a Setup.thread => Setup.config 2000-06-30 16:04:18 +00:00
Greg Ward 6fc9f8ed18 Typo fix. 2000-06-29 12:45:50 +00:00
Guido van Rossum e8d2d6b34c Some new names (some contributors of patches that haven't even been
accepted yet!)
2000-06-29 00:04:51 +00:00
Barry Warsaw 99eadf4de9 (py-execute-region): Make sure the new temporary buffer is current for
the insertion of the text.
2000-06-23 20:24:25 +00:00
Marc-André Lemburg bfa36f5407 Marc-Andre Lemburg <mal@lemburg.com>:
Updated to version 1.5. Includes typo fixes by Andrew Kuchling
and a new section on the default encoding.
2000-06-08 17:51:33 +00:00
Barry Warsaw caee2fe35d (py-execute-region): Based on suggestions by Francois Pinard and Skip
Montanaro, handle execution of indented regions by inserting an "if
1:" in front of the block.  This better preserves things like triple
quoted strings and commented regions.  This patch resolves PR#264.
2000-05-23 05:47:43 +00:00