Guido van Rossum
b7a88e533d
Add yet another alias for ASCII found in the field. Will backport to
...
2.2.2.
2002-09-25 16:44:34 +00:00
Fred Drake
04d9a80fef
Add regression test for a bug found in the version of the markupbase
...
module used in the Zope TAL implementation. The bug was already fixed
in the Python standard library, but the regression test would be good
to keep around.
2002-09-25 16:29:17 +00:00
Guido van Rossum
6b3db551be
Disable building of the fpectl module -- it's dangerous or useless
...
except in the hands of experts. Will backport to 2.2.2.
2002-09-25 15:02:44 +00:00
Guido van Rossum
fa82181436
Disable building of the fpectl module -- it's dangerous or useless
...
except in the hands of experts. Will backport to 2.2.2.
2002-09-25 14:59:57 +00:00
Fred Drake
111ee3208f
Ok, read the source this time: PyErr_SetObject() does not steal a reference.
2002-09-25 02:34:27 +00:00
Fred Drake
5ec22f2d7b
Another try at clarifying what goes into and comes out of Unicode objects.
...
Document the indices() method of slice objects.
2002-09-24 21:09:13 +00:00
Fred Drake
3e930ba55f
Another try at clarifying what goes into and comes out of Unicode objects.
2002-09-24 21:08:37 +00:00
Thomas Heller
d8ce87ad84
On Windows, select() does not accept empty lists.
...
Patch suggested by Guido, fixes SF item 611464.
Bugfix candidate, will backport to release22-maint myself.
2002-09-24 17:30:31 +00:00
Thomas Heller
7bdabe67a3
I did fix too much - including winsock.h is sufficient.
2002-09-24 17:03:26 +00:00
Thomas Heller
106f4c7ba7
On Windows, call WSAGetLastError() to retrieve the error number.
...
Bugfix candidate, will backport to release22-maint myself.
2002-09-24 16:51:00 +00:00
Fred Drake
2f93644c1d
Clarify documentation for PyErr_SetObject() to describe the reference
...
count behavior.
2002-09-24 16:45:16 +00:00
Fred Drake
117ac85c4e
Be more careful with the type of the xmlhandlersetter; it takes an
...
XML_Parser, which happens to be a pointer type, not an XML_Parser*.
This generated warnings when compiled with Expat 1.95.5, which no
longer defines XML_Parser to be void*.
2002-09-24 16:24:54 +00:00
Fred Drake
36c2bd8e34
Remove spurious period.
2002-09-24 15:32:04 +00:00
Fred Drake
7b788e0582
Clarify that len() of a Unicode string returns the number of storage units,
...
not abstract characters.
2002-09-24 13:57:21 +00:00
Marc-André Lemburg
24e53b6d91
Add cast to avoid compiler warning.
2002-09-24 09:32:14 +00:00
Barry Warsaw
4d895fa125
Brett's fixes for various bugs and coding issues. Closes SF patch #
...
593560, with some minor cleanups, line folding and whitespace
normalization by Barry.
2002-09-23 22:46:49 +00:00
Greg Ward
02669a35bc
Tweak description of PortableUnixMailbox: "From " lines are actually
...
quoted (or mangled) *at* delivery-time, not "well before" it. (At least
that's how Exim and qmail work.)
2002-09-23 19:32:42 +00:00
Guido van Rossum
2848fe9e58
Attila Babo (turtle.py).
2002-09-23 17:05:02 +00:00
Guido van Rossum
fd2ede2aa8
Add the bulk of SF patch 595111 by Attila Babo.
...
This adds new methods heading(), setheading(), position(),
window_width(), window_height(), setx(), and sety(), to make this more
functionality-compatible with Logo turtle graphics (Attila's last
words, not mine :-). I had to fix the sety() code which was broken in
Attila's patch.
I'm not adopting the functionality change that Attila claimed was a
bugfix (no output without tracing), because I disagree that it's a
bug.
2002-09-23 16:55:05 +00:00
Guido van Rossum
4299231e68
Warn about binutils 2.13 on Solaris.
2002-09-23 14:02:18 +00:00
Kurt B. Kaiser
b976419946
Fix bug I created during merge from Python-idle.
...
Also, decided IDENTCHARS is better as global, after all.
2002-09-23 04:10:37 +00:00
Tony Lownds
e49dd4c64b
Blank line missing.
2002-09-23 01:11:57 +00:00
Tony Lownds
8b1b8d62a2
Work around Mac OS X transient window issues
2002-09-23 01:04:05 +00:00
Tony Lownds
e555fc76a7
Work around Mac OS X platform encoding issues.
2002-09-23 01:01:20 +00:00
Tony Lownds
f18efa5643
Added new standard keybinding set for Macs.
2002-09-23 00:57:10 +00:00
Martin v. Löwis
73b9b6679e
Update Canvas before computing width. Draw turtle at end of drawing circle.
...
Fixes #612595 . Will backport to 2.2.
2002-09-22 13:00:26 +00:00
Martin v. Löwis
a6026c6a0f
Back out multifile.py 1.19 and 1.20. Fixes #514676 .
2002-09-22 09:01:08 +00:00
Skip Montanaro
4a38583456
reference the new NEWS.help file
2002-09-20 17:08:52 +00:00
Skip Montanaro
5c27e66b4b
brief help file for people editing Misc/NEWS
2002-09-20 17:08:37 +00:00
Skip Montanaro
e5d7f7f3af
ReST-ification of the NEWS file. While the total number of changes are
...
fairly large, most are caused by reformatting section and subsection
headings. The changes fall into the following categories:
* reformatted section and subsection headers.
* escaped isolated asterisks which would be interpreted as starting bold
or italic text (e.g. "void (*)(PyObject \*)").
* quoted stuff that looks like internal references but isn't
(e.g. ``PyCmp_``).
* changed visually balanced quotes to just use apostrophes
(e.g. "'string'" instead of "`string'").
* introduced and indenting multiline chunks of code.
* created one table (search for "New codecs").
2002-09-20 14:16:59 +00:00
Jeremy Hylton
f0cfdf7314
Fiddle comments and variable names in whichmodule().
2002-09-19 23:00:12 +00:00
Jeremy Hylton
065a5ab8fb
whichmodule() should skip dummy package entries in sys.modules.
...
This fixes the charming, but unhelpful error message for
>>> pickle.dumps(type.__new__)
Can't pickle <built-in method __new__ of type object at 0x812a440>: it's not the same object as datetime.math.__new__
Bugfix candidate.
2002-09-19 22:57:26 +00:00
Kurt B. Kaiser
16849a7e53
SF Bug #611225 .
...
Bring idle.pyw into alignment with idle.py, eliminate calling deleted
module IdleConf.py
2002-09-19 19:54:55 +00:00
Marc-André Lemburg
7ccd30fa43
Fix a problem in site.py which triggers in case sys.path is empty.
...
Bugfix candidate for 2.2.2.
2002-09-19 11:11:27 +00:00
Martin v. Löwis
01824bf50c
Patch #484994 : Improve PanedWindow.
2002-09-19 08:12:55 +00:00
Martin v. Löwis
8eb92a014b
Patch #608999 : Fix portability problems with MIPSPro 7.x
2002-09-19 08:03:21 +00:00
Guido van Rossum
c34c4fc3ab
Suppress hex/oct constant warnings in <string> on 64-bit platforms,
...
because there test_grammar.py pulls them out of strings there.
2002-09-19 00:42:16 +00:00
Neal Norwitz
2c96ab2b61
Two more cases of switch(PySequence_Size()) without checking for case -1.
...
(Same problem as last checkin for SF bug 610610)
Need to clear the error and proceed.
Backport candidate
2002-09-18 22:37:17 +00:00
Barry Warsaw
40363b63f0
Open the test files in binary mode so the \r\n files won't cause
...
failures on Windows. Closes SF bug # 609988.
2002-09-18 22:17:57 +00:00
Kurt B. Kaiser
f027eac92b
Merge Py Idle:
...
Removing config-mac.txt, not used in Idlefork
2002-09-18 17:30:36 +00:00
Kurt B. Kaiser
628339807e
Merge Py Idle changes:
...
Missed adding "import types" while merging PyShell by hand....
2002-09-18 17:07:05 +00:00
Guido van Rossum
a989ac44ea
Add MJ.
2002-09-18 04:09:27 +00:00
Guido van Rossum
98b2a42bc4
Fix SF bug 610610 (reported by Martijn Pieters, diagnosed by Neal Norwitz).
...
The switch in Exception__str__ didn't clear the error if
PySequence_Size() raised an exception. Added a case -1 which clears
the error and falls through to the default case.
Definite backport candidate (this dates all the way to Python 2.0).
2002-09-18 04:06:32 +00:00
Kurt B. Kaiser
5fab9c67eb
Merge Py Idle changes:
...
Rev 1.4 fdrake
Use string.ascii_letters instead of string.letters (SF bug #226706 )
Rev 1.5 doerwalter
(string methods)
2002-09-18 03:30:12 +00:00
Kurt B. Kaiser
2a5e350265
Merge Py Idle changes:
...
Rev 1.6 GvR
Finally fix SF bug #441172 , using a variant of patch ##443626:
canceling an edit operation would not revert the value of the field.
The fix takes care to destroy the Entry object, as suggested in the
patch.
Rev 1.7 Geiger Ho / GvR
(previously applied - Idlefork Rev 1.3)
Rev 1.8 doerwalter
(string methods)
2002-09-18 03:26:47 +00:00
Kurt B. Kaiser
089a64a749
Merge Py Idle changes:
...
Rev 1.3 nnorwitz
Remove unnecessary imports
2002-09-18 03:17:38 +00:00
Kurt B. Kaiser
7879ad0c4f
Merge Py Idle changes:
...
Rev 1.17 doerwalter
(string methods)
2002-09-18 03:15:56 +00:00
Kurt B. Kaiser
d1ec940ffc
Merge PyIdle changes:
...
Rev 1.3 doerwalter
(string methods)
2002-09-18 03:14:11 +00:00
Kurt B. Kaiser
06a0987fa8
Merge Py Idle changes:
...
Rev 1.2 doerwalter
(string methods)
2002-09-18 03:12:18 +00:00
Kurt B. Kaiser
0f4402dcf7
Merge Py Idle changes:
...
Rev 1.3 tim_one
Convert a pile of obvious "yes/no" functions to return bool.
2002-09-18 03:10:10 +00:00