Barry Warsaw
644991fa35
(py-parse-state-re): Remove the "if" from the regular expression.
...
This fixes an indentation bug reported by Jeremy when seeing multiple
list comprehensions like so:
[x for x in seq
if blah(x)]
# ...
[y for y in seq
if blah(y)]
The reason this broke is because this regexp caused the "find a safe
parsing start location higher up in the file" test to erroneously find
the if in the listcomp. I think the other keywords in this regexp are
fine and good enough.
After a weekend of testing, I can't find any adverse effects.
2002-10-21 15:58:29 +00:00
Neal Norwitz
d8407a7031
Add new encoding for Ukrainian Cyrillic
2002-10-17 22:15:33 +00:00
Martin v. Löwis
a19bfe07e0
Correct stat_result float time stamps entry.
2002-10-16 18:28:36 +00:00
Martin v. Löwis
77ac429eff
Patch #572628 : Optional timeouts for put and get.
2002-10-15 15:11:13 +00:00
Martin v. Löwis
b24e3477dc
Patch #621891 : Add askopenfile{name}s.
2002-10-13 10:28:04 +00:00
Martin v. Löwis
2ec362717b
Patch #621205 : Tkinter updates for tk8.4.
2002-10-13 10:22:08 +00:00
Guido van Rossum
cafe0eefc3
Back out news about SF patch 479898 -- it's withdrawn.
2002-10-11 11:47:28 +00:00
Neal Norwitz
f689b88e11
Add Greg Copeland for SF # 585913, Adds Galeon support to webbrowser.py
2002-10-10 22:50:53 +00:00
Martin v. Löwis
6ce1315bd3
Patch #612602 : Streamline configure methods.
2002-10-10 14:36:13 +00:00
Guido van Rossum
2b492b61c6
News about repr() and 8-bit characters, and setlocale() in the
...
readline module.
2002-10-09 21:40:48 +00:00
Guido van Rossum
ecaaf643e2
Add a few people who were in the ACKS file in the 2.2.2 branch but not
...
on the trunk.
2002-10-09 16:37:03 +00:00
Mark Hammond
8696ebcd28
Add os.path.supports_unicode_filenames for all platforms,
...
sys.getwindowsversion() on Windows (new enahanced Tim-proof <wink>
version), and fix test_pep277.py in a few minor ways.
Including doc and NEWS entries.
2002-10-08 02:44:31 +00:00
Martin v. Löwis
e9ce0b0fea
Patch #448038 : Add move(). Report errors from copytree as in shutil.Error.
2002-10-07 13:23:24 +00:00
Martin v. Löwis
a844f2d165
Document patch #594001 .
2002-10-05 09:46:48 +00:00
Marc-André Lemburg
97047e219f
News item about the new encoding normalization scheme.
2002-10-04 11:55:21 +00:00
Guido van Rossum
ba60297a0a
Mention droped support for Tcl/Tk 8.0 and 8.1.
2002-10-01 18:18:58 +00:00
Martin v. Löwis
4535b18f7c
Add Tim Rice, for SCO patches.
2002-09-30 16:23:15 +00:00
Skip Montanaro
b45b9feafb
fix a couple nits related to my understanding of ReST. Use of
...
``void (*)(PyObject *)``
isn't quite the same as
void (*)(PyObject \*)
but I gather ``...`` is preferable stylistically in most cases than
... \*...
2002-09-30 15:25:13 +00:00
Skip Montanaro
a2a07bce89
fix a couple nits with my use of ReST
2002-09-30 15:23:01 +00:00
Barry Warsaw
7f232121c9
(py-pychecker-run): Fix calculation of last command to include the
...
filename of the current buffer.
2002-09-28 18:17:56 +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
2848fe9e58
Attila Babo (turtle.py).
2002-09-23 17:05:02 +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
Guido van Rossum
a989ac44ea
Add MJ.
2002-09-18 04:09:27 +00:00
Guido van Rossum
923e4ef049
The SGI demos are gone.
2002-09-17 20:58:59 +00:00
Skip Montanaro
4cb2204851
migrate news about 2.1 and earlier releases from NEWS to HISTORY in
...
preparation for ReST-ification of NEWS. (Also tests checkin ability
from my new Powerbook. woohoo!)
2002-09-17 20:55:31 +00:00
Martin v. Löwis
658009afdb
Make BadPickleGet a class. Fixes #609164 .
2002-09-16 17:26:24 +00:00
Guido van Rossum
06067915c4
Add Mats Wichmann, another snake farmhand.
2002-09-11 21:09:53 +00:00
Guido van Rossum
6a0477b099
Alphabetize Qvist properly.
2002-09-11 19:40:10 +00:00
Guido van Rossum
f981a3373c
Add Laura "force of nature" Creighton and Anders "snake farmer" Qvist,
...
for their contributions to the snake farm.
2002-09-11 18:33:56 +00:00
Martin v. Löwis
a32c994129
Always generate floats for stat_result; fix configure test.
2002-09-09 16:17:47 +00:00
Martin v. Löwis
94717ed1d4
Patch #606592 : Subsecond timestamps in stat_result.
2002-09-09 14:24:16 +00:00
Jack Jansen
a6db44f169
Script to generate .pkg packages, donated by Dinu Gherman. This is his
...
original code, it still needs fiddling to make it work in general
circumstances.
2002-09-06 19:47:49 +00:00
Walter Dörwald
5ccaf8f129
Apply diff3.txt (plus additional documentation)
...
from SF patch http://www.python.org/sf/554192
This adds two new functions to mimetypes:
guess_all_extensions() which returns a list of all known
extensions for a mime type, and add_type() which adds one
mapping between a mime type and an extension.
2002-09-06 16:15:58 +00:00
Neal Norwitz
b567392bbf
SF bug # 585792, Invalid mmap crashes Python interpreter
...
Raise ValueError if user passes a size to mmap which is larger
than the file.
2002-09-05 21:48:07 +00:00
Neal Norwitz
7165af23e6
Added "that" to correct grammar, the rest is due to wrapping
2002-09-05 21:42:24 +00:00
Skip Montanaro
979c74b969
added a bit about the change to the thread ticker
2002-09-03 21:25:14 +00:00
Skip Montanaro
8e790e7007
expose PYTHON_API_VERSION macro as sys.api_version. Closes patch # 601456.
2002-09-03 13:25:17 +00:00
Walter Dörwald
3aeb632c31
PEP 293 implemention (from SF patch http://www.python.org/sf/432401 )
2002-09-02 13:14:32 +00:00
Jack Jansen
c58eafbe3e
Distutils-based script by Bill Fancher to download the Python documentation
...
HTML tarball and use it to create a documentation tree readable and
searchable with Apple Help Viewer. The documentation also shows up in
Project Builder (if you add Python.framework to your project).
2002-08-28 21:23:53 +00:00
Michael W. Hudson
1e9718a334
Fix grammatically inept comment.
2002-08-22 13:36:11 +00:00
Guido van Rossum
76afbd9aa4
Fix some endcase bugs in unicode rfind()/rindex() and endswith().
...
These were reported and fixed by Inyeol Lee in SF bug 595350. The
endswith() bug was already fixed in 2.3, but this adds some more test
cases.
2002-08-20 17:29:29 +00:00
Guido van Rossum
45ec02aed1
SF patch 576101, by Oren Tirosh: alternative implementation of
...
interning. I modified Oren's patch significantly, but the basic idea
and most of the implementation is unchanged. Interned strings created
with PyString_InternInPlace() are now mortal, and you must keep a
reference to the resulting string around; use the new function
PyString_InternImmortal() to create immortal interned strings.
2002-08-19 21:43:18 +00:00
Guido van Rossum
d8ab35c933
News about sets. (There's no documentation; if someone wants to
...
convert the doc strings to LaTeX, be my guest.)
2002-08-19 16:25:46 +00:00
Raymond Hettinger
f2f2a2c130
Fix spelling errors and note the addition of operator.pow()
2002-08-19 14:25:03 +00:00
Jack Jansen
0281512b87
Merged the MacPython thanks list into the general acknowledgements.
...
There's really no point in a separate list of thank-you notes.
2002-08-19 13:17:39 +00:00
Raymond Hettinger
5403737e3c
Add Steve Purcell for unittest.py
2002-08-18 22:22:14 +00:00
Tim Peters
012c0a393a
Newly-relaxed limits on random.randrange(). Also added some info about
...
Karatsuba's better cache behavior with extremely large multiplicands.
2002-08-16 03:40:07 +00:00