]>
granicus.if.org Git - python/log
Hye-Shik Chang [Wed, 27 Oct 2004 03:12:05 +0000 (03:12 +0000)]
Add a comment explains why we should modify mtime here.
Tim Peters [Wed, 27 Oct 2004 02:44:10 +0000 (02:44 +0000)]
Removed newly redundant embedded import.
Tim Peters [Wed, 27 Oct 2004 02:43:25 +0000 (02:43 +0000)]
Whitespace normalization.
Tim Peters [Wed, 27 Oct 2004 02:33:15 +0000 (02:33 +0000)]
Paper over bug
1054615 by passing sane values to os.utime().
The underlying bug still exists, but also existed in 2.3.4:
import.c's load_source_module() returns NULL if
PyOS_GetLastModificationTime() returns -1, but
PyOS_GetLastModificationTime() doesn't set any exception when it returns
-1, and neither does load_source_module() when it gets back -1. This
leads to "SystemError: NULL result without error in PyObject_Call"
on an import that fails in this way.
Greg Ward [Wed, 27 Oct 2004 02:20:04 +0000 (02:20 +0000)]
Update optparse module and test suite to Optik 1.5a2.
Facundo Batista [Tue, 26 Oct 2004 23:38:46 +0000 (23:38 +0000)]
Very few little improvements.
Tim Peters [Tue, 26 Oct 2004 14:38:48 +0000 (14:38 +0000)]
In paragraph 1, changed
Python software
to
this software ("Python")
Just van Rossum [Tue, 26 Oct 2004 11:02:08 +0000 (11:02 +0000)]
- Added tests for the string load/dump function.
- Added a chunk of plist data as generated by Cocoa's NSDictionary and
verify we output the same (including formatting)
- Changed the "literal" plist code to match the raw test data
Just van Rossum [Tue, 26 Oct 2004 10:30:55 +0000 (10:30 +0000)]
Made <data> output match Apple's exactly. To do that I had to add a custom
version of base64.encodestring() so I could control the line length of the
base64 output.
Just van Rossum [Tue, 26 Oct 2004 10:11:00 +0000 (10:11 +0000)]
also escape '>', to closer match Apple's plist output
Hye-Shik Chang [Tue, 26 Oct 2004 09:53:46 +0000 (09:53 +0000)]
Patch #
1044395 : Allow configure option --enable-shared in FreeBSD.
(Submitted by James William Pye, Patch revised by Jiwon Seo)
Hye-Shik Chang [Tue, 26 Oct 2004 09:16:42 +0000 (09:16 +0000)]
SF #737473: Show up-to-date source code in tracebacks always.
And add an optional argument 'filename' to linecache.checkcache()
to enable checking caches per-file.
Raymond Hettinger [Tue, 26 Oct 2004 08:59:14 +0000 (08:59 +0000)]
SF bug #
1053819 : Segfault in tuple_of_constants
Peepholer could be fooled into misidentifying a tuple_of_constants.
Added code to count consecutive occurrences of LOAD_CONST.
Use the count to weed out the misidentified cases.
Added a unittest.
Just van Rossum [Tue, 26 Oct 2004 07:38:16 +0000 (07:38 +0000)]
Deprecating Dict class; going through a few hoops to get the warnings right.
Just van Rossum [Tue, 26 Oct 2004 07:20:26 +0000 (07:20 +0000)]
- Removed Date class. We don't really need it for b/w compatibility since
a) the functionality depended on PyXML before and b) hardly worked to
begin with.
- Instead, output and require upon input datetime.datetime objects.
Just van Rossum [Tue, 26 Oct 2004 06:50:50 +0000 (06:50 +0000)]
- added two more convenience functions: readPlistFromString() and
writePlistToString()
- use these two in the resource functions.
- Tweaked module doc string.
Raymond Hettinger [Tue, 26 Oct 2004 03:53:35 +0000 (03:53 +0000)]
SF
1053956 : help() not in tutorial index
Raymond Hettinger [Tue, 26 Oct 2004 01:52:37 +0000 (01:52 +0000)]
SF bug #
1054139 : serious string hashing error in 2.4b1
_PyString_Resize() readied strings for mutation but did not invalidate
the cached hash value.
Fred Drake [Mon, 25 Oct 2004 21:35:17 +0000 (21:35 +0000)]
add missing line break
Just van Rossum [Mon, 25 Oct 2004 16:10:53 +0000 (16:10 +0000)]
Updated doc strings.
Just van Rossum [Mon, 25 Oct 2004 16:09:10 +0000 (16:09 +0000)]
Deprecate Plist class
Just van Rossum [Mon, 25 Oct 2004 16:04:20 +0000 (16:04 +0000)]
Removed superfluous **kwargs constructor cruft: this class predates
the dict(**kwargs) feature.
Fred Drake [Mon, 25 Oct 2004 16:03:49 +0000 (16:03 +0000)]
- improve the explanation of the -*- coding: ... -*- marker
- fix a minor formatting nit that affected the typeset version
Just van Rossum [Mon, 25 Oct 2004 15:10:42 +0000 (15:10 +0000)]
Patch from Bob Ippolito, slighly edited:
[
1052399 ] plistlib: add plst resource functionality, fix bugs
Tim Peters [Mon, 25 Oct 2004 03:19:41 +0000 (03:19 +0000)]
Whitespace normalization.
Tim Peters [Sun, 24 Oct 2004 23:45:42 +0000 (23:45 +0000)]
format_paragraph_event(): Patch 961387 introduced a bug here, causing
the indentation of a comment block to be ignored when reformatting the
block, leading to overly long reformatted lines (too wide by an amount
equal to the indentation width). Looks like a typo in the original
patch, a 1-character repair.
Raymond Hettinger [Sun, 24 Oct 2004 00:32:24 +0000 (00:32 +0000)]
SF bug #
1052503 : pdb runcall should accept keyword arguments
Raymond Hettinger [Sun, 24 Oct 2004 00:10:06 +0000 (00:10 +0000)]
SF bug #
1048870 : call arg of lambda not updating
Tim Peters [Sat, 23 Oct 2004 03:48:57 +0000 (03:48 +0000)]
Converted some stinking hard tabs. Left the fragrant hard tabs alone.
Tim Peters [Sat, 23 Oct 2004 03:43:54 +0000 (03:43 +0000)]
Move to version 2 of the PSF license, approved by the Board earlier today.
Vinay Sajip [Fri, 22 Oct 2004 21:43:15 +0000 (21:43 +0000)]
Added example of multiple destinations
Brett Cannon [Fri, 22 Oct 2004 06:22:54 +0000 (06:22 +0000)]
Fix minor reST error in Misc/NEWS.
Applies patch #
1051866 . Thanks Felix Wiemann.
Sean Reifschneider [Thu, 21 Oct 2004 23:35:45 +0000 (23:35 +0000)]
Latest version for beta 1.
Vinay Sajip [Thu, 21 Oct 2004 21:24:27 +0000 (21:24 +0000)]
Fixed bug in handling of args in LogRecord.__init__.
Peter Astrand [Thu, 21 Oct 2004 19:28:34 +0000 (19:28 +0000)]
Removed test_close_fds, because it's too unreliable. We simply cannot
know that the newly-started Python process only has 3 filedescriptors
open. Fixes bug
1048808 .
Andrew M. Kuchling [Wed, 20 Oct 2004 11:56:15 +0000 (11:56 +0000)]
Add item
Andrew M. Kuchling [Wed, 20 Oct 2004 11:48:42 +0000 (11:48 +0000)]
[Patch #
1043972 , for bug #
1017553 ] filemode() returns an incorrect value for the mode 07111
Andrew M. Kuchling [Wed, 20 Oct 2004 11:47:01 +0000 (11:47 +0000)]
Add test case for bug #
1017553
Fred Drake [Wed, 20 Oct 2004 11:08:35 +0000 (11:08 +0000)]
when only using half of the return value of os.path.split(), use
os.path.dirname() or os.path.basename() instead
Vinay Sajip [Wed, 20 Oct 2004 08:39:40 +0000 (08:39 +0000)]
Changed handling of args in LogRecord.__init__.
Raymond Hettinger [Wed, 20 Oct 2004 08:21:57 +0000 (08:21 +0000)]
SF bug #902037: relative on-disk SYSTEM id handling is incorrect
Raymond Hettinger [Wed, 20 Oct 2004 08:21:19 +0000 (08:21 +0000)]
SF bug #902037: relative on-disk SYSTEM id handling is incorrect
(Contributed by Bob Ippolito.)
backport candidate.
Raymond Hettinger [Wed, 20 Oct 2004 07:17:16 +0000 (07:17 +0000)]
SF patch #
1038388 : __main__ for whichdb.py
(Contributed by Oleg Broytmann.)
Raymond Hettinger [Wed, 20 Oct 2004 06:58:28 +0000 (06:58 +0000)]
SF bug #
1048728 : Bug fixes and cleanup for decimal.py
(Contributed by Neal Norwitz. Reviewed by Facundo Bastista.)
Andrew M. Kuchling [Tue, 19 Oct 2004 19:56:55 +0000 (19:56 +0000)]
Delete empty sections in beta1 news
Andrew M. Kuchling [Tue, 19 Oct 2004 19:54:41 +0000 (19:54 +0000)]
Add item
Andrew M. Kuchling [Tue, 19 Oct 2004 19:50:23 +0000 (19:50 +0000)]
Remove the current version of zlib (we'll just have to keep updating it); rewrite following sentence to make sense without the previous one
Andrew M. Kuchling [Tue, 19 Oct 2004 19:39:02 +0000 (19:39 +0000)]
Typo fixes, and a minor edit to clarify a sentence
Andrew M. Kuchling [Tue, 19 Oct 2004 19:36:09 +0000 (19:36 +0000)]
Display helpful message; print repr() of return value so the whitespace is clearer
Andrew M. Kuchling [Tue, 19 Oct 2004 19:29:40 +0000 (19:29 +0000)]
[Bug #
1048816 ] Fix bug when you do Ctrl-K at the start of a line; fix from Stefan Heimann
Andrew M. Kuchling [Tue, 19 Oct 2004 19:21:20 +0000 (19:21 +0000)]
Make magic coordinates more readable
Andrew M. Kuchling [Tue, 19 Oct 2004 18:52:49 +0000 (18:52 +0000)]
[Bug #
1049826 ] Update version of zlib referenced in text
Fred Drake [Tue, 19 Oct 2004 15:40:38 +0000 (15:40 +0000)]
Rely on the style sheet more for the distutils markup.
Fred Drake [Mon, 18 Oct 2004 21:30:40 +0000 (21:30 +0000)]
made it clear that this isn't a complete reference to
LaTeX-as-used-in-Python-documentation, and added some notes about
what's missing
Andrew M. Kuchling [Mon, 18 Oct 2004 16:16:53 +0000 (16:16 +0000)]
Bump version
Brett Cannon [Mon, 18 Oct 2004 01:53:15 +0000 (01:53 +0000)]
Clarify note about using %U and %W with strptime().
Brett Cannon [Mon, 18 Oct 2004 01:47:46 +0000 (01:47 +0000)]
Fix comments.
Brett Cannon [Mon, 18 Oct 2004 01:37:57 +0000 (01:37 +0000)]
Add support for %U and %W to contribute to calculating the date when the year
and day of the week are specified.
Closes bug #
1045381 .
Brett Cannon [Mon, 18 Oct 2004 01:32:09 +0000 (01:32 +0000)]
Add sections for 2.4b2
Hye-Shik Chang [Sun, 17 Oct 2004 23:51:21 +0000 (23:51 +0000)]
SF #
1048865 : Fix a trivial typo that breaks StreamReader.readlines()
Neal Norwitz [Sun, 17 Oct 2004 19:55:47 +0000 (19:55 +0000)]
SF bug #
1048756 , Doc typo for pdb
Fred Drake [Sun, 17 Oct 2004 19:36:57 +0000 (19:36 +0000)]
some platforms still need offsetof() from structmember.h
Raymond Hettinger [Sun, 17 Oct 2004 16:40:14 +0000 (16:40 +0000)]
Fix and test weak referencing of itertools.tee objects.
Raymond Hettinger [Sun, 17 Oct 2004 16:36:53 +0000 (16:36 +0000)]
Fix docstring formatting of escape sequences.
Neal Norwitz [Sun, 17 Oct 2004 16:36:05 +0000 (16:36 +0000)]
SF patch #
1047577 , typo in liblocale.tex
Fredrik Lundh [Sun, 17 Oct 2004 16:29:48 +0000 (16:29 +0000)]
SF Patch #
1048341 : subprocess documentation, based on PEP/docstring by
Peter Astrand, with markup by Fredrik Lundh and Raymond Hettinger.
Neal Norwitz [Sun, 17 Oct 2004 16:27:18 +0000 (16:27 +0000)]
Invalid patterns to substitute and safe_substitute would crash since pattern
is not a local variable. Add a test case.
Neal Norwitz [Sun, 17 Oct 2004 16:24:25 +0000 (16:24 +0000)]
Use proper value for False
Neal Norwitz [Sun, 17 Oct 2004 16:23:52 +0000 (16:23 +0000)]
Remove unnecessary imports
Fredrik Lundh [Sun, 17 Oct 2004 14:47:05 +0000 (14:47 +0000)]
return codes are available on all platforms, not just on Unix
Facundo Batista [Sat, 16 Oct 2004 21:40:35 +0000 (21:40 +0000)]
SF Bug #
1046800 : Importing Tkinter correctly (thanks Vishnu).
cvs2svn [Fri, 15 Oct 2004 08:07:21 +0000 (08:07 +0000)]
This commit was manufactured by cvs2svn to create tag 'r24b1'.
Anthony Baxter [Fri, 15 Oct 2004 08:07:21 +0000 (08:07 +0000)]
release shenanigans
Marc-André Lemburg [Fri, 15 Oct 2004 07:45:05 +0000 (07:45 +0000)]
Applied patch for [
1047269 ] Buffer overwrite in PyUnicode_AsWideChar.
Python 2.3.x candidate.
Fredrik Lundh [Fri, 15 Oct 2004 06:15:08 +0000 (06:15 +0000)]
make sure to check for this limit even if we're running with -O
Martin v. Löwis [Fri, 15 Oct 2004 05:44:39 +0000 (05:44 +0000)]
Bump buildno for 2.4b1
Martin v. Löwis [Fri, 15 Oct 2004 04:27:51 +0000 (04:27 +0000)]
Add _subprocess.c
Martin v. Löwis [Fri, 15 Oct 2004 04:26:18 +0000 (04:26 +0000)]
Patch #
1020042 : Only define HAVE_UINTPTR_T for VC 7.x.
Raymond Hettinger [Thu, 14 Oct 2004 15:23:38 +0000 (15:23 +0000)]
SF bug #
1046855 : httplib index out of range
Michael W. Hudson [Thu, 14 Oct 2004 13:27:14 +0000 (13:27 +0000)]
Just remove the #include of signal.h. That it was C++-commented out
was a mistake of mine in updating patch #975056 (I think).
Anthony Baxter [Thu, 14 Oct 2004 10:02:08 +0000 (10:02 +0000)]
Patch
1046644 - improved distutils support for SWIG.
Fred Drake [Thu, 14 Oct 2004 05:07:17 +0000 (05:07 +0000)]
bump the version number prior to release
Tim Peters [Thu, 14 Oct 2004 04:16:54 +0000 (04:16 +0000)]
remove_stderr_debug_decorations(): Always try the substitution. Else
this test failed under the combination of passing -O to a debug-build
Python. Now all 4 of those pass ({debug, release} x {-O, no -O}).
Neal Norwitz [Thu, 14 Oct 2004 03:48:30 +0000 (03:48 +0000)]
Use C89 style comment for old compilers
Neal Norwitz [Thu, 14 Oct 2004 03:46:18 +0000 (03:46 +0000)]
Get test to pass on amd64 (opteron). This is pretty hacky, but
rangeobject.c has an #ifdef that is reached only when LONG_MAX != INT_MAX
Tim Peters [Thu, 14 Oct 2004 03:09:48 +0000 (03:09 +0000)]
SF bug
1046690 : difflib.HtmlDiff doc errors.
Easy doc corrections from Dan Gass.
Also repaired the LaTeX for optional keyword arguments throughout, which
was (incorrectly) nested instead of flat.
Martin v. Löwis [Wed, 13 Oct 2004 19:57:14 +0000 (19:57 +0000)]
Require minimally PyXML 0.8.4.
Martin v. Löwis [Wed, 13 Oct 2004 19:50:11 +0000 (19:50 +0000)]
Synchronize with PyXML 1.79:
73: Restore support for Python 2.1.
74: Factor the previous change differently
79: Conditionalize usage of PyTuple_Pack.
Fredrik Lundh [Wed, 13 Oct 2004 18:19:18 +0000 (18:19 +0000)]
Replace dynamic try/except with "if 0", to keep py2exe happy. If you
want to use pywin32 instead of _subprocess, you have to edit the file.
Anthony Baxter [Wed, 13 Oct 2004 15:54:17 +0000 (15:54 +0000)]
Patch 983206: distutils obeys LDSHARED env var. Removed the code in
Python's own setup.py that did the same thing (and tested on Solaris,
where LDSHARED is needed...)
Anthony Baxter [Wed, 13 Oct 2004 15:30:56 +0000 (15:30 +0000)]
Patch 977343, Solaris likes sys/loadavg.h. Added support for sys/loadavg.h
detection to configure &c.
Anthony Baxter [Wed, 13 Oct 2004 14:55:56 +0000 (14:55 +0000)]
969574
Anthony Baxter [Wed, 13 Oct 2004 14:48:50 +0000 (14:48 +0000)]
Patch #975056 - fixes for restartable signals on *BSD. In addition,
a few remaining calls to signal() were converted to PyOS_setsig().
Jim Fulton [Wed, 13 Oct 2004 14:15:32 +0000 (14:15 +0000)]
Fixed a small bug. doctest didn't handle unicode docstrings containing
non-ascii characters.
Anthony Baxter [Wed, 13 Oct 2004 13:22:34 +0000 (13:22 +0000)]
oops. how did _that_ happen?
Anthony Baxter [Wed, 13 Oct 2004 12:35:28 +0000 (12:35 +0000)]
Backing out the basic dependency checking (from pycon sprint).
This support was only a first cut, and doesn't deserve to be in
a released version (where we have to support it in an ongoing
manner)
Fredrik Lundh [Wed, 13 Oct 2004 07:54:54 +0000 (07:54 +0000)]
Don't spend quite as much time looking for leaks on Windows, where
it's rather expensive to create new processes.
Fredrik Lundh [Wed, 13 Oct 2004 06:55:40 +0000 (06:55 +0000)]
normalize case when comparing directory names (problem reported by
"Khalid A. B." on python-dev)
Fredrik Lundh [Wed, 13 Oct 2004 06:48:37 +0000 (06:48 +0000)]
removed info@pythonware.com reference
(should probably remove all traces of _xmlrpclib, but I'll leave that
for another day.)
Martin v. Löwis [Wed, 13 Oct 2004 05:29:39 +0000 (05:29 +0000)]
Add a comment explaining -kb.