]>
granicus.if.org Git - python/log
Georg Brandl [Fri, 22 Jul 2005 21:49:32 +0000 (21:49 +0000)]
Fix all wrong instances of "it's".
Georg Brandl [Fri, 22 Jul 2005 18:39:19 +0000 (18:39 +0000)]
Walter Dörwald [Wed, 20 Jul 2005 22:15:39 +0000 (22:15 +0000)]
Make attributes and local variables in the StreamReader str objects instead
of unicode objects, so that codecs that do a str->str decoding won't promote
the result to unicode. This fixes SF bug #
1241507 .
Fred Drake [Wed, 20 Jul 2005 04:33:01 +0000 (04:33 +0000)]
add information about alternate implementations, noting that documentation
for the implementation should be consulted
(thanks to Evelyn Mitchell for suggesting this)
Fred Drake [Wed, 20 Jul 2005 03:49:42 +0000 (03:49 +0000)]
fix markup nits
Georg Brandl [Tue, 19 Jul 2005 22:20:20 +0000 (22:20 +0000)]
Fix cleanup DECREF logic in builtin_filter function.
Georg Brandl [Mon, 18 Jul 2005 08:53:17 +0000 (08:53 +0000)]
added news entry for previous checkin
Georg Brandl [Mon, 18 Jul 2005 08:16:33 +0000 (08:16 +0000)]
[ 755617 ] os module: Need a better description of "mode"
Georg Brandl [Mon, 18 Jul 2005 08:04:17 +0000 (08:04 +0000)]
bug [ 850238 ] unclear documentation/missing command?
Georg Brandl [Mon, 18 Jul 2005 07:38:44 +0000 (07:38 +0000)]
bug [ 957505 ] SocketServer module documentation misleading
Tim Peters [Sun, 17 Jul 2005 23:45:23 +0000 (23:45 +0000)]
SF bug #
1238681 : freed pointer is used in longobject.c:long_pow().
In addition, long_pow() skipped a necessary (albeit extremely unlikely
to trigger) error check when converting an int modulus to long.
Alas, I was unable to write a test case that crashed due to either
cause.
Bugfix candidate.
Tim Peters [Sun, 17 Jul 2005 23:16:17 +0000 (23:16 +0000)]
Whitespace normalization.
Georg Brandl [Sun, 17 Jul 2005 21:18:25 +0000 (21:18 +0000)]
bug [
1021621 ] use first_name, not first, in code samples
Georg Brandl [Sun, 17 Jul 2005 21:10:11 +0000 (21:10 +0000)]
bug [ 872769 ] os.access() documentation should stress race conditions
Georg Brandl [Sun, 17 Jul 2005 21:00:26 +0000 (21:00 +0000)]
[ 912943 ] 7.5.6 Thread Objects is too vague
Georg Brandl [Sun, 17 Jul 2005 20:27:41 +0000 (20:27 +0000)]
- Bug #
1015140 : disambiguated the term "article id" in nntplib docs and
docstrings to either "article number" or "message id".
Georg Brandl [Sun, 17 Jul 2005 20:05:25 +0000 (20:05 +0000)]
bug [
1061920 ] "k" specifier in PyArg_ParseTuple incomplete documentated
Skip Montanaro [Sun, 17 Jul 2005 15:34:58 +0000 (15:34 +0000)]
use macro
Skip Montanaro [Sun, 17 Jul 2005 11:47:46 +0000 (11:47 +0000)]
Note that usegmt is new in 2.4. Closes #
1239681 .
Hye-Shik Chang [Sun, 17 Jul 2005 02:36:59 +0000 (02:36 +0000)]
Add support for FreeBSD 7.
Jack Jansen [Sun, 17 Jul 2005 00:15:46 +0000 (00:15 +0000)]
Added an option to the scanner to generated marked-up HTML from the input
file. This should make it a lot easier (I hope) to get the regular
expressions right.
Georg Brandl [Fri, 15 Jul 2005 09:13:21 +0000 (09:13 +0000)]
bug [
1238170 ] threading.Thread uses {} as default argument
Raymond Hettinger [Fri, 15 Jul 2005 06:53:35 +0000 (06:53 +0000)]
textwrap now processes text chucks at O(n) speed instead of O(n**2).
Patch #
1209527 (Contributed by Connelly).
Raymond Hettinger [Thu, 14 Jul 2005 17:34:00 +0000 (17:34 +0000)]
Brett requests that Flovis's permissions be dropped.
Georg Brandl [Thu, 14 Jul 2005 06:40:47 +0000 (06:40 +0000)]
RFE [
1216944 ] Add Error Code Dictionary to urllib2
Walter Dörwald [Tue, 12 Jul 2005 21:53:43 +0000 (21:53 +0000)]
Apply SF patch #
1101726 : Fix buffer overrun in tokenizer.c when a source file
with a PEP 263 encoding declaration results in long decoded line.
Jack Jansen [Tue, 12 Jul 2005 21:25:05 +0000 (21:25 +0000)]
Fix for #
1236090 : FSSpec.as_pathname() crashes.
Turns out patch #
1035255 was incomplete, it only patched _Filemodule.c
and not filesupport.py. So regenerating caused as_pathname() to go into
an infinite loop.
Georg Brandl [Tue, 12 Jul 2005 13:20:49 +0000 (13:20 +0000)]
Oops.
Georg Brandl [Tue, 12 Jul 2005 13:17:59 +0000 (13:17 +0000)]
bug [
1232768 ] Mistakes in online docs under "5.3 Pure Embedding"
Michael W. Hudson [Tue, 12 Jul 2005 10:21:19 +0000 (10:21 +0000)]
Fix:
[
1229429 ] missing Py_DECREF in PyObject_CallMethod
Add a test in test_enumerate, which is a bit random, but suffices
(reversed_new calls PyObject_CallMethod under some circumstances).
Georg Brandl [Tue, 12 Jul 2005 07:28:20 +0000 (07:28 +0000)]
bug [
1235266 ] debug info file descriptor of tarfile is inconsistent
Tim Peters [Sun, 10 Jul 2005 22:30:55 +0000 (22:30 +0000)]
SF bug
1185883 : PyObject_Realloc can't safely take over a block currently
managed by C, because it's possible for the block to be smaller than the
new requested size, and at the end of allocated VM. Trying to copy over
nbytes bytes to a Python small-object block can segfault then, and there's
no portable way to avoid this (we would have to know how many bytes
starting at p are addressable, and std C has no means to determine that).
Bugfix candidate. Should be backported to 2.4, but I'm out of time.
Tim Peters [Sun, 10 Jul 2005 20:37:51 +0000 (20:37 +0000)]
Whitespace normalization.
Georg Brandl [Sat, 9 Jul 2005 15:26:33 +0000 (15:26 +0000)]
Georg Brandl [Fri, 8 Jul 2005 22:26:13 +0000 (22:26 +0000)]
bug [
1234979 ] Lock.acquire treats only 1 as True
Georg Brandl [Fri, 8 Jul 2005 21:36:36 +0000 (21:36 +0000)]
bug [ 969757 ] function and method objects confounded in Tutorial
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.
Raymond Hettinger [Fri, 8 Jul 2005 14:47:38 +0000 (14:47 +0000)]
Note Floris's last name.
Raymond Hettinger [Fri, 8 Jul 2005 14:37:56 +0000 (14:37 +0000)]
Add permissions for the Summer of Code project.
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'!
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.
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.
Jack Jansen [Tue, 5 Jul 2005 10:00:57 +0000 (10:00 +0000)]
Allow for (optional) const declaration.
Raymond Hettinger [Tue, 5 Jul 2005 05:34:43 +0000 (05:34 +0000)]
Add test for hash commutativity.
Piers Lauder [Tue, 5 Jul 2005 04:20:07 +0000 (04:20 +0000)]
fixed tag generation to avoid null tags
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
Georg Brandl [Mon, 4 Jul 2005 14:17:47 +0000 (14:17 +0000)]
Revert patch for
1162912 .
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.
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.
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.
Georg Brandl [Sun, 3 Jul 2005 20:21:40 +0000 (20:21 +0000)]
bug [
1162912 ] typesseq-mutable lacks note on combined key/cmp usage
Georg Brandl [Sat, 2 Jul 2005 19:07:30 +0000 (19:07 +0000)]
Add doctest for examples in libweakref.tex to test_weakref.
Georg Brandl [Sat, 2 Jul 2005 18:37:41 +0000 (18:37 +0000)]
patch [
1231538 ] Typo fix in compiler/transformer.py (WalkerEror)
Georg Brandl [Sat, 2 Jul 2005 10:44:32 +0000 (10:44 +0000)]
bug [
1228904 ] weakref example broken
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__
Raymond Hettinger [Fri, 1 Jul 2005 23:18:36 +0000 (23:18 +0000)]
Cross reference the set built-ins with the sets module.
Raymond Hettinger [Fri, 1 Jul 2005 23:00:13 +0000 (23:00 +0000)]
Provide a comparison to the builtin set types.
Raymond Hettinger [Fri, 1 Jul 2005 22:55:43 +0000 (22:55 +0000)]
Teach texcheck about \textbar
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.
Raymond Hettinger [Fri, 1 Jul 2005 16:54:12 +0000 (16:54 +0000)]
More info on rounding modes. Add sections for floating point notes.
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.
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.
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.
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.
Jack Jansen [Tue, 28 Jun 2005 15:14:35 +0000 (15:14 +0000)]
More factorization to help C++ support.
Raymond Hettinger [Tue, 28 Jun 2005 00:16:08 +0000 (00:16 +0000)]
Note that files are iterable.
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.
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
Georg Brandl [Mon, 27 Jun 2005 05:51:07 +0000 (05:51 +0000)]
Adapt output file to new Cookie JS output.
Georg Brandl [Sun, 26 Jun 2005 23:09:51 +0000 (23:09 +0000)]
Fix test cases for doctest.
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
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
Georg Brandl [Sun, 26 Jun 2005 22:22:31 +0000 (22:22 +0000)]
bug [
1172785 ] doctest.script_from_examples() result sometimes un-exec-able
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.
Georg Brandl [Sun, 26 Jun 2005 22:06:54 +0000 (22:06 +0000)]
bug [
1155638 ] self.length shield exception in httplib
Georg Brandl [Sun, 26 Jun 2005 22:01:35 +0000 (22:01 +0000)]
bug [
1175848 ] poorly named variable in urllib2.py
Georg Brandl [Sun, 26 Jun 2005 21:57:55 +0000 (21:57 +0000)]
Prevent creating a HTML link to file://?/
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.
Georg Brandl [Sun, 26 Jun 2005 21:33:14 +0000 (21:33 +0000)]
bug [
1100201 ] Cross-site scripting on BaseHTTPServer
Georg Brandl [Sun, 26 Jun 2005 21:09:38 +0000 (21:09 +0000)]
Add NEWS entries for bugs closed at Bug Day.
Georg Brandl [Sun, 26 Jun 2005 21:02:49 +0000 (21:02 +0000)]
bug [
1108948 ] Cookie.py produces invalid code
Georg Brandl [Sun, 26 Jun 2005 20:20:48 +0000 (20:20 +0000)]
bug [
1072853 ] thisid not intialized in pindent.py script
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