Andrew M. Kuchling
e30c4d4ddc
Add recent items
2004-08-07 13:58:02 +00:00
Andrew M. Kuchling
38dc2a6bf7
Simplify language
2004-08-07 13:24:12 +00:00
Andrew M. Kuchling
ac6428756a
Add string concat item
2004-08-07 13:13:31 +00:00
Andrew M. Kuchling
ba59be04fa
Bump version
2004-08-06 18:55:48 +00:00
Fred Drake
3f5c654deb
fix markup nit, typo
2004-08-06 03:34:20 +00:00
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
Andrew M. Kuchling
d783694dea
Remove old reminder
2004-06-02 15:33:59 +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
Andrew M. Kuchling
fd0e494c98
Minor edits
2004-02-09 13:23:34 +00:00
Raymond Hettinger
756b3f3c15
* Move collections.deque() in from the sandbox
...
* Add unittests, newsitem, and whatsnew
* Apply to Queue.py mutex.py threading.py pydoc.py and shlex.py
* Docs are forthcoming
2004-01-29 06:37:52 +00:00
Andrew M. Kuchling
5303a96808
Add CJK codecs
2004-01-18 15:55:51 +00:00
Raymond Hettinger
0c4102760c
SF Patch #864863 : Bisect C implementation
...
(Contributed by Dmitry Vasiliev.)
2004-01-05 10:13:35 +00:00
Raymond Hettinger
23a0f4ed21
Small correction to example
2004-01-05 08:15:20 +00:00
Raymond Hettinger
97ef8de92d
* Add various updates reflecting the last two weeks of checkins:
...
timeit, base64, MSVC++ 7.1 build, METH_COEXISTS, and optimizations.
* Put in a comment suggesting an improvement to the rsplit() example.
2004-01-05 00:29:57 +00:00
Fred Drake
b914ef0a33
list the Python Software Foundation on all the documents
2004-01-02 06:57:50 +00:00
Andrew M. Kuchling
44a31e1dab
Use 'input' as variable name, even though it shadows a built-in
...
Remove applications of rsplit() and random numbers
Typo fixes; minor tweaks
2004-01-01 18:33:34 +00:00
Raymond Hettinger
ed54d91ef5
Various fixups:
...
* Add comment on the future of the sets module.
* Change a variable from "input" to "data" to avoid shadowing a builtin.
* Added possible applications for str.rsplit() and itertools.tee().
* Repaired the example for sorted().
* Cleaned-up the example for operator.itemgetter().
2003-12-31 01:59:18 +00:00
Fred Drake
7c67cb8fba
markup fix
2003-12-30 17:17:17 +00:00
Andrew M. Kuchling
273069deec
Fix silly typo
2003-12-23 16:46:41 +00:00
Andrew M. Kuchling
35f2b05dca
Add various items
2003-12-18 13:28:13 +00:00
Raymond Hettinger
64958a15d7
Guido grants a Christmas wish:
...
sorted() becomes a regular function instead of a classmethod.
2003-12-17 20:43:33 +00:00
Andrew M. Kuchling
4612bc587b
Make example more readable
2003-12-16 20:59:37 +00:00
Raymond Hettinger
feb78c94fa
Expand the groupby() example to:
...
* show that it is typically used with sorted data,
* highlight commonalities with SQL's groupby and Unix's uniq,
* demonstrate valid uses for the default identity function,
* add some excitement by suggesting the range of possibilities.
2003-12-12 13:13:47 +00:00
Andrew M. Kuchling
ad809556ba
Add groupby()
2003-12-06 23:19:23 +00:00
Andrew M. Kuchling
2ce1d47e1e
Fix typo and mark-up; shorten text
2003-11-26 18:05:26 +00:00
Andrew M. Kuchling
670875644b
Fix typos
2003-11-26 18:03:48 +00:00
Raymond Hettinger
d4462300db
Nits from a review of the documentation update.
2003-11-26 17:52:45 +00:00
Raymond Hettinger
7e0282f1b1
Note the addition of set() and frozenset().
2003-11-24 07:14:54 +00:00
Andrew M. Kuchling
dff9dbdb38
Add two items
2003-11-20 22:22:19 +00:00
Andrew M. Kuchling
981a918575
Various edits
2003-11-13 21:33:26 +00:00
Raymond Hettinger
7d1dd04334
Fix typo
2003-11-12 16:42:10 +00:00
Raymond Hettinger
bc3cba2881
Explain the advantages of reversed.
2003-11-12 16:39:30 +00:00
Raymond Hettinger
607c00f792
Present each feature in terms of what makes it useful or desirable.
2003-11-12 16:27:50 +00:00
Andrew M. Kuchling
f7a6b67e5c
Add 'see also' section pointing to the PEP
2003-11-08 16:05:37 +00:00
Andrew M. Kuchling
1a420251cf
Add some recent changes
2003-11-08 15:58:49 +00:00
Andrew M. Kuchling
50a25709f2
Record an item I missed and bump the version number. [2.3 bugfix candidate.]
2003-10-23 18:08:03 +00:00
Andrew M. Kuchling
6aedcfcd1e
Add some more items
2003-10-21 12:48:23 +00:00
Andrew M. Kuchling
2fb4d51976
Document list.sort() changes
2003-10-21 12:31:16 +00:00
Walter Dörwald
f0dfc7ac5c
Fix a bunch of typos in documentation, docstrings and comments.
...
(From SF patch #810751 )
2003-10-20 14:01:56 +00:00
Gregory P. Smith
e94040a1ed
minor correction. python 2.3 was released with the bsddb module 4.1.6 not 4.1.1
2003-09-21 23:41:02 +00:00
Martin v. Löwis
c6bb6c0f8c
Patch #707167 : Pass dircache exceptions to the caller. Fixes #682813 .
...
Not backported because of behaviour change.
2003-09-20 15:52:21 +00:00
Andrew M. Kuchling
77ad829261
[Bug #780231 ] One of the changes described in the 2.3 "What's New" document
...
actually occurred in 2.2. Move the description to whatsnew22.tex.
[Bugfix candidate -- I'll backport to 2.3 (another 2.2 bugfix seems unlikely)
2003-08-29 17:49:26 +00:00
Andrew M. Kuchling
69f31eb80c
[Patch #739124 ] Add use_default_colors() to curses module
2003-08-13 23:11:04 +00:00
Fred Drake
ed0fa3da9f
boilerplate to start off "What's New in Python 2.4"
2003-07-30 19:14:09 +00:00
Andrew M. Kuchling
68a3294fc4
[Bug #779469 ] Fix error in example code
2003-07-30 11:55:06 +00:00
Andrew M. Kuchling
b34ba3f174
Bump version number; record 2.3 release date
2003-07-29 12:06:32 +00:00
Fred Drake
700c890631
Avoid a few 301 permanent redirects.
...
Part of SF patch #773007 .
2003-07-22 00:52:42 +00:00
Andrew M. Kuchling
0ceb9b1603
Change \code to \verb, because TeX merges the two dashes into a
...
hyphen, resulting in the output '-list-classifiers', not the correct
'--list-classifiers'. I've verified that the line is now correct
in the DVI, PDF, HTML, and ASCII versions.
2003-07-21 12:49:46 +00:00
Andrew M. Kuchling
95be8bdab7
Add introductory paragraphs
...
Remove comment about MacOS changes; I'm not going to have time to figure
out what they are
Move PEP 273 section into numeric order
2003-07-18 02:12:16 +00:00
Andrew M. Kuchling
6e73f9e5db
Add a few more items
2003-07-18 01:15:51 +00:00
Andrew M. Kuchling
8744f12a2f
Complete the rewrite pass; add a few more items; bump version number to 0.90; remove comment about draft status
2003-07-17 23:56:58 +00:00
Andrew M. Kuchling
aa9b39f910
Mention list.index; more small textual changes
2003-07-16 20:37:26 +00:00
Andrew M. Kuchling
c760c6c442
Add reminder list of things to document; mention sys.getcheckinterval() and socket.timeout exception
2003-07-16 20:12:33 +00:00
Andrew M. Kuchling
2cd773160d
Minor text changes; update bug/patch count (quite a jump!)
2003-07-16 14:44:12 +00:00
Fred Drake
15b3dba85e
Adjust description of the internationalized domain name encoding to
...
better accomodate the GNU info conversion.
2003-07-16 04:00:14 +00:00
Fred Drake
3605ae5966
In the description of enumerate(), the indexing operators should not
...
be included in the \var. This produced weird results in general, but
broke the GNU info conversion.
2003-07-16 03:26:31 +00:00
Raymond Hettinger
a685f52256
Fix missing parenthesis
2003-07-12 04:42:30 +00:00
Raymond Hettinger
8ccf4d751d
Missing markup.
2003-07-10 15:48:33 +00:00
Fred Drake
2884d6de15
Fix a variety of small markup nits.
2003-07-02 12:27:43 +00:00
Andrew M. Kuchling
28137a09d6
Don't mention __slots__ as a technique for error avoidance
2003-05-20 18:12:21 +00:00
Andrew M. Kuchling
8d17709c5c
Remove more markup from headers
2003-05-13 14:26:54 +00:00
Andrew M. Kuchling
433307b75d
[Bug #729297 ] Remove markup in section headers
2003-05-13 14:23:54 +00:00
Andrew M. Kuchling
fcf6b3ecde
Add list.insert() change for negative positions
...
Add ~ to MvL's last name
Fix use of all-caps for a name
Bump version number
2003-05-07 17:00:35 +00:00
Fred Drake
b876bcc561
work around mostly-minor formatting problems; the encodings.idna
...
example still doesn't come out quite right: a bug in the formatting
tools
2003-04-30 15:03:46 +00:00
Andrew M. Kuchling
035272be91
Add some more items
2003-04-24 16:38:20 +00:00
Andrew M. Kuchling
13b4c41748
Mention deprecation of rotor module
2003-04-24 13:23:43 +00:00
Andrew M. Kuchling
e36b690087
Mention the bz2 module
...
Various rewrites
2003-04-19 15:38:47 +00:00
Martin v. Löwis
faf71ea5b3
Fix spelling of cedillas.
2003-04-18 21:48:56 +00:00
Martin v. Löwis
281b2c6211
Patch #536883 : SimpleXMLRPCServer auto-docing subclass.
2003-04-18 21:04:39 +00:00
Martin v. Löwis
2548c730c1
Implement IDNA (Internationalized Domain Names in Applications).
2003-04-18 10:39:54 +00:00
Andrew M. Kuchling
b43f15e1ce
Add a name
2003-04-14 18:47:28 +00:00
Andrew M. Kuchling
d39078ba2d
Mention timeit module
...
Fix error in description of logging package's 'propagate'
Mention default arg to dict.pop()
Link to more module docs
(I wonder if I should adopt some convention such as linking the first
mention of all new modules to the LibRef?)
Various text changes
Bump version number and Python version
2003-04-13 21:44:28 +00:00
Andrew M. Kuchling
ba887bb04e
Use simpler import
2003-04-13 21:13:02 +00:00
Andrew M. Kuchling
a6b1c75b7a
Re-indent example; fix typo
2003-04-09 17:26:38 +00:00
Andrew M. Kuchling
a092ba1adc
Add PEP 307 section
2003-03-21 18:32:43 +00:00
Andrew M. Kuchling
a978e10676
Add PEP305 section
2003-03-21 18:10:12 +00:00
Andrew M. Kuchling
c71bb97e2f
Update datetime section a bit
2003-03-21 17:23:07 +00:00
Michael W. Hudson
43ed43bfc1
Take out my (long since disabled) POSIX signal mask handling code.
...
I'm not going to have the time or energy to get this working x-platform
-- anyone who does is welcome to the code!
2003-03-13 13:56:53 +00:00
Raymond Hettinger
5284b4474e
Add contributor name.
2003-03-09 07:19:38 +00:00
Skip Montanaro
959c7727f4
Add a little more verbiage about the bsddb module/package change. It's
...
clear from recent discussions on c.l.py that people are a bit confused about
the differences between the old bsddb, the new bssdb, the bsddb3/PyBSDDB
package and changes to file formats. Tried to clarify the issues.
2003-03-07 15:45:15 +00:00
Andrew M. Kuchling
563389fdee
Add updates for alpha2
2003-03-02 02:31:58 +00:00
Andrew M. Kuchling
41c3e00851
Expand itertools paragraph
2003-03-02 02:13:52 +00:00
Andrew M. Kuchling
c61402ba26
Update PyPI link
2003-02-26 19:00:52 +00:00
Fred Drake
cade71387e
Added a note about the new itertools module. (Omission noted by
...
Gerrit Holl in email to python-docs.)
2003-02-19 16:08:08 +00:00
Andrew M. Kuchling
3749507296
logging.warn() renamed to warning()
2003-02-19 13:46:18 +00:00
Andrew M. Kuchling
d87eeb9477
Add two acks; bump version number
2003-02-18 00:56:56 +00:00
Andrew M. Kuchling
7ee9b51ba5
[Bug #688261 ] Fix optparse example and output
2003-02-18 00:48:23 +00:00
Andrew M. Kuchling
acddabc6ec
[Bug #683416 ] Make PEP263 coverage a bit more explicit, and add it to the
...
porting section
2003-02-18 00:43:24 +00:00
Neal Norwitz
ada859c111
Remove duplicate word (rules)
2003-02-11 14:30:39 +00:00
Michael W. Hudson
3e245d800d
Add item pertaining to
...
[ 680429 ] __module__ broken for extension classes
2003-02-11 14:19:56 +00:00
Michael W. Hudson
065f5facea
Sundry very picky changes.
2003-02-10 19:24:50 +00:00
Andrew M. Kuchling
72df65ac0e
Add Neil's suggestions for avoiding this warning
2003-02-10 15:08:16 +00:00
Andrew M. Kuchling
b8a3905112
Update URL
2003-02-07 20:22:33 +00:00
Fred Drake
693aea2eb4
- make some links into the reference documentation relative for
...
off-line readers
- fix some minor typos and markup errors
2003-02-07 14:52:18 +00:00
Andrew M. Kuchling
80fd7851ac
Mention FutureWarning for large ints
2003-02-06 15:14:04 +00:00
Andrew M. Kuchling
b9ba4e6d75
[Bug #679251 ] Use correct constant name
2003-02-03 15:16:15 +00:00
Andrew M. Kuchling
a31bb379f8
Update register example
2003-01-27 16:36:34 +00:00
Fred Drake
aac8c58f0b
Various markup changes.
2003-01-17 22:50:10 +00:00
Raymond Hettinger
ee1bded046
Correct typos in example code.
2003-01-17 16:20:23 +00:00
Andrew M. Kuchling
a974b3939f
Move the date/time section into the modules section; it was in the
...
C API section by mistake
2003-01-13 19:09:03 +00:00
Andrew M. Kuchling
c1dd174682
Link to MRO article
...
Mention deprecation of string exceptions
2003-01-13 13:59:22 +00:00
Neal Norwitz
55d555f012
command doesn't work, but program does, not sure it's correct, though
2003-01-08 05:27:42 +00:00