]> granicus.if.org Git - python/log
python
19 years agobug [ 969757 ] function and method objects confounded in Tutorial
Georg Brandl [Fri, 8 Jul 2005 21:36:36 +0000 (21:36 +0000)]
bug [ 969757 ] function and method objects confounded in Tutorial

19 years agoHandle argref so it can be overridden more easily in a subclass.
Jack Jansen [Fri, 8 Jul 2005 15:03:37 +0000 (15:03 +0000)]
Handle argref so it can be overridden more easily in a subclass.

19 years agoNote Floris's last name.
Raymond Hettinger [Fri, 8 Jul 2005 14:47:38 +0000 (14:47 +0000)]
Note Floris's last name.

19 years agoAdd permissions for the Summer of Code project.
Raymond Hettinger [Fri, 8 Jul 2005 14:37:56 +0000 (14:37 +0000)]
Add permissions for the Summer of Code project.

19 years agoFix "upload" command garbling and truncating files on Windows. If it's a
Phillip J. Eby [Thu, 7 Jul 2005 15:36:20 +0000 (15:36 +0000)]
Fix "upload" command garbling and truncating files on Windows.  If it's a
binary file, use 'rb'!

19 years agoLink to #1233049 for building against openssl 0.9.8.
Martin v. Löwis [Wed, 6 Jul 2005 19:34:10 +0000 (19:34 +0000)]
Link to #1233049 for building against openssl 0.9.8.

19 years agoFix bug
Michael W. Hudson [Tue, 5 Jul 2005 15:21:58 +0000 (15:21 +0000)]
Fix bug

1232517 ] OverflowError in time.utime() causes strange traceback

A needed error check was missing.

(Actually, this error check may only have become necessary in fairly
recent Python, not sure).

Backport candidate.

19 years agoAllow for (optional) const declaration.
Jack Jansen [Tue, 5 Jul 2005 10:00:57 +0000 (10:00 +0000)]
Allow for (optional) const declaration.

19 years agoAdd test for hash commutativity.
Raymond Hettinger [Tue, 5 Jul 2005 05:34:43 +0000 (05:34 +0000)]
Add test for hash commutativity.

19 years agofixed tag generation to avoid null tags
Piers Lauder [Tue, 5 Jul 2005 04:20:07 +0000 (04:20 +0000)]
fixed tag generation to avoid null tags

19 years agobug #1177468: don't cache /dev/urandom file descriptor in os.urandom
Georg Brandl [Mon, 4 Jul 2005 17:16:07 +0000 (17:16 +0000)]
bug #1177468: don't cache /dev/urandom file descriptor in os.urandom

19 years agoRevert patch for 1162912.
Georg Brandl [Mon, 4 Jul 2005 14:17:47 +0000 (14:17 +0000)]
Revert patch for 1162912.

19 years agoUpdated (and regenerated) for name change in tp_init method arguments:
Jack Jansen [Sun, 3 Jul 2005 20:59:44 +0000 (20:59 +0000)]
Updated (and regenerated) for name change in tp_init method arguments:
they are now _self, _args and _kwds.

19 years agoFactored out the code that creates argument lists and formats for PyArg_Parse
Jack Jansen [Sun, 3 Jul 2005 20:58:08 +0000 (20:58 +0000)]
Factored out the code that creates argument lists and formats for PyArg_Parse
and Py_BuildValue.

19 years agoSigh, changed the argument names in the tp_init function: to make them be
Jack Jansen [Sun, 3 Jul 2005 20:57:26 +0000 (20:57 +0000)]
Sigh, changed the argument names in the tp_init function: to make them be
more in line with other methods "self" and "args" had to be renamed "_self"
and "_args". Did "_kwds" too, for consistency.

19 years agobug [ 1162912 ] typesseq-mutable lacks note on combined key/cmp usage
Georg Brandl [Sun, 3 Jul 2005 20:21:40 +0000 (20:21 +0000)]
bug [ 1162912 ] typesseq-mutable lacks note on combined key/cmp usage

19 years agoAdd doctest for examples in libweakref.tex to test_weakref.
Georg Brandl [Sat, 2 Jul 2005 19:07:30 +0000 (19:07 +0000)]
Add doctest for examples in libweakref.tex to test_weakref.

19 years agopatch [ 1231538 ] Typo fix in compiler/transformer.py (WalkerEror)
Georg Brandl [Sat, 2 Jul 2005 18:37:41 +0000 (18:37 +0000)]
patch [ 1231538 ] Typo fix in compiler/transformer.py (WalkerEror)

19 years agobug [ 1228904 ] weakref example broken
Georg Brandl [Sat, 2 Jul 2005 10:44:32 +0000 (10:44 +0000)]
bug [ 1228904 ] weakref example broken

19 years agoPatch [ 1230615 ] Patch for (Doc) #1168746
Georg Brandl [Sat, 2 Jul 2005 10:27:31 +0000 (10:27 +0000)]
Patch [ 1230615 ] Patch for (Doc) #1168746
Bug [ 1204734 ] incorrect description of __getattribute__

19 years agoCross reference the set built-ins with the sets module.
Raymond Hettinger [Fri, 1 Jul 2005 23:18:36 +0000 (23:18 +0000)]
Cross reference the set built-ins with the sets module.

19 years agoProvide a comparison to the builtin set types.
Raymond Hettinger [Fri, 1 Jul 2005 23:00:13 +0000 (23:00 +0000)]
Provide a comparison to the builtin set types.

19 years agoTeach texcheck about \textbar
Raymond Hettinger [Fri, 1 Jul 2005 22:55:43 +0000 (22:55 +0000)]
Teach texcheck about \textbar

19 years agoAdded methods mkvaluePreCheck and getargsPreCheck, which are called (for
Jack Jansen [Fri, 1 Jul 2005 20:23:27 +0000 (20:23 +0000)]
Added methods mkvaluePreCheck and getargsPreCheck, which are called (for
each variable) before calling Py_BuildValue and PyArg_Parse.

19 years agoMore info on rounding modes. Add sections for floating point notes.
Raymond Hettinger [Fri, 1 Jul 2005 16:54:12 +0000 (16:54 +0000)]
More info on rounding modes.  Add sections for floating point notes.

19 years agoMore factorization: added a method getrvforcallit(). This allows a C++
Jack Jansen [Thu, 30 Jun 2005 15:00:13 +0000 (15:00 +0000)]
More factorization: added a method getrvforcallit(). This allows a C++
bridge to combine declaration and assignment to the return value
temporary, allowing us to handle functions returning const values.

19 years agoApparently some compiler gives a warning on
Michael W. Hudson [Thu, 30 Jun 2005 00:02:26 +0000 (00:02 +0000)]
Apparently some compiler gives a warning on

float y = x;

when x is a double.  Go figure.

19 years agoSF bug #1224347: int/long unification and hex()
Raymond Hettinger [Wed, 29 Jun 2005 23:29:56 +0000 (23:29 +0000)]
SF bug #1224347:  int/long unification and hex()

Hex longs now print with lowercase letters like their int counterparts.

19 years agoAdded optional suppport for storage modifiers (virtual/static/inline/etc)
Jack Jansen [Wed, 29 Jun 2005 14:17:05 +0000 (14:17 +0000)]
Added optional suppport for storage modifiers (virtual/static/inline/etc)
and conditional generation of objects and methods.

19 years agoMore factorization to help C++ support.
Jack Jansen [Tue, 28 Jun 2005 15:14:35 +0000 (15:14 +0000)]
More factorization to help C++ support.

19 years agoNote that files are iterable.
Raymond Hettinger [Tue, 28 Jun 2005 00:16:08 +0000 (00:16 +0000)]
Note that files are iterable.

19 years ago* Show the keyword argument form of dict().
Raymond Hettinger [Mon, 27 Jun 2005 23:36:47 +0000 (23:36 +0000)]
* Show the keyword argument form of dict().
* Note that dict works with the "in" keyword.

19 years agoadd note that os.EX_* constants are subject to availability on the host
Fred Drake [Mon, 27 Jun 2005 23:23:43 +0000 (23:23 +0000)]
add note that os.EX_* constants are subject to availability on the host
platform

19 years agoAdapt output file to new Cookie JS output.
Georg Brandl [Mon, 27 Jun 2005 05:51:07 +0000 (05:51 +0000)]
Adapt output file to new Cookie JS output.

19 years agoFix test cases for doctest.
Georg Brandl [Sun, 26 Jun 2005 23:09:51 +0000 (23:09 +0000)]
Fix test cases for doctest.

19 years ago- Bug #839151: Fix an attempt to access sys.argv in the warnings module
Georg Brandl [Sun, 26 Jun 2005 22:54:58 +0000 (22:54 +0000)]
- Bug #839151: Fix an attempt to access sys.argv in the warnings module
  though this can be missing in embedded interpreters

19 years agobug [ 839151 ] attempt to access sys.argv when it doesn't exist
Georg Brandl [Sun, 26 Jun 2005 22:53:29 +0000 (22:53 +0000)]
bug [ 839151 ] attempt to access sys.argv when it doesn't exist

19 years agobug [ 1172785 ] doctest.script_from_examples() result sometimes un-exec-able
Georg Brandl [Sun, 26 Jun 2005 22:22:31 +0000 (22:22 +0000)]
bug [ 1172785 ] doctest.script_from_examples() result sometimes un-exec-able

19 years ago- Bug #1155638: Fix a bug which affected HTTP 0.9 responses in httplib.
Georg Brandl [Sun, 26 Jun 2005 22:09:06 +0000 (22:09 +0000)]
- Bug #1155638: Fix a bug which affected HTTP 0.9 responses in httplib.

19 years agobug [ 1155638 ] self.length shield exception in httplib
Georg Brandl [Sun, 26 Jun 2005 22:06:54 +0000 (22:06 +0000)]
bug [ 1155638 ] self.length shield exception in httplib

19 years agobug [ 1175848 ] poorly named variable in urllib2.py
Georg Brandl [Sun, 26 Jun 2005 22:01:35 +0000 (22:01 +0000)]
bug [ 1175848 ] poorly named variable in urllib2.py

19 years agoPrevent creating a HTML link to file://?/
Georg Brandl [Sun, 26 Jun 2005 21:57:55 +0000 (21:57 +0000)]
Prevent creating a HTML link to file://?/

19 years ago- Bug #1100201: Cross-site scripting was possible on BaseHTTPServer via
Georg Brandl [Sun, 26 Jun 2005 21:36:25 +0000 (21:36 +0000)]
- Bug #1100201: Cross-site scripting was possible on BaseHTTPServer via
  error messages.

19 years agobug [ 1100201 ] Cross-site scripting on BaseHTTPServer
Georg Brandl [Sun, 26 Jun 2005 21:33:14 +0000 (21:33 +0000)]
bug [ 1100201 ] Cross-site scripting on BaseHTTPServer

19 years agoAdd NEWS entries for bugs closed at Bug Day.
Georg Brandl [Sun, 26 Jun 2005 21:09:38 +0000 (21:09 +0000)]
Add NEWS entries for bugs closed at Bug Day.

19 years agobug [ 1108948 ] Cookie.py produces invalid code
Georg Brandl [Sun, 26 Jun 2005 21:02:49 +0000 (21:02 +0000)]
bug [ 1108948 ] Cookie.py produces invalid code

19 years agobug [ 1072853 ] thisid not intialized in pindent.py script
Georg Brandl [Sun, 26 Jun 2005 20:20:48 +0000 (20:20 +0000)]
bug [ 1072853 ] thisid not intialized in pindent.py script

19 years agoSMTP.help() was returning a tuple instead of the promised text.
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.

19 years agoNEWS entry for last bugfix
Georg Brandl [Sat, 25 Jun 2005 21:08:46 +0000 (21:08 +0000)]
NEWS entry for last bugfix

19 years agobug [ 1166582 ] IterableUserDict not in docs
Georg Brandl [Sat, 25 Jun 2005 21:03:52 +0000 (21:03 +0000)]
bug [ 1166582 ] IterableUserDict not in docs

19 years agobug [ 1186072 ] tempnam doc doesn't include link to tmpfile
Georg Brandl [Sat, 25 Jun 2005 20:44:10 +0000 (20:44 +0000)]
bug [ 1186072 ] tempnam doc doesn't include link to tmpfile

19 years agobug [ 1175022 ] property example code error
Georg Brandl [Sat, 25 Jun 2005 20:07:36 +0000 (20:07 +0000)]
bug [ 1175022 ] property example code error

19 years agoBug [ 1190563 ] os.waitpid docs don't specify return value for WNOHANG
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

19 years agobug [ 1202475 ] httplib docs mentioning HTTPConnection.getreply
Georg Brandl [Sat, 25 Jun 2005 19:15:48 +0000 (19:15 +0000)]
bug [ 1202475 ] httplib docs mentioning HTTPConnection.getreply

19 years agoPatch [ 1213031 ] note that os.chown can have -1 as an argument
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

19 years agocorrecting duplicate TeX markup
Georg Brandl [Sat, 25 Jun 2005 18:46:09 +0000 (18:46 +0000)]
correcting duplicate TeX markup

19 years agoBug [ 1225705 ] os.environ documentation should mention unsetenv
Georg Brandl [Sat, 25 Jun 2005 18:44:49 +0000 (18:44 +0000)]
Bug [ 1225705 ] os.environ documentation should mention unsetenv

19 years agoPatch #1227442: smtplib.SMTP.sendmail() accepts a string or list as to_addrs.
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.

19 years agoFix signedness of various char variables to stop causing a warning under gcc 4.
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.

19 years agoAdd comments about PyThreadState and the usage of its fields.
Brett Cannon [Sat, 25 Jun 2005 07:07:35 +0000 (07:07 +0000)]
Add comments about PyThreadState and the usage of its fields.

19 years agoNormalize whitespace to avoid offending Bug Day volunteers.
Tim Peters [Fri, 24 Jun 2005 19:46:53 +0000 (19:46 +0000)]
Normalize whitespace to avoid offending Bug Day volunteers.

19 years agoAdded a missing newline Output().
Jack Jansen [Thu, 23 Jun 2005 22:32:59 +0000 (22:32 +0000)]
Added a missing newline Output().

19 years agoRevamped type declaration so the basic routines return a list of strings.
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.

19 years agoAdded support for optional modifiers to functions/methods (such as C++ const,
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).

19 years agoSF bug #1224621: tokenize module does not detect inconsistent dedents
Raymond Hettinger [Tue, 21 Jun 2005 07:43:58 +0000 (07:43 +0000)]
SF bug #1224621: tokenize module does not detect inconsistent dedents

19 years agoRemove dead code
Kurt B. Kaiser [Tue, 21 Jun 2005 02:42:17 +0000 (02:42 +0000)]
Remove dead code
M IdleHistory.py
M PyShell.py

19 years agoFix bug:
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.

19 years agoAdd a(nother) warning about mixing Py_NewInterpreter and the
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.

19 years agotest_asynchat is no longer expected to produce output.
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.

19 years agofix some silly whitespace stuff (must have hit M-q or something?)
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?)

19 years agoApply the _is_special guard.
Raymond Hettinger [Mon, 20 Jun 2005 09:49:42 +0000 (09:49 +0000)]
Apply the _is_special guard.

19 years ago<Enter> when cursor is on a previous command retrieves that command. Instead
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

19 years agoInsert missing flag.
Raymond Hettinger [Sun, 19 Jun 2005 08:42:20 +0000 (08:42 +0000)]
Insert missing flag.

19 years agoSF patch #1200018: Restore GC support to set objects
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.

19 years agoBug #1209560: spurious blank page in dist.pdf
Georg Brandl [Sat, 18 Jun 2005 20:11:40 +0000 (20:11 +0000)]
Bug #1209560: spurious blank page in dist.pdf

19 years agoPatch #1180012: add documentation for modulefinder
Georg Brandl [Sat, 18 Jun 2005 20:06:15 +0000 (20:06 +0000)]
Patch #1180012: add documentation for modulefinder

19 years agoFix grammar (it's -> its).
Neil Schemenauer [Sat, 18 Jun 2005 17:54:13 +0000 (17:54 +0000)]
Fix grammar (it's -> its).

19 years agoAdd missing INCREF.
Neil Schemenauer [Sat, 18 Jun 2005 17:37:06 +0000 (17:37 +0000)]
Add missing INCREF.

Backport candidate.

19 years agoFix typo.
Raymond Hettinger [Fri, 17 Jun 2005 10:25:33 +0000 (10:25 +0000)]
Fix typo.

19 years agoAdd tests for posix O_SHLOCK & O_EXLOCK. Missed checking this in with
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.

19 years agoMore factorization.
Jack Jansen [Thu, 16 Jun 2005 21:26:24 +0000 (21:26 +0000)]
More factorization.

19 years agoremove c++ style comment
Gregory P. Smith [Thu, 16 Jun 2005 19:01:42 +0000 (19:01 +0000)]
remove c++ style comment

19 years agoUpdate URL.
Michael W. Hudson [Thu, 16 Jun 2005 15:51:20 +0000 (15:51 +0000)]
Update URL.

19 years agoYou can have more than one thread state for a thread if they
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 :).

19 years agoFix check for error condition
Andrew M. Kuchling [Wed, 15 Jun 2005 18:46:50 +0000 (18:46 +0000)]
Fix check for error condition

19 years ago[Patch #1005892 from Alexandr Zamaraev] Fix two errors in the curses test suite
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

19 years agoFix nits.
Raymond Hettinger [Wed, 15 Jun 2005 16:53:31 +0000 (16:53 +0000)]
Fix nits.

19 years agoMichael Hudson pointed out that the Dialect_Type object isn't INCREF'd. Why
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).

19 years agoConsistently use hard tabs for indentation.
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.

19 years agoAdd a missing incref.
Michael W. Hudson [Wed, 15 Jun 2005 12:25:20 +0000 (12:25 +0000)]
Add a missing incref.

Backport candidate.

19 years agoUpdate version.
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.

19 years agoMissed this documentation change about my marshal-floats-binarywise
Michael W. Hudson [Wed, 15 Jun 2005 11:38:01 +0000 (11:38 +0000)]
Missed this documentation change about my marshal-floats-binarywise
change.

19 years agoLeak fix from Michael Hudson. Fix memory leak when dialect doesn't
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.

19 years agoMore tweaks for C++ support. Still doesn't seem to break anything:-)
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:-)

19 years ago[Bug #1219862] Document correct argument range for pair_content()
Andrew M. Kuchling [Tue, 14 Jun 2005 14:45:24 +0000 (14:45 +0000)]
[Bug #1219862] Document correct argument range for pair_content()

19 years agoyet another cache to clear when leak hunting.
Michael W. Hudson [Tue, 14 Jun 2005 09:31:28 +0000 (09:31 +0000)]
yet another cache to clear when leak hunting.

19 years agoSF bug #1219448: small output bug
Raymond Hettinger [Tue, 14 Jun 2005 08:57:28 +0000 (08:57 +0000)]
SF bug #1219448:  small output bug

19 years agoSF bug #1215887: String and list methods documentation deeply hidden
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.

19 years agoPort test_long.py to unittest.
Walter Dörwald [Mon, 13 Jun 2005 21:44:48 +0000 (21:44 +0000)]
Port test_long.py to unittest.

19 years agoFix bug
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.