Guido van Rossum
3e360db159
Add TODO item about x in y -- this should use iterators too, IMO.
2001-05-04 13:40:18 +00:00
Tim Peters
3e067578f6
Added reminders to make some remaining functions iterator-friendly. Feel
...
free to do one!
2001-05-04 04:43:42 +00:00
Tim Peters
15d81efb8a
Generalize reduce() to work with iterators.
...
NEEDS DOC CHANGES.
2001-05-04 04:39:21 +00:00
Tim Peters
4e9afdca39
Generalize map() to work with iterators.
...
NEEDS DOC CHANGES.
Possibly contentious: The first time s.next() yields StopIteration (for
a given map argument s) is the last time map() *tries* s.next(). That
is, if other sequence args are longer, s will never again contribute
anything but None values to the result, even if trying s.next() again
could yield another result. This is the same behavior map() used to have
wrt IndexError, so it's the only way to be wholly backward-compatible.
I'm not a fan of letting StopIteration mean "try again later" anyway.
2001-05-03 23:54:49 +00:00
Tim Peters
c307453162
Generalize max(seq) and min(seq) to work with iterators.
...
NEEDS DOC CHANGES.
2001-05-03 07:00:32 +00:00
Tim Peters
0e57abf0cd
Generalize filter(f, seq) to work with iterators. This also generalizes
...
filter() to no longer insist that len(seq) be defined.
NEEDS DOC CHANGES.
2001-05-02 07:39:38 +00:00
Guido van Rossum
1031582388
Add more news about iterators.
2001-05-01 20:54:30 +00:00
Tim Peters
f553f89d45
Generalize list(seq) to work with iterators. This also generalizes list()
...
to no longer insist that len(seq) be defined.
NEEDS DOC CHANGES.
This is meant to be a model for how other functions of this ilk (max,
filter, etc) can be generalized similarly. Feel encouraged to grab your
favorite and convert it!
Note some cute consequences:
list(file) == file.readlines() == list(file.xreadlines())
list(dict) == dict.keys()
list(dict.iteritems()) = dict.items()
list(xrange(i, j, k)) == range(i, j, k)
2001-05-01 20:45:31 +00:00
Tim Peters
d29abb9915
SF bug 418296: WinMain.c should use WIN32_LEAN_AND_MEAN.
...
I believe Kevin Rodgers here! The old WINDOWS_LEAN_AND_MEAN has, AFAICT,
always been wrong.
2001-04-24 05:16:29 +00:00
Tim Peters
7f00deb032
SF bug #417508 : 'hypot' not found with Borland C++Build.
2001-04-21 03:20:47 +00:00
Guido van Rossum
ffe13be84d
Noted what's new in 2.1 (final).
...
Hopefully this is the last checkin for 2.1!
2001-04-16 18:46:45 +00:00
Guido van Rossum
5b08f13a0c
Added news for 2.1c2.
...
Greatly updated news for 2.1c1 (!).
2001-04-16 02:05:23 +00:00
Guido van Rossum
0aa30b0072
SF bug reporters.
2001-04-15 20:48:27 +00:00
Guido van Rossum
3024bb6e25
Another ACK.
2001-04-14 16:17:31 +00:00
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
Barry Warsaw
c8c1a5b7b6
(py-pdbtrack-track-stack-file): On Ken's suggestion, add "pdbtrack:"
...
prefix to the message lines.
2001-04-11 22:27:41 +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
Barry Warsaw
4f577d2f47
intermediate
2001-04-11 20:23:17 +00:00
Guido van Rossum
5f9f9292fb
Some new names.
2001-04-10 22:22:52 +00:00
Guido van Rossum
13aa70679e
Completely revamped BeOS notes, by Donn Cave (SF patch 411834).
2001-04-10 21:51:29 +00:00
Guido van Rossum
4611df0ece
This is for BeOS users who want to build all the modules. It's
...
modified from setup.py version "1.37" to support BeOS build.
Contributed by Donn Cave (SF patch 411830).
2001-04-10 21:50:09 +00:00
Moshe Zadka
a36f4a0cd6
Fixing Itamar's name, as per his request.
2001-04-09 15:23:46 +00:00
Tim Peters
3664111fb1
Get rid of useless string import, as reported by Neal Norwitz's PyChecker.py
...
on c.l.py.
2001-04-08 00:38:42 +00:00
Andrew M. Kuchling
88717f4825
Mention pydoc in the man page
2001-04-05 14:50:40 +00:00
Andrew M. Kuchling
68ad64af87
Remove the backed-out version requirement
2001-03-31 02:42:42 +00:00
Guido van Rossum
0d01787c13
Add Robin Thomas (author of the slice() comparability hack).
2001-03-27 17:04:37 +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
Guido van Rossum
d76f0f7a04
Added Gordon McMillan. He should've been in there ages ago. Thanks
...
Moshe for noticing!
2001-03-22 13:43:25 +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
b87df3d0ab
Itamar S.T.
2001-03-02 13:37:42 +00:00
Guido van Rossum
9089b2769e
ROSCOS change.
2001-03-02 06:49:50 +00:00
Guido van Rossum
fb872a7c75
Dietmar Schwertberger; shuffled a bunch of Sch* names in alphabetical
...
order.
2001-03-02 06:48:06 +00:00
Tim Peters
03bd26dd24
Added William Tanksley.
2001-03-02 02:54:27 +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
Guido van Rossum
4a2261aee5
Add Samuele Pedroni
2001-03-01 20:36:48 +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
Barry Warsaw
68d486c8f4
(py-parse-state): Teach python-mode how to scan code which follows
...
multi-line list comprehensions.
2001-02-24 00:09:17 +00:00
Andrew M. Kuchling
debc352e9c
Mention the removal of soundex.c
2001-02-22 15:53:21 +00:00
Andrew M. Kuchling
c5032194be
Add Donovan Baarda for fixing a tortuous zlibmodule bug (but aren't they all?)
2001-02-21 02:19:44 +00:00
Barry Warsaw
715346060a
(py-execute-region): This one's easy... kill the temporary file's
...
buffer after executing its contents.
2001-02-20 23:07:56 +00:00