]>
granicus.if.org Git - python/log
Barry Warsaw [Sat, 4 Feb 2006 23:32:26 +0000 (23:32 +0000)]
Resolves SF bug #
1423972 .
Neal Norwitz [Sat, 4 Feb 2006 23:00:48 +0000 (23:00 +0000)]
SF bug
1415455 , fix typo in module name
Martin v. Löwis [Sat, 4 Feb 2006 19:12:37 +0000 (19:12 +0000)]
Patch #
1422385 : Changes to nis module to support multiple NIS domains
Neal Norwitz [Sat, 4 Feb 2006 03:26:20 +0000 (03:26 +0000)]
Fix typo
Martin v. Löwis [Fri, 3 Feb 2006 12:54:16 +0000 (12:54 +0000)]
Drop C library for stat/fstat on Windows.
Barry Warsaw [Fri, 3 Feb 2006 04:44:52 +0000 (04:44 +0000)]
parsedate_tz(): Minor cleanup.
Port from Python 2.3/email 2.5: Add a test for the tm_yday field is 1 in the
return of parsedate().
Fredrik Lundh [Thu, 2 Feb 2006 21:58:55 +0000 (21:58 +0000)]
SF patch #
1421726
fixed typo in language reference
Thomas Wouters [Wed, 1 Feb 2006 21:32:04 +0000 (21:32 +0000)]
As discussed on python-dev, silence three gcc-4.0.x warnings, using assert()
to protect against actual uninitialized usage.
Objects/longobject.c: In function ‘PyLong_AsDouble’:
Objects/longobject.c:655: warning: ‘e’ may be used uninitialized in this function
Objects/longobject.c: In function ‘long_true_divide’:
Objects/longobject.c:2263: warning: ‘aexp’ may be used uninitialized in this function
Objects/longobject.c:2263: warning: ‘bexp’ may be used uninitialized in this function
Gustavo Niemeyer [Tue, 31 Jan 2006 18:34:13 +0000 (18:34 +0000)]
Patch #
1413711 : Certain patterns of differences were making difflib
touch the recursion limit. The applied patch inlines the recursive
__helper method in a non-recursive way.
Martin v. Löwis [Mon, 30 Jan 2006 15:04:31 +0000 (15:04 +0000)]
Fix typo.
Gregory P. Smith [Mon, 30 Jan 2006 00:22:08 +0000 (00:22 +0000)]
maintain support for older python versions in this module so that it
is ok for a standalone pybsddb source dist for use with <= 2.3.
Gregory P. Smith [Sun, 29 Jan 2006 23:54:38 +0000 (23:54 +0000)]
fix test import for use in standalone pybsddb project bsddb3 module as well
as python builtin bsddb.
Tim Peters [Sun, 29 Jan 2006 22:50:26 +0000 (22:50 +0000)]
Whitespace normalization.
Martin v. Löwis [Sun, 29 Jan 2006 20:10:38 +0000 (20:10 +0000)]
Try a number of ports, in case 9020 is already in use.
Martin v. Löwis [Sun, 29 Jan 2006 19:55:18 +0000 (19:55 +0000)]
Explicitly close the server socket.
Gregory P. Smith [Sun, 29 Jan 2006 19:46:23 +0000 (19:46 +0000)]
add bsddb.db.DBEnv.set_tx_timestamp mention
Martin v. Löwis [Sun, 29 Jan 2006 09:53:44 +0000 (09:53 +0000)]
Delete aclocal.m4, and require autoconf 2.59, fixing
#811160 in a different way.
Thomas Wouters [Sat, 28 Jan 2006 12:05:54 +0000 (12:05 +0000)]
Work around a Solaris peculiarity that caused test_pty to sometimes fail: a
tty opened by os.openpty() isn't always a tty according to os.isatty(), when
it's tested inside the process that opened it. Doesn't affect actual
functionality, as using a tty this way is rarely, if ever, useful. Ignoring
the failure allows the test for actual functionality to continue.
Will backport to 2.4-maint.
Jeremy Hylton [Fri, 27 Jan 2006 15:18:39 +0000 (15:18 +0000)]
Improved handling of syntax errors.
Expand set of errors caught in set_context(). Some new errors, some
old error messages changed for consistency.
Fixed error checking in generator expression code. The first set of
tests were impossible condition given the grammar. In general, the
ast code uses REQ() for those sanity checks.
Fix some error handling for augmented assignments. As comments in the
code explain, set_context() ought to work here, but I got unexpected
crashes when I tried it. Should come back to this.
Add note to Grammar that yield expression is a special case.
Add doctest cases for SyntaxErrors raised by ast.c.
Gregory P. Smith [Fri, 27 Jan 2006 07:06:15 +0000 (07:06 +0000)]
Add wrapper for DBEnv.set_tx_timeout method to allow time based DB_RECOVER
(test cases and dbobj wrapping)
Gregory P. Smith [Fri, 27 Jan 2006 07:05:40 +0000 (07:05 +0000)]
Add wrapper for DBEnv.set_tx_timeout method to allow time based DB_RECOVER
Barry Warsaw [Thu, 26 Jan 2006 18:59:06 +0000 (18:59 +0000)]
Fix PyGC_Collect() to be exported from the built DLL on Windows. (Fix given
by Matt Messier).
Neal Norwitz [Wed, 25 Jan 2006 08:39:35 +0000 (08:39 +0000)]
There was a race condition where the connector would try to connect
before the listener was ready (on gentoo x86 buildslave). This
caused the listener to not exit normally since nobody connected to it
(waited in accept()). The exception was raised in the other thread
and the test failed.
This fix doesn't completely eliminate the race, but should make it
near impossible to trigger. Hopefully it's good enough.
Neal Norwitz [Wed, 25 Jan 2006 07:20:47 +0000 (07:20 +0000)]
Remove generated test db files
Neal Norwitz [Wed, 25 Jan 2006 05:42:22 +0000 (05:42 +0000)]
mwh pointed out _Filemodule.c is generated. So to fix the memory leak
this file (the source) must be fixed.
Why isn't there a comment at the top saying the file is generated and
why are both the source and generated file checked in? Bootstrap problem?
Will backport.
Neal Norwitz [Wed, 25 Jan 2006 05:21:55 +0000 (05:21 +0000)]
Fix bug #
1413192 , fix seg fault in bsddb if a txn was deleted before the env.
Will backport.
Tim Peters [Tue, 24 Jan 2006 22:44:54 +0000 (22:44 +0000)]
test_rude_shutdown(): Rewrote to use proper thread
synchronization and termination.
Tim Peters [Tue, 24 Jan 2006 22:44:08 +0000 (22:44 +0000)]
Whitespace normalization.
Gregory P. Smith [Tue, 24 Jan 2006 20:09:45 +0000 (20:09 +0000)]
note the bsddb extension module changes.
Gregory P. Smith [Tue, 24 Jan 2006 19:55:02 +0000 (19:55 +0000)]
commits sourceforge patch #
1407992 by neil.norwitz.
this fixes the bsddb db associate tests when compiled against
BerkeleyDB 3.3 thru 4.1. 4.2 thru 4.4 already passed and still
pass.
Fredrik Lundh [Tue, 24 Jan 2006 16:16:19 +0000 (16:16 +0000)]
module list utility
Martin v. Löwis [Tue, 24 Jan 2006 15:51:21 +0000 (15:51 +0000)]
Patch #
1349118 : urllib2 now supports user:pass@ style proxy
specifications, raises IOErrors when proxies for unsupported protocols
are defined, and uses the https proxy on https redirections.
Gregory P. Smith [Tue, 24 Jan 2006 09:46:48 +0000 (09:46 +0000)]
Support for BerkeleyDB 4.4 (tested against 4.4.20 as well as all the
way back thru 3.2). This should be backported to the release24-maint
branch.
Neal Norwitz [Tue, 24 Jan 2006 06:06:11 +0000 (06:06 +0000)]
Fix SF #
1412837 , compile failed with Watcom compiler
Tim Peters [Mon, 23 Jan 2006 22:19:24 +0000 (22:19 +0000)]
Repaired new test failures on Windows:
- The path separator isn't "/" on Windows.
- Leaving behind a read-only file causes cascades
of bogus failures on Windows.
Georg Brandl [Mon, 23 Jan 2006 22:00:17 +0000 (22:00 +0000)]
Correct misspellings.
Georg Brandl [Mon, 23 Jan 2006 21:33:48 +0000 (21:33 +0000)]
Add markup to new section in codecs docs
Georg Brandl [Mon, 23 Jan 2006 21:33:03 +0000 (21:33 +0000)]
Correct typos and markup errors (Raymond, thanks for texcheck)
Georg Brandl [Mon, 23 Jan 2006 21:31:00 +0000 (21:31 +0000)]
Add two missing markup tags.
Tim Peters [Mon, 23 Jan 2006 21:28:42 +0000 (21:28 +0000)]
Whitespace normalization.
Georg Brandl [Mon, 23 Jan 2006 20:49:24 +0000 (20:49 +0000)]
Add \versionadded for sftp scheme
Neal Norwitz [Mon, 23 Jan 2006 08:48:03 +0000 (08:48 +0000)]
Disable this test until I can test on big-endian machines and get passing
Neal Norwitz [Mon, 23 Jan 2006 07:52:13 +0000 (07:52 +0000)]
Test zipimporter a bit more. Also get working with -R :: option for finding ref leaks
Neal Norwitz [Mon, 23 Jan 2006 07:51:27 +0000 (07:51 +0000)]
Convenience function to remove a possibly non-existant file
Neal Norwitz [Mon, 23 Jan 2006 07:50:06 +0000 (07:50 +0000)]
Test getsignal() and some error conditions
Neal Norwitz [Mon, 23 Jan 2006 07:49:36 +0000 (07:49 +0000)]
Use unittest and make sure a few other cases don't crash
Neal Norwitz [Mon, 23 Jan 2006 07:25:29 +0000 (07:25 +0000)]
This should fix a mem leak on the Mac. Brett tested it.
Georg Brandl [Sun, 22 Jan 2006 20:47:26 +0000 (20:47 +0000)]
Another typo.
Georg Brandl [Sun, 22 Jan 2006 19:38:05 +0000 (19:38 +0000)]
typo
Georg Brandl [Sun, 22 Jan 2006 19:34:59 +0000 (19:34 +0000)]
Correct several typos in libos.tex. Bug #
1412227 .
Georg Brandl [Sun, 22 Jan 2006 16:11:01 +0000 (16:11 +0000)]
Typo
Georg Brandl [Sun, 22 Jan 2006 13:49:21 +0000 (13:49 +0000)]
Remove reference to Grail and Netscape 2.0 from cgi docs.
Vinay Sajip [Sun, 22 Jan 2006 11:58:39 +0000 (11:58 +0000)]
Misc. changes, including documenting the ability to specify a class attribute in Formatter configuration. Contributed by Shane Hathaway.
Walter Dörwald [Sat, 21 Jan 2006 10:50:39 +0000 (10:50 +0000)]
Fix typo
Georg Brandl [Sat, 21 Jan 2006 07:20:56 +0000 (07:20 +0000)]
Bug #902075: urllib2 now handles "host:port" proxy specifications
Can/should this be backported?
Tim Peters [Sat, 21 Jan 2006 02:47:53 +0000 (02:47 +0000)]
_compile(): raise an exception if downcasting to SRE_CODE
loses information:
OverflowError: regular expression code size limit exceeded
Otherwise the compiled code is gibberish, possibly leading at
least to wrong results or (as reported on c.l.py) internal
sre errors at match time.
I'm not sure how to test this. SRE_CODE is a 2-byte type on
my box, and it's easy to create a regexp that causes the new
exception to trigger here. But it may be a 4-byte type on
other boxes, and creating a regexp large enough to trigger
problems there would be pretty crazy.
Bugfix candidate.
Tim Peters [Fri, 20 Jan 2006 23:40:56 +0000 (23:40 +0000)]
Whitespace normalization.
Georg Brandl [Fri, 20 Jan 2006 21:36:02 +0000 (21:36 +0000)]
Patch #
1410998 : remove "DOS" from os.py docstring
Georg Brandl [Fri, 20 Jan 2006 21:33:54 +0000 (21:33 +0000)]
Patch #
1410783 : add documentation links for static/classmethod
Georg Brandl [Fri, 20 Jan 2006 21:17:01 +0000 (21:17 +0000)]
Document supported schemes.
Georg Brandl [Fri, 20 Jan 2006 21:03:35 +0000 (21:03 +0000)]
Try to resolve the remaining webbrowser issues (backgrounding, local urls)
Tim Peters [Fri, 20 Jan 2006 20:03:24 +0000 (20:03 +0000)]
Whitespace normalization.
Vinay Sajip [Fri, 20 Jan 2006 18:29:36 +0000 (18:29 +0000)]
Added a test for the ability to specify a class attribute in Formatter configuration. Contributed by Shane Hathaway.
Vinay Sajip [Fri, 20 Jan 2006 18:28:59 +0000 (18:28 +0000)]
Added a test for the ability to specify a class attribute in Formatter configuration. Contributed by Shane Hathaway.
Vinay Sajip [Fri, 20 Jan 2006 18:28:03 +0000 (18:28 +0000)]
Added the ability to specify a class attribute in Formatter configuration. Contributed by Shane Hathaway.
Georg Brandl [Fri, 20 Jan 2006 17:55:00 +0000 (17:55 +0000)]
Patch #
1388073 : Make unittest.TestCase easier to subclass
Georg Brandl [Fri, 20 Jan 2006 17:53:27 +0000 (17:53 +0000)]
typo
Georg Brandl [Fri, 20 Jan 2006 17:51:37 +0000 (17:51 +0000)]
Add markup to a "Python Standard Library" doc reference I added for bug 839585.
Georg Brandl [Fri, 20 Jan 2006 17:48:54 +0000 (17:48 +0000)]
Checkin the test of patch #
1400181 .
Georg Brandl [Fri, 20 Jan 2006 17:24:23 +0000 (17:24 +0000)]
Bug #
1407902 : Added support for sftp:// URIs to urlparse.
Georg Brandl [Fri, 20 Jan 2006 13:38:26 +0000 (13:38 +0000)]
Readd bug report note.
Georg Brandl [Fri, 20 Jan 2006 09:34:29 +0000 (09:34 +0000)]
Bug #
1402224 : Add warning to dl docs about crashes.
Georg Brandl [Fri, 20 Jan 2006 09:14:36 +0000 (09:14 +0000)]
Bug #
1396471 : Document that Windows' ftell() can return invalid
values for text files with UNIX-style line endings.
Georg Brandl [Fri, 20 Jan 2006 09:07:35 +0000 (09:07 +0000)]
Bug #
1371247 : Update Windows LCIDs in locale.py.
Fred Drake [Fri, 20 Jan 2006 03:30:36 +0000 (03:30 +0000)]
add missing version identification
Martin v. Löwis [Thu, 19 Jan 2006 16:17:31 +0000 (16:17 +0000)]
Pass unquoted string to stat.
Tim Peters [Thu, 19 Jan 2006 15:25:07 +0000 (15:25 +0000)]
initwinsound(): this no longer compiled on Windows,
because code snuck in between auto declarations.
Tim Peters [Thu, 19 Jan 2006 15:21:30 +0000 (15:21 +0000)]
initmsvcrt(): This no longer compiled on Windows, because
a recent change inserted code before an auto declaration.
Brett Cannon [Thu, 19 Jan 2006 07:09:09 +0000 (07:09 +0000)]
Add a more informative error message for test_float_parsing so the failing
locale can be known.
Neal Norwitz [Thu, 19 Jan 2006 06:09:39 +0000 (06:09 +0000)]
Check return result from Py_InitModule*(). This API can fail.
Probably should be backported.
Tim Peters [Wed, 18 Jan 2006 20:04:02 +0000 (20:04 +0000)]
Quote the path to the executable before invoking system().
Martin v. Löwis [Wed, 18 Jan 2006 19:18:51 +0000 (19:18 +0000)]
Add missing make_buildinfo.c.
Martin v. Löwis [Wed, 18 Jan 2006 09:13:51 +0000 (09:13 +0000)]
Generate getbuildinfo.o each time the linker is invoked;
try to generate SVNVERSION information if subwcrev.exe
can be found.
Fredrik Lundh [Tue, 17 Jan 2006 21:31:31 +0000 (21:31 +0000)]
fixed example:
adding missing import, handle_close, test code, etc.
Barry Warsaw [Tue, 17 Jan 2006 05:58:08 +0000 (05:58 +0000)]
SF bug #
1347874 ; FeedParser does not comply with RFC2822.
Change headerRE as suggested in the bug report, so that single character
headers are accepted. Test case added too. Will backport to Python 2.4.
Neal Norwitz [Tue, 17 Jan 2006 05:27:39 +0000 (05:27 +0000)]
SF Bug #
1407069 , Remove extra semi-colon if there is no long long
Barry Warsaw [Tue, 17 Jan 2006 05:24:25 +0000 (05:24 +0000)]
Update email.Message.get_filename() documentation.
Barry Warsaw [Tue, 17 Jan 2006 04:49:07 +0000 (04:49 +0000)]
Ported 42075 from release23-maint branch.
SF bug #
1403349 solution for email 3.0; some MUAs use the 'file' parameter
name in the Content-Distribution header, so Message.get_filename() should fall
back to using that. Will port to the Python 2.5 trunk.
Also, bump the email package version to 3.0.1 for eventual release. Of
course, add a test case too.
XXX Need to update the documentation.
Vinay Sajip [Mon, 16 Jan 2006 21:28:37 +0000 (21:28 +0000)]
Refactoring for fileConfig. Contributed by Shane Hathaway.
Vinay Sajip [Mon, 16 Jan 2006 21:25:28 +0000 (21:25 +0000)]
Changes due to added test for fileConfig contributed by Shane Hathaway.
Vinay Sajip [Mon, 16 Jan 2006 21:24:38 +0000 (21:24 +0000)]
Added test for fileConfig. Contributed by Shane Hathaway.
Vinay Sajip [Mon, 16 Jan 2006 09:27:58 +0000 (09:27 +0000)]
Exceptions raised during renaming in rotating file handlers are now passed to handleError (except for SystemExit and KeyboardInterrupt, which are re-raised).
Vinay Sajip [Mon, 16 Jan 2006 09:27:10 +0000 (09:27 +0000)]
Exceptions raised during renaming in rotating file handlers are now passed to handleError (except for SystemExit and KeyboardInterrupt, which are re-raised).
Vinay Sajip [Mon, 16 Jan 2006 09:13:58 +0000 (09:13 +0000)]
TimedRotatingFileHandler now calculates next rollover from previous rollover rather than current time.
Vinay Sajip [Mon, 16 Jan 2006 09:08:06 +0000 (09:08 +0000)]
Fixed bug in time-to-midnight calculation.
Neal Norwitz [Mon, 16 Jan 2006 04:37:22 +0000 (04:37 +0000)]
refresh every 12 hours for crazy people like me that keep the page up
Neal Norwitz [Mon, 16 Jan 2006 04:31:40 +0000 (04:31 +0000)]
Get socketmodule to build after adding netlink support.
Andrew M. Kuchling [Sun, 15 Jan 2006 16:11:28 +0000 (16:11 +0000)]
Add recent item
Fredrik Lundh [Sun, 15 Jan 2006 15:00:40 +0000 (15:00 +0000)]
the implementation uses ZipImportError, not ZipImporterError...
Fredrik Lundh [Sun, 15 Jan 2006 14:59:55 +0000 (14:59 +0000)]
the implementation uses ZipImportError, not ZipImporterError...