Fred Drake
e72bd4d621
fix markup error
2004-08-02 21:50:26 +00:00
Andrew M. Kuchling
77a602fbf2
Add PEP318
2004-08-02 13:48:18 +00:00
Andrew M. Kuchling
d91fcbe265
Add import change; add empty section for function decorators
2004-08-02 12:44:28 +00:00
Andrew M. Kuchling
1455f795e2
Update item
2004-08-02 12:09:58 +00:00
Andrew M. Kuchling
671c506737
Add new encodings
2004-07-28 15:29:39 +00:00
Andrew M. Kuchling
ce4bae6170
Add an item
2004-07-27 12:13:25 +00:00
Andrew M. Kuchling
5785a1391e
Add some items
2004-07-26 19:28:46 +00:00
Andrew M. Kuchling
e3e1ecacd5
[Bug #997166 ] Fix example
2004-07-26 18:52:48 +00:00
Andrew M. Kuchling
0ad20f18fe
Update Decimal section to match the current module
2004-07-21 13:00:06 +00:00
Andrew M. Kuchling
65a333219f
Add PEP 331; add constancy of None; minor edits
2004-07-21 12:41:38 +00:00
Hye-Shik Chang
2b05248e8b
SF #990497 : Fix a trivial typo in sorted() example.
...
(Submitted by Daniel Pezely)
2004-07-17 13:53:48 +00:00
Andrew M. Kuchling
0045717090
Add thread-local feature
2004-07-15 11:52:40 +00:00
Andrew M. Kuchling
23406894ea
Correct a paragraph: basicConfig() isn't actually new
2004-07-15 11:44:42 +00:00
Andrew M. Kuchling
89ba1fff17
Bump version; update date
2004-07-14 21:56:19 +00:00
Raymond Hettinger
ca1a775ab9
Fix markup.
2004-07-12 13:00:45 +00:00
Anthony Baxter
1869df1154
another note for amk
2004-07-12 08:15:37 +00:00
Anthony Baxter
5da4c83a6b
reminder for amk
2004-07-09 16:16:46 +00:00
Andrew M. Kuchling
bcefe698b0
Add logging changes
2004-07-07 13:01:53 +00:00
Andrew M. Kuchling
71432f1db6
Various edits
2004-07-05 01:40:07 +00:00
Andrew M. Kuchling
3bf85f1ae8
Various edits
2004-07-05 01:37:07 +00:00
Andrew M. Kuchling
3b7909160e
Bump version #; write introductory para
2004-07-04 16:39:40 +00:00
Andrew M. Kuchling
d0b6d9d892
More additions
2004-07-04 15:35:00 +00:00
Andrew M. Kuchling
d4be86cb09
Write another section
2004-07-04 01:44:04 +00:00
Andrew M. Kuchling
c8f8a814e2
Rewrite two sections
2004-07-04 01:26:42 +00:00
Raymond Hettinger
0fff62f9cd
Move Decimal from the sandbox into production.
2004-07-01 11:52:15 +00:00
Raymond Hettinger
33ecffb65a
SF patch #969791 : Add nlargest() and nsmallest() to heapq.
2004-06-10 05:03:17 +00:00
Hye-Shik Chang
2d6783b4bc
SF #966375 : Fix typo (Reported by Kristian Ovaska)
2004-06-04 09:33:18 +00:00
Guido van Rossum
6dfed6c41f
Fix typo.
2004-06-03 13:56:05 +00:00
Michael W. Hudson
3151e18505
Small clarification.
2004-06-03 13:36:42 +00:00
Fred Drake
d6d35d954b
- fix typo reported by John Belmonte
...
- wrap a long line
2004-06-03 13:31:22 +00:00
Martin v. Löwis
77ca6c4c84
Warn abou missing mutate flag to ioctl. Fixes #696535 .
2004-06-03 12:47:26 +00:00
Martin v. Löwis
2a6ba9097e
Patch #963318 : Add support for client-side cookie management.
2004-05-31 18:22:40 +00:00
Raymond Hettinger
874ebd5c3d
Add weakref support to sockets and re pattern objects.
2004-05-31 03:15:02 +00:00
Raymond Hettinger
956e4f792f
Clarify when iter() is first called in generator expressions.
2004-05-20 22:59:26 +00:00
Raymond Hettinger
6e1fd2f208
Improved wording for generator expressions.
2004-05-19 22:30:25 +00:00
Raymond Hettinger
170a62221c
Add more docs for generator expressions.
...
* Put in a brief, example driven tutorial entry.
* Use better examples in whatsnew24.tex.
2004-05-19 19:45:19 +00:00
Raymond Hettinger
354433a59d
SF patch #872326 : Generator expression implementation
...
(Code contributed by Jiwon Seo.)
The documentation portion of the patch is being re-worked and will be
checked-in soon. Likewise, PEP 289 will be updated to reflect Guido's
rationale for the design decisions on binding behavior (as described in
in his patch comments and in discussions on python-dev).
The test file, test_genexps.py, is written in doctest format and is
meant to exercise all aspects of the the patch. Further additions are
welcome from everyone. Please stress test this new feature as much as
possible before the alpha release.
2004-05-19 08:20:33 +00:00
Fred Drake
9f15b5c11c
add some notes about the changes to ConfigParser
2004-05-18 04:30:00 +00:00
Fred Drake
56fcc233d3
markup adjustments
2004-05-06 02:55:35 +00:00
Martin v. Löwis
456ab1d271
Swap public and system ID in start_doctype_decl. Fixes #780300 .
2004-05-06 01:54:36 +00:00
Fred Drake
9de0a2ba9d
fix two typos that turned text into markup
2004-03-20 08:13:32 +00:00
Raymond Hettinger
ade08ea8a8
Add news entries for the dictionary optimizations.
2004-03-18 09:48:12 +00:00
Raymond Hettinger
b7d05db0be
Optimize tuple_slice() and make further improvements to list_slice()
...
and list.extend(). Factoring the inner loops to remove the constant
structure references and fixed offsets gives speedups ranging from
20% to 30%.
2004-03-08 07:25:05 +00:00
Raymond Hettinger
dd80f76265
SF patch #910929 : Optimize list comprehensions
...
Add a new opcode, LIST_APPEND, and apply it to the code generation for
list comprehensions. Reduces the per-loop overhead by about a third.
2004-03-07 07:31:06 +00:00
Raymond Hettinger
31017aed36
SF #904720 : dict.update should take a 2-tuple sequence like dict.__init_
...
(Championed by Bob Ippolito.)
The update() method for mappings now accepts all the same argument forms
as the dict() constructor. This includes item lists and/or keyword
arguments.
2004-03-04 08:25:44 +00:00
Raymond Hettinger
79b5cf1129
Mention the optimization of list.extend().
2004-02-17 10:46:32 +00:00
Raymond Hettinger
ab517d2eac
Fine tune the speed/space trade-off for overallocating small lists.
...
The Py2.3 approach overallocated small lists by up to 8 elements.
The last checkin would limited this to one but slowed down (by 20 to 30%)
the creation of small lists between 3 to 8 elements.
This tune-up balances the two, limiting overallocation to 3 elements
(significantly reducing space consumption from Py2.3) and running faster
than the previous checkin.
The first part of the growth pattern (0, 4, 8, 16) neatly meshes with
allocators that trigger data movement only when crossing a power of two
boundary. Also, then even numbers mesh well with common data alignments.
2004-02-14 18:34:46 +00:00
Raymond Hettinger
238b267bf6
Lists are measured in elements not bytes.
2004-02-13 21:50:27 +00:00
Raymond Hettinger
7a6d297bda
* Note list optimizations
...
* Move an example out of a comment.
2004-02-13 19:00:07 +00:00
Fred Drake
ce3caf2e7a
minor markup improvements
2004-02-12 18:13:12 +00:00