Barry Warsaw
d79f683772
Describe new "str1 in str2" behavior.
2002-08-06 17:01:51 +00:00
Guido van Rossum
b57089cdf8
Files are now their own iterator. The xreadlines method and module
...
are obsolete.
2002-08-06 16:20:26 +00:00
Guido van Rossum
2805428d92
SF patch 590294: os._execvpe security fix (Zack Weinberg).
2002-08-05 16:14:46 +00:00
Fred Drake
40813b1dbc
Typo: "now" --> "the new"
2002-08-05 15:24:19 +00:00
Martin v. Löwis
98ce7b7ef1
IDLE support for PEP 263.
2002-08-05 15:11:26 +00:00
Guido van Rossum
de392d3f3f
Add a small description of PEP 263.
2002-08-05 14:17:20 +00:00
Martin v. Löwis
00f1e3f5a5
Patch #534304 : Implement phase 1 of PEP 263.
2002-08-04 17:29:52 +00:00
Andrew MacIntyre
161ad0e16b
OS/2 EMX now supported
2002-08-04 07:25:58 +00:00
Guido van Rossum
4a57c33dff
Adding the heap queue algorithm, per discussion in python-dev last
...
week.
2002-08-02 18:05:20 +00:00
Guido van Rossum
37c3b2788b
Add Kevin O'Connor, author of the heapq code.
2002-08-02 16:50:58 +00:00
Guido van Rossum
0dbab4c560
SF patch 588728 (Nathan Srebro).
...
The __delete__ method wrapper for descriptors was not supported
(I added a test, too.)
2.2 bugfix candidate.
2002-08-01 14:39:25 +00:00
Tim Peters
f47630ff54
A blurb about the sort implementation.
2002-08-01 02:34:51 +00:00
Michael W. Hudson
202a4b6fdd
Repair fill-paragraph damage.
...
Clarify LLTRACE description. It was introduced in 1992, revision 2.20 of
ceval.c, well before Python 1.0!
2002-07-30 15:25:57 +00:00
Michael W. Hudson
a6255238b2
add description of LLTRACE.
2002-07-30 09:49:29 +00:00
Thomas Heller
085358a3e2
New functions for extension writers on Windows:
...
PyErr_SetExcFromWindowsErr(), PyErr_SetExcFromWindowsErrWithFilename().
Similar to PyErr_SetFromWindowsErrWithFilename() and
PyErr_SetFromWindowsErr(), but they allow to specify
the exception type to raise. Available on Windows.
See SF patch #576458 .
2002-07-29 14:27:41 +00:00
Martin v. Löwis
0cec0ffc78
Patch #573770 : Implement lchown.
2002-07-28 16:33:45 +00:00
Martin v. Löwis
611a7101ca
Patch #552812 : Better description in "python -h" for -u.
2002-07-28 10:34:08 +00:00
Guido van Rossum
2d5389c08f
News about StopIteration as a "sink state".
2002-07-23 03:44:35 +00:00
Guido van Rossum
79f0a106e6
Add news about strptime and socket.setdefaulttimeout().
2002-07-23 03:32:08 +00:00
Neal Norwitz
1389f3e059
Move DL_IMPORT/DL_EXPORT to Build section, I think this is the correct place
2002-07-22 13:21:10 +00:00
Mark Hammond
a5083ec3b3
Add note about DL_IMPORT deprecation.
...
[ 583894 ] doc DL_IMPORT/DL_EXPORT changes
2002-07-22 12:53:16 +00:00
Neal Norwitz
36eb4b2d7e
Pure Python strptime implementation by Brett Cannon. See SF patch 474274.
2002-07-19 18:38:25 +00:00
Barry Warsaw
f31ff27c57
(py-pychecker-run): Use the last pychecker invocation as the default
...
contents of the next command.
2002-07-17 21:25:43 +00:00
Barry Warsaw
1f4fed68e9
We need to (require 'compile) to guarantee that compile-internal is
...
defined. /Really/ closes SF # 580631.
2002-07-17 13:45:00 +00:00
Barry Warsaw
32a03967b7
(py-imenu-create-index-function): Skip over stuff that looks like code
...
but which is in a comment or string. Closes SF bug # 572341 reported
by Adrian van den Dries.
2002-07-16 16:04:13 +00:00
Barry Warsaw
daa192104d
(py-pychecker-run): Thomas Heller points out that this function messes
...
up the compile command's history. Fix that by using compile-internal.
Fixes SF bug # 580631
2002-07-16 15:56:28 +00:00
Mark Hammond
c0e35158fb
Add a blurb on the 3 Windows bugs I worked on over the last couple of days.
2002-07-16 01:32:30 +00:00
Tim Peters
a65523a151
Added Andrew MacIntyre -- overdue!
2002-07-15 16:13:06 +00:00
Tim Peters
58cf361e35
docompare(): Another reasonable optimization from Jonathan Hogg for the
...
explicit comparison function case: use PyObject_Call instead of
PyEval_CallObject. Same thing in context, but gives a 2.4% overall
speedup when sorting a list of ints via list.sort(__builtin__.cmp).
2002-07-15 05:16:13 +00:00
Marc-André Lemburg
58e2ff2e81
Mention new encoding.
2002-07-12 14:40:04 +00:00
Guido van Rossum
dd523eef95
Fernando Pérez of SF bug 579701 fame.
2002-07-12 13:13:28 +00:00
Guido van Rossum
0c08864fbb
Replace rare tabs with 4 spaces, assuming that's what was intended.
2002-07-11 01:04:32 +00:00
Guido van Rossum
715a0c67b8
Note the existence of SpecialBuilds.txt.
2002-07-11 01:01:49 +00:00
Tim Peters
8acdf7a935
Noted the releases in which COUNT_ALLOCS can blow up.
2002-07-11 00:38:05 +00:00
Tim Peters
62fc52e6a1
Recorded the introduction release for each gimmick, as best I was able to
...
reconstruct that info.
Filled out some sketchy explanations of pragmatics.
2002-07-11 00:23:58 +00:00
Tim Peters
20c8a04a08
Some clarifications.
2002-07-11 00:02:52 +00:00
Tim Peters
889f61dcfb
Documented PYMALLOC_DEBUG. This completes primary coverage of all the
...
"special builds" I ever use. If you use others, document them here, or
don't be surprised if I rip out the code for them <0.5 wink>.
2002-07-10 19:29:49 +00:00
Tim Peters
a788f5ef02
Clarified sys.getobjects() pragmatics.
2002-07-10 18:47:03 +00:00
Tim Peters
44c1a7bc51
Typo repair.
2002-07-09 19:27:20 +00:00
Tim Peters
48ba649ae3
Moved COUNT_ALLOCS down and finished writing its description.
2002-07-09 19:24:54 +00:00
Tim Peters
3486f617a1
Checkin comment.
2002-07-09 18:48:32 +00:00
Tim Peters
6045d48e5c
New file to try to document the "special build" preprocessor symbols.
...
Incomplete. Add to it! Once it settles down, it would make a nice
appendix in the real docs.
2002-07-09 18:35:34 +00:00
Tim Peters
7c321a80f9
The Py_REF_DEBUG/COUNT_ALLOCS/Py_TRACE_REFS macro minefield: added
...
more trivial lexical helper macros so that uses of these guys expand
to nothing at all when they're not enabled. This should help sub-
standard compilers that can't do a good job of optimizing away the
previous "(void)0" expressions.
Py_DECREF: There's only one definition of this now. Yay! That
was that last one in the family defined multiple times in an #ifdef
maze.
Py_FatalError(): Changed the char* signature to const char*.
_Py_NegativeRefcount(): New helper function for the Py_REF_DEBUG
expansion of Py_DECREF. Calling an external function cuts down on
the volume of generated code. The previous inline expansion of abort()
didn't work as intended on Windows (the program often kept going, and
the error msg scrolled off the screen unseen). _Py_NegativeRefcount
calls Py_FatalError instead, which captures our best knowledge of
how to abort effectively across platforms.
2002-07-09 02:57:01 +00:00
Tim Peters
c6a3ff634a
SF bug 578752: COUNT_ALLOCS vs heap types
...
Repair segfaults and infinite loops in COUNT_ALLOCS builds in the
presence of new-style (heap-allocated) classes/types.
Bugfix candidate. I'll backport this to 2.2. It's irrelevant in 2.1.
2002-07-08 22:11:52 +00:00
Tim Peters
943382c8e5
Removed WITH_CYCLE_GC #ifdef-ery. Holes:
...
+ I'm not sure what to do about configure.in. Left it alone.
+ Ditto pyexpat.c. Fred or Martin will know what to do.
2002-07-07 03:59:34 +00:00
Tim Peters
1de41bfbc0
Stop trying to cater to platforms with a broken HUGE_VAL definition. It
...
breaks other platforms (in this case, the hack for broken Cray systems in
turn caused failure on a Mac system broken in a different way).
2002-07-03 03:31:20 +00:00
Martin v. Löwis
7d650ca83b
Implement the encoding argument for toxml and toprettyxml.
...
Document toprettyxml.
2002-06-30 15:05:00 +00:00
Jeremy Hylton
3e76d7f3b3
Add Bob Kline of HTTP 100 fame.
2002-06-28 22:39:56 +00:00
Raymond Hettinger
5a04aec384
Fix SF bug 546434 -- buffer slice type inconsistent.
2002-06-25 00:25:30 +00:00
Raymond Hettinger
ab5dae35ca
Fix SF bug 572567: Memory leak in object comparison.
2002-06-24 13:08:16 +00:00