]>
granicus.if.org Git - python/log
Kurt B. Kaiser [Sun, 26 Jun 2005 18:27:36 +0000 (18:27 +0000)]
SMTP.help() was returning a tuple instead of the promised text.
Georg Brandl [Sat, 25 Jun 2005 21:08:46 +0000 (21:08 +0000)]
NEWS entry for last bugfix
Georg Brandl [Sat, 25 Jun 2005 21:03:52 +0000 (21:03 +0000)]
bug [
1166582 ] IterableUserDict not in docs
Georg Brandl [Sat, 25 Jun 2005 20:44:10 +0000 (20:44 +0000)]
bug [
1186072 ] tempnam doc doesn't include link to tmpfile
Georg Brandl [Sat, 25 Jun 2005 20:07:36 +0000 (20:07 +0000)]
bug [
1175022 ] property example code error
Georg Brandl [Sat, 25 Jun 2005 19:55:04 +0000 (19:55 +0000)]
Bug [
1190563 ] os.waitpid docs don't specify return value for WNOHANG
Georg Brandl [Sat, 25 Jun 2005 19:15:48 +0000 (19:15 +0000)]
bug [
1202475 ] httplib docs mentioning HTTPConnection.getreply
Georg Brandl [Sat, 25 Jun 2005 18:52:24 +0000 (18:52 +0000)]
Patch [
1213031 ] note that os.chown can have -1 as an argument
Georg Brandl [Sat, 25 Jun 2005 18:46:09 +0000 (18:46 +0000)]
correcting duplicate TeX markup
Georg Brandl [Sat, 25 Jun 2005 18:44:49 +0000 (18:44 +0000)]
Bug [
1225705 ] os.environ documentation should mention unsetenv
Georg Brandl [Sat, 25 Jun 2005 18:24:03 +0000 (18:24 +0000)]
Patch #
1227442 : smtplib.SMTP.sendmail() accepts a string or list as to_addrs.
Brett Cannon [Sat, 25 Jun 2005 08:23:41 +0000 (08:23 +0000)]
Fix signedness of various char variables to stop causing a warning under gcc 4.
Brett Cannon [Sat, 25 Jun 2005 07:07:35 +0000 (07:07 +0000)]
Add comments about PyThreadState and the usage of its fields.
Tim Peters [Fri, 24 Jun 2005 19:46:53 +0000 (19:46 +0000)]
Normalize whitespace to avoid offending Bug Day volunteers.
Jack Jansen [Thu, 23 Jun 2005 22:32:59 +0000 (22:32 +0000)]
Added a missing newline Output().
Jack Jansen [Wed, 22 Jun 2005 20:35:23 +0000 (20:35 +0000)]
Revamped type declaration so the basic routines return a list of strings.
This allows variables to be declared as formal arguments. The bgenType.declare
method now simply outputs all declarations on separate lines ending
in semicolons.
Jack Jansen [Tue, 21 Jun 2005 20:54:51 +0000 (20:54 +0000)]
Added support for optional modifiers to functions/methods (such as C++ const,
static for methods, inline, etc).
Raymond Hettinger [Tue, 21 Jun 2005 07:43:58 +0000 (07:43 +0000)]
SF bug #
1224621 : tokenize module does not detect inconsistent dedents
Kurt B. Kaiser [Tue, 21 Jun 2005 02:42:17 +0000 (02:42 +0000)]
Remove dead code
M IdleHistory.py
M PyShell.py
Michael W. Hudson [Mon, 20 Jun 2005 16:52:57 +0000 (16:52 +0000)]
Fix bug:
[
1163563 ] Sub threads execute in restricted mode
basically by fixing bug
1010677 in a non-broken way.
Backport candidate.
Michael W. Hudson [Mon, 20 Jun 2005 16:37:03 +0000 (16:37 +0000)]
Add a(nother) warning about mixing Py_NewInterpreter and the
PyGILState_* functions.
Michael W. Hudson [Mon, 20 Jun 2005 13:45:34 +0000 (13:45 +0000)]
test_asynchat is no longer expected to produce output.
also, wait for threads to finish before proceeding.
Michael W. Hudson [Mon, 20 Jun 2005 12:12:45 +0000 (12:12 +0000)]
fix some silly whitespace stuff (must have hit M-q or something?)
Raymond Hettinger [Mon, 20 Jun 2005 09:49:42 +0000 (09:49 +0000)]
Apply the _is_special guard.
Kurt B. Kaiser [Sun, 19 Jun 2005 18:56:15 +0000 (18:56 +0000)]
<Enter> when cursor is on a previous command retrieves that command. Instead
of replacing the input line, the previous command is now appended to the
input line. Indentation is preserved, and undo is enabled.
Patch
1196917 Jeff Shute
Modified Files:
NEWS.txt PyShell.py
Raymond Hettinger [Sun, 19 Jun 2005 08:42:20 +0000 (08:42 +0000)]
Insert missing flag.
Raymond Hettinger [Sat, 18 Jun 2005 21:00:26 +0000 (21:00 +0000)]
SF patch #
1200018 : Restore GC support to set objects
Reverts 1.26 and 1.27.
And adds cycle testing.
Georg Brandl [Sat, 18 Jun 2005 20:11:40 +0000 (20:11 +0000)]
Bug #
1209560 : spurious blank page in dist.pdf
Georg Brandl [Sat, 18 Jun 2005 20:06:15 +0000 (20:06 +0000)]
Patch #
1180012 : add documentation for modulefinder
Neil Schemenauer [Sat, 18 Jun 2005 17:54:13 +0000 (17:54 +0000)]
Fix grammar (it's -> its).
Neil Schemenauer [Sat, 18 Jun 2005 17:37:06 +0000 (17:37 +0000)]
Add missing INCREF.
Backport candidate.
Raymond Hettinger [Fri, 17 Jun 2005 10:25:33 +0000 (10:25 +0000)]
Fix typo.
Skip Montanaro [Fri, 17 Jun 2005 01:14:49 +0000 (01:14 +0000)]
Add tests for posix O_SHLOCK & O_EXLOCK. Missed checking this in with
posixmodule.c 2.335. Really should be considered part of patch #
1103951 .
Jack Jansen [Thu, 16 Jun 2005 21:26:24 +0000 (21:26 +0000)]
More factorization.
Gregory P. Smith [Thu, 16 Jun 2005 19:01:42 +0000 (19:01 +0000)]
remove c++ style comment
Michael W. Hudson [Thu, 16 Jun 2005 15:51:20 +0000 (15:51 +0000)]
Update URL.
Michael W. Hudson [Thu, 16 Jun 2005 11:35:00 +0000 (11:35 +0000)]
You can have more than one thread state for a thread if they
correspond to different interpreters (I hope, please revert if this is
wrong :).
Andrew M. Kuchling [Wed, 15 Jun 2005 18:46:50 +0000 (18:46 +0000)]
Fix check for error condition
Andrew M. Kuchling [Wed, 15 Jun 2005 18:44:23 +0000 (18:44 +0000)]
[Patch #
1005892 from Alexandr Zamaraev] Fix two errors in the curses test suite
Raymond Hettinger [Wed, 15 Jun 2005 16:53:31 +0000 (16:53 +0000)]
Fix nits.
Skip Montanaro [Wed, 15 Jun 2005 13:35:08 +0000 (13:35 +0000)]
Michael Hudson pointed out that the Dialect_Type object isn't INCREF'd. Why
this worked is a bit mystical. Perhaps it never gets freed because the
object just happens never to be DECREF'd (but that seems unlikely).
Michael W. Hudson [Wed, 15 Jun 2005 12:48:40 +0000 (12:48 +0000)]
Consistently use hard tabs for indentation.
Slightly de-Fultonize two bits of C layout.
No semantic changes.
Michael W. Hudson [Wed, 15 Jun 2005 12:25:20 +0000 (12:25 +0000)]
Add a missing incref.
Backport candidate.
Michael W. Hudson [Wed, 15 Jun 2005 11:46:27 +0000 (11:46 +0000)]
Update version.
I wonder if there's a way to fix this Makefile to be slightly less
totally unreliable.
Michael W. Hudson [Wed, 15 Jun 2005 11:38:01 +0000 (11:38 +0000)]
Missed this documentation change about my marshal-floats-binarywise
change.
Skip Montanaro [Wed, 15 Jun 2005 01:33:30 +0000 (01:33 +0000)]
Leak fix from Michael Hudson. Fix memory leak when dialect doesn't
validate. Closes
1220242 .
Jack Jansen [Tue, 14 Jun 2005 21:32:51 +0000 (21:32 +0000)]
More tweaks for C++ support. Still doesn't seem to break anything:-)
Andrew M. Kuchling [Tue, 14 Jun 2005 14:45:24 +0000 (14:45 +0000)]
[Bug #
1219862 ] Document correct argument range for pair_content()
Michael W. Hudson [Tue, 14 Jun 2005 09:31:28 +0000 (09:31 +0000)]
yet another cache to clear when leak hunting.
Raymond Hettinger [Tue, 14 Jun 2005 08:57:28 +0000 (08:57 +0000)]
SF bug #
1219448 : small output bug
Raymond Hettinger [Tue, 14 Jun 2005 08:45:43 +0000 (08:45 +0000)]
SF bug #
1215887 : String and list methods documentation deeply hidden
Make doc on specific types easier to find by listing them in the headings
for the abstract types.
Walter Dörwald [Mon, 13 Jun 2005 21:44:48 +0000 (21:44 +0000)]
Port test_long.py to unittest.
Michael W. Hudson [Mon, 13 Jun 2005 18:28:46 +0000 (18:28 +0000)]
Fix bug
[
1180997 ] lax error-checking in new-in-2.4 marshal stuff
which I'd assigned to Martin, but actually turned out to be easy to fix.
Also, a test.
Michael W. Hudson [Mon, 13 Jun 2005 17:50:18 +0000 (17:50 +0000)]
Remove extraneous format character from PyArg_ParseTuple call in
marshal_loads.
Bugfix candidate.
Raymond Hettinger [Mon, 13 Jun 2005 01:10:15 +0000 (01:10 +0000)]
Kurt B. Kaiser [Sun, 12 Jun 2005 05:19:23 +0000 (05:19 +0000)]
1. Clarify "tab/space" Error Dialog and "Tab Width" Dialog associated with
the Untabify command.
2. Corrected "tab/space" Error Dialog to show correct menu for Untabify.
Patch
1196980 Jeff Shute
M EditorWindow.py
M NEWS.txt
M ScriptBinding.py
Kurt B. Kaiser [Sun, 12 Jun 2005 04:33:30 +0000 (04:33 +0000)]
1. Patch
1196895 Jeff Shute:
New files are colorized by default, and colorizing is removed when
saving as non-Python files. Patch
1196895 Jeff Shute
Closes Python Bugs 775012 and 800432, partial fix IDLEfork 763524
2. Update help.txt for left/right word delete
M CREDITS.txt
M ColorDelegator.py
M EditorWindow.py
M NEWS.txt
M help.txt
Gregory P. Smith [Sat, 11 Jun 2005 08:16:04 +0000 (08:16 +0000)]
fix typo. \var vs \variable
Georg Brandl [Fri, 10 Jun 2005 19:55:35 +0000 (19:55 +0000)]
Clarify docs about os.popen[234].
Georg Brandl [Fri, 10 Jun 2005 17:15:18 +0000 (17:15 +0000)]
Patch #
1171150 : add a newline to py_compile error output
Armin Rigo [Fri, 10 Jun 2005 15:29:22 +0000 (15:29 +0000)]
The functions audioop.lin2adpcm3() and audioop.adpcm32lin() were removed from
this module in Jan 1994, but still documented.
Raymond Hettinger [Fri, 10 Jun 2005 11:05:19 +0000 (11:05 +0000)]
Add untokenize() function to allow full round-trip tokenization.
Should significantly enhance the utility of the module by supporting
the creation of tools that modify the token stream and writeback the
modified result.
Jack Jansen [Fri, 10 Jun 2005 10:46:40 +0000 (10:46 +0000)]
Minor tweaks, to allow some (out-of-tree, until successful) tinkering
with C++.
Andrew M. Kuchling [Thu, 9 Jun 2005 17:53:27 +0000 (17:53 +0000)]
[Bug #
1200134 ] Fix buffer overflow by constraining size of .getstr(), .instr() to size of allocated buffer
Andrew M. Kuchling [Thu, 9 Jun 2005 15:57:32 +0000 (15:57 +0000)]
[Bug #
1079134 ] Mention change to date comparisons; bump version info and release date to 2.4.1
Andrew M. Kuchling [Thu, 9 Jun 2005 14:59:45 +0000 (14:59 +0000)]
[Patch #
1002763 ] Allow long ints as terminator values; also, treat a terminator of 0 like the empty string or None
Andrew M. Kuchling [Thu, 9 Jun 2005 14:56:31 +0000 (14:56 +0000)]
Convert asynchat test to unittest; exercise the client using a numeric value as the terminator
Andrew M. Kuchling [Thu, 9 Jun 2005 14:19:32 +0000 (14:19 +0000)]
[Bug #
1074261 , patch #
1074381 ] Restrict the size of chunks read from the file in order to avoid overflow or huge memory consumption. Patch by Mark Eichin
Andrew M. Kuchling [Thu, 9 Jun 2005 14:12:36 +0000 (14:12 +0000)]
Convert gzip test suite to use unittest
Gregory P. Smith [Thu, 9 Jun 2005 07:11:42 +0000 (07:11 +0000)]
fix import to work with either module name.
Andrew M. Kuchling [Wed, 8 Jun 2005 22:51:38 +0000 (22:51 +0000)]
[Patch #
1171487 , bug #
1170331 ] Fix error in base64.b32decode when encoding a single null byte; test a null byte in all encodings to be sure it works
Andrew M. Kuchling [Wed, 8 Jun 2005 21:51:28 +0000 (21:51 +0000)]
[Bug #
1149413 ] 'psize' argument should be 'pgsize'
Anthony Baxter [Wed, 8 Jun 2005 04:55:50 +0000 (04:55 +0000)]
fix broken (unexecuted) test
Anthony Baxter [Wed, 8 Jun 2005 04:35:50 +0000 (04:35 +0000)]
Tools/scripts/reindent.py _is_ your friend
Skip Montanaro [Wed, 8 Jun 2005 02:28:11 +0000 (02:28 +0000)]
Tweak note about using os.open to lock files if O_SHLOCK and O_EXLOCK are
present.
Andrew M. Kuchling [Tue, 7 Jun 2005 19:36:10 +0000 (19:36 +0000)]
[Bug #
1172763 ] dumbdbm uses eval() on lines, so it chokes if there's an extra \r on the end of a line; fixed by stripping off trailing whitespace.
Raymond Hettinger [Tue, 7 Jun 2005 18:52:34 +0000 (18:52 +0000)]
Minor namespace clean-up.
Andrew M. Kuchling [Tue, 7 Jun 2005 18:51:42 +0000 (18:51 +0000)]
[Bug #
1170422 ] Use correct option name
Raymond Hettinger [Tue, 7 Jun 2005 18:50:56 +0000 (18:50 +0000)]
Add a decimal FAQ
Gregory P. Smith [Mon, 6 Jun 2005 18:12:24 +0000 (18:12 +0000)]
fix more Errors (not Failures) when run using BerkeleyDB <= 4.0
Gregory P. Smith [Mon, 6 Jun 2005 17:59:00 +0000 (17:59 +0000)]
fix Errors (not Failures) in test cases when running with BerkeleyDB<4.2
Gregory P. Smith [Mon, 6 Jun 2005 17:31:32 +0000 (17:31 +0000)]
change set_bt_compare() callback comparison function to only take two
arguments (left, right) like any sane comparison function. no need to
pass in the db object as an argument.
Gregory P. Smith [Mon, 6 Jun 2005 17:30:22 +0000 (17:30 +0000)]
make the tests that expect uncatchable exceptions from a callback test
for them in a roundabout way (catching and parsing stderr)
keeps test output clean.
Gregory P. Smith [Mon, 6 Jun 2005 10:28:06 +0000 (10:28 +0000)]
additional sanity check. secondaryDB cannot be closed.
Gregory P. Smith [Mon, 6 Jun 2005 10:26:25 +0000 (10:26 +0000)]
test case for pybsddb SF bug id
1215432
Gregory P. Smith [Mon, 6 Jun 2005 09:55:06 +0000 (09:55 +0000)]
fixes pybsddb SF bug id
1215432 . DB.associate() would crash when a
DBError was supposed to be raised.
needs backport to 2.4.x and possibly 2.3.x.
Gregory P. Smith [Mon, 6 Jun 2005 09:52:10 +0000 (09:52 +0000)]
test DB.associate using transactions. somewhat related to SF pybsddb
bug #
1215432
Vinay Sajip [Sun, 5 Jun 2005 20:39:36 +0000 (20:39 +0000)]
Documentation clarified re. config socket listener protocol
Georg Brandl [Sun, 5 Jun 2005 10:56:59 +0000 (10:56 +0000)]
Bug #
1184380 : extending&embedding example broken
Skip Montanaro [Sat, 4 Jun 2005 12:55:32 +0000 (12:55 +0000)]
Fix missing assignments of marshal.load() values. Closes #
1214662 .
Georg Brandl [Sat, 4 Jun 2005 10:01:15 +0000 (10:01 +0000)]
Bug #
1210001 : typo in email doc
Georg Brandl [Sat, 4 Jun 2005 09:20:03 +0000 (09:20 +0000)]
Bug #
1196315 : fix weakref.WeakValueDictionary constructor.
Hye-Shik Chang [Sat, 4 Jun 2005 07:31:48 +0000 (07:31 +0000)]
Correct URL to the official UnicodeData 3.2.0 resource. (Reported
by Darek Suchojad)
Gregory P. Smith [Sat, 4 Jun 2005 06:46:59 +0000 (06:46 +0000)]
pybsddb 4.3.2:
* the has_key() method was not raising a DBError when a database error
had occurred. [SF patch id
1212590 ]
* added a wrapper for the DBEnv.set_lg_regionmax method [SF patch id
1212590 ]
* DBKeyEmptyError now derives from KeyError just like DBNotFoundError.
* internally everywhere DB_NOTFOUND was checked for has been updated
to also check for DB_KEYEMPTY. This fixes the semantics of a couple
operations on recno and queue databases to be more intuitive and results
in less unexpected DBKeyEmptyError exceptions being raised.
Tim Peters [Fri, 3 Jun 2005 22:40:27 +0000 (22:40 +0000)]
Whitespace normalization.
Georg Brandl [Fri, 3 Jun 2005 19:47:00 +0000 (19:47 +0000)]
Bug #
1194181 : bz2.BZ2File didn't handle mode 'U' correctly.
Michael W. Hudson [Fri, 3 Jun 2005 15:17:16 +0000 (15:17 +0000)]
Fix a couple of crashing-on-malformed data marshal bugs.
Anthony Baxter [Fri, 3 Jun 2005 15:04:15 +0000 (15:04 +0000)]
[
1197218 ] test_locale fix on modern linux
On more modern linuxes (and probably others) straight 'en_US' isn't a
valid locale. Make the code try a couple of alternates.
backport candidate
Michael W. Hudson [Fri, 3 Jun 2005 14:41:55 +0000 (14:41 +0000)]
This is my patch:
[
1180995 ] binary formats for marshalling floats
Adds 2 new type codes for marshal (binary floats and binary complexes), a
new marshal version (2), updates MAGIC and fiddles the de-serializing of
code objects to be less likely to clobber the real reason for failing if
it fails.
Georg Brandl [Fri, 3 Jun 2005 14:28:50 +0000 (14:28 +0000)]
Bug #
1213894 : os.path.realpath didn't resolve symlinks that were the first
component of the path.