]> granicus.if.org Git - python/log
python
19 years agoDisable this test until I can test on big-endian machines and get passing
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

19 years agoTest zipimporter a bit more. Also get working with -R :: option for finding ref...
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

19 years agoConvenience function to remove a possibly non-existant file
Neal Norwitz [Mon, 23 Jan 2006 07:51:27 +0000 (07:51 +0000)]
Convenience function to remove a possibly non-existant file

19 years agoTest getsignal() and some error conditions
Neal Norwitz [Mon, 23 Jan 2006 07:50:06 +0000 (07:50 +0000)]
Test getsignal() and some error conditions

19 years agoUse unittest and make sure a few other cases don't crash
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

19 years agoThis should fix a mem leak on the Mac. Brett tested it.
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.

19 years agoAnother typo.
Georg Brandl [Sun, 22 Jan 2006 20:47:26 +0000 (20:47 +0000)]
Another typo.

19 years agotypo
Georg Brandl [Sun, 22 Jan 2006 19:38:05 +0000 (19:38 +0000)]
typo

19 years agoCorrect several typos in libos.tex. Bug #1412227.
Georg Brandl [Sun, 22 Jan 2006 19:34:59 +0000 (19:34 +0000)]
Correct several typos in libos.tex. Bug #1412227.

19 years agoTypo
Georg Brandl [Sun, 22 Jan 2006 16:11:01 +0000 (16:11 +0000)]
Typo

19 years agoRemove reference to Grail and Netscape 2.0 from cgi docs.
Georg Brandl [Sun, 22 Jan 2006 13:49:21 +0000 (13:49 +0000)]
Remove reference to Grail and Netscape 2.0 from cgi docs.

19 years agoMisc. changes, including documenting the ability to specify a class attribute in...
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.

19 years agoFix typo
Walter Dörwald [Sat, 21 Jan 2006 10:50:39 +0000 (10:50 +0000)]
Fix typo

19 years agoBug #902075: urllib2 now handles "host:port" proxy specifications
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?

19 years ago_compile(): raise an exception if downcasting to SRE_CODE
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.

19 years agoWhitespace normalization.
Tim Peters [Fri, 20 Jan 2006 23:40:56 +0000 (23:40 +0000)]
Whitespace normalization.

19 years agoPatch #1410998: remove "DOS" from os.py docstring
Georg Brandl [Fri, 20 Jan 2006 21:36:02 +0000 (21:36 +0000)]
Patch #1410998: remove "DOS" from os.py docstring

19 years agoPatch #1410783: add documentation links for static/classmethod
Georg Brandl [Fri, 20 Jan 2006 21:33:54 +0000 (21:33 +0000)]
Patch #1410783: add documentation links for static/classmethod

19 years agoDocument supported schemes.
Georg Brandl [Fri, 20 Jan 2006 21:17:01 +0000 (21:17 +0000)]
Document supported schemes.

19 years agoTry to resolve the remaining webbrowser issues (backgrounding, local urls)
Georg Brandl [Fri, 20 Jan 2006 21:03:35 +0000 (21:03 +0000)]
Try to resolve the remaining webbrowser issues (backgrounding, local urls)

19 years agoWhitespace normalization.
Tim Peters [Fri, 20 Jan 2006 20:03:24 +0000 (20:03 +0000)]
Whitespace normalization.

19 years agoAdded a test for the ability to specify a class attribute in Formatter configuration...
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.

19 years agoAdded a test for the ability to specify a class attribute in Formatter configuration...
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.

19 years agoAdded the ability to specify a class attribute in Formatter configuration. Contribute...
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.

19 years agoPatch #1388073: Make unittest.TestCase easier to subclass
Georg Brandl [Fri, 20 Jan 2006 17:55:00 +0000 (17:55 +0000)]
Patch #1388073: Make unittest.TestCase easier to subclass

19 years agotypo
Georg Brandl [Fri, 20 Jan 2006 17:53:27 +0000 (17:53 +0000)]
typo

19 years agoAdd markup to a "Python Standard Library" doc reference I added for bug 839585.
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.

19 years agoCheckin the test of patch #1400181.
Georg Brandl [Fri, 20 Jan 2006 17:48:54 +0000 (17:48 +0000)]
Checkin the test of patch #1400181.

19 years agoBug #1407902: Added support for sftp:// URIs to urlparse.
Georg Brandl [Fri, 20 Jan 2006 17:24:23 +0000 (17:24 +0000)]
Bug #1407902: Added support for sftp:// URIs to urlparse.

19 years agoReadd bug report note.
Georg Brandl [Fri, 20 Jan 2006 13:38:26 +0000 (13:38 +0000)]
Readd bug report note.

19 years agoBug #1402224: Add warning to dl docs about crashes.
Georg Brandl [Fri, 20 Jan 2006 09:34:29 +0000 (09:34 +0000)]
Bug #1402224: Add warning to dl docs about crashes.

19 years agoBug #1396471: Document that Windows' ftell() can return invalid
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.

19 years agoBug #1371247: Update Windows LCIDs in locale.py.
Georg Brandl [Fri, 20 Jan 2006 09:07:35 +0000 (09:07 +0000)]
Bug #1371247: Update Windows LCIDs in locale.py.

19 years agoadd missing version identification
Fred Drake [Fri, 20 Jan 2006 03:30:36 +0000 (03:30 +0000)]
add missing version identification

19 years agoPass unquoted string to stat.
Martin v. Löwis [Thu, 19 Jan 2006 16:17:31 +0000 (16:17 +0000)]
Pass unquoted string to stat.

19 years agoinitwinsound(): this no longer compiled on Windows,
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.

19 years agoinitmsvcrt(): This no longer compiled on Windows, because
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.

19 years agoAdd a more informative error message for test_float_parsing so the failing
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.

19 years agoCheck return result from Py_InitModule*(). This API can fail.
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.

19 years agoQuote the path to the executable before invoking system().
Tim Peters [Wed, 18 Jan 2006 20:04:02 +0000 (20:04 +0000)]
Quote the path to the executable before invoking system().

19 years agoAdd missing make_buildinfo.c.
Martin v. Löwis [Wed, 18 Jan 2006 19:18:51 +0000 (19:18 +0000)]
Add missing make_buildinfo.c.

19 years agoGenerate getbuildinfo.o each time the linker is invoked;
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.

19 years agofixed example:
Fredrik Lundh [Tue, 17 Jan 2006 21:31:31 +0000 (21:31 +0000)]
fixed example:
adding missing import, handle_close, test code, etc.

19 years agoSF bug #1347874; FeedParser does not comply with RFC2822.
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.

19 years agoSF Bug #1407069, Remove extra semi-colon if there is no long long
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

19 years agoUpdate email.Message.get_filename() documentation.
Barry Warsaw [Tue, 17 Jan 2006 05:24:25 +0000 (05:24 +0000)]
Update email.Message.get_filename() documentation.

19 years agoPorted 42075 from release23-maint branch.
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.

19 years agoRefactoring for fileConfig. Contributed by Shane Hathaway.
Vinay Sajip [Mon, 16 Jan 2006 21:28:37 +0000 (21:28 +0000)]
Refactoring for fileConfig. Contributed by Shane Hathaway.

19 years agoChanges due to added test 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.

19 years agoAdded 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.

19 years agoExceptions raised during renaming in rotating file handlers are now passed to handleE...
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).

19 years agoExceptions raised during renaming in rotating file handlers are now passed to handleE...
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).

19 years agoTimedRotatingFileHandler now calculates next rollover from previous rollover rather...
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.

19 years agoFixed bug in time-to-midnight calculation.
Vinay Sajip [Mon, 16 Jan 2006 09:08:06 +0000 (09:08 +0000)]
Fixed bug in time-to-midnight calculation.

19 years agorefresh every 12 hours for crazy people like me that keep the page up
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

19 years agoGet socketmodule to build after adding netlink support.
Neal Norwitz [Mon, 16 Jan 2006 04:31:40 +0000 (04:31 +0000)]
Get socketmodule to build after adding netlink support.

19 years agoAdd recent item
Andrew M. Kuchling [Sun, 15 Jan 2006 16:11:28 +0000 (16:11 +0000)]
Add recent item

19 years agothe implementation uses ZipImportError, not ZipImporterError...
Fredrik Lundh [Sun, 15 Jan 2006 15:00:40 +0000 (15:00 +0000)]
the implementation uses ZipImportError, not ZipImporterError...

19 years agothe implementation uses ZipImportError, not ZipImporterError...
Fredrik Lundh [Sun, 15 Jan 2006 14:59:55 +0000 (14:59 +0000)]
the implementation uses ZipImportError, not ZipImporterError...

19 years agotypo
Fredrik Lundh [Sun, 15 Jan 2006 10:17:59 +0000 (10:17 +0000)]
typo

19 years agoRemove buildno.
Martin v. Löwis [Sun, 15 Jan 2006 09:34:11 +0000 (09:34 +0000)]
Remove buildno.

19 years agoPatch #1396093: Further .vcproj cleanups
Martin v. Löwis [Sun, 15 Jan 2006 09:26:43 +0000 (09:26 +0000)]
Patch #1396093: Further .vcproj cleanups

19 years agoRemove dots in \version{changed,added} argument and
Georg Brandl [Sun, 15 Jan 2006 07:55:35 +0000 (07:55 +0000)]
Remove dots in \version{changed,added} argument and
correct argument order.

19 years agoChange build format of netlink addresses.
Martin v. Löwis [Sun, 15 Jan 2006 07:49:20 +0000 (07:49 +0000)]
Change build format of netlink addresses.

19 years agoRemove extra period at end.
Neal Norwitz [Sun, 15 Jan 2006 02:57:57 +0000 (02:57 +0000)]
Remove extra period at end.

19 years agoAlphabetize some names and remove a dupe
Neal Norwitz [Sat, 14 Jan 2006 21:26:22 +0000 (21:26 +0000)]
Alphabetize some names and remove a dupe

19 years agoPatch #1103116: AF_NETLINK sockets basic support.
Martin v. Löwis [Sat, 14 Jan 2006 18:12:57 +0000 (18:12 +0000)]
Patch #1103116: AF_NETLINK sockets basic support.

19 years agoadded kjohnson to the ACKS list
Fredrik Lundh [Sat, 14 Jan 2006 13:02:53 +0000 (13:02 +0000)]
added kjohnson to the ACKS list

19 years agocollected my segfaulting Python examples from the SF trackers
Armin Rigo [Sat, 14 Jan 2006 10:58:30 +0000 (10:58 +0000)]
collected my segfaulting Python examples from the SF trackers
(is the purpose of the crashers directory to scare people? :-)

19 years agoFix typo
Neal Norwitz [Sat, 14 Jan 2006 07:05:13 +0000 (07:05 +0000)]
Fix typo

19 years agoBug #1394565: SimpleHTTPServer now doesn't choke on query paramters
Georg Brandl [Fri, 13 Jan 2006 17:05:56 +0000 (17:05 +0000)]
Bug #1394565: SimpleHTTPServer now doesn't choke on query paramters
any more.

19 years agoBug #1403410: The warnings module now doesn't get confused
Georg Brandl [Fri, 13 Jan 2006 16:59:46 +0000 (16:59 +0000)]
Bug #1403410: The warnings module now doesn't get confused
when it can't find out the module name it generates a warning for.

19 years agoWhitespace normalization.
Tim Peters [Fri, 13 Jan 2006 03:05:25 +0000 (03:05 +0000)]
Whitespace normalization.

19 years agoTest curses.setupterm() before initscr().
Georg Brandl [Thu, 12 Jan 2006 15:41:05 +0000 (15:41 +0000)]
Test curses.setupterm() before initscr().

19 years agoFix SF bug #1402308, segfault when using mmap(-1, ...)
Neal Norwitz [Wed, 11 Jan 2006 08:54:45 +0000 (08:54 +0000)]
Fix SF bug #1402308, segfault when using mmap(-1, ...)

This didn't crash on Linux, but valgrind complained.
I'm not sure if this test is valid on Windows.

Will backport.

19 years agoadd another crash reported by Thomas Wouters
Neal Norwitz [Wed, 11 Jan 2006 07:21:19 +0000 (07:21 +0000)]
add another crash reported by Thomas Wouters

19 years agoadded a missing +\versionadded{2.2} tag
Fredrik Lundh [Wed, 11 Jan 2006 00:18:43 +0000 (00:18 +0000)]
added a missing +\versionadded{2.2} tag

19 years agoadded a few missing \versionadded{2.3} tags
Fredrik Lundh [Wed, 11 Jan 2006 00:14:29 +0000 (00:14 +0000)]
added a few missing \versionadded{2.3} tags

19 years agoBug #1397205: doc typo
Georg Brandl [Tue, 10 Jan 2006 21:37:26 +0000 (21:37 +0000)]
Bug #1397205: doc typo

19 years agoRemove outstanding_crashes again.
Georg Brandl [Tue, 10 Jan 2006 20:07:13 +0000 (20:07 +0000)]
Remove outstanding_crashes again.

19 years agoAdd outstanding_crashes.py with tests for crashes.
Georg Brandl [Tue, 10 Jan 2006 19:29:24 +0000 (19:29 +0000)]
Add outstanding_crashes.py with tests for crashes.

19 years agoAs I threatened on python-dev, add a directory which contains all known
Neal Norwitz [Tue, 10 Jan 2006 07:49:41 +0000 (07:49 +0000)]
As I threatened on python-dev, add a directory which contains all known
bugs which cause the interpreter to crash.  I'm sure we can find a few
more.  Many missing bugs deal with variations on unchecked infinite recursion
(like coerce.py).

19 years agoSF bug #1400822, Extended version of _curses over{lay,write} does not work
Neal Norwitz [Tue, 10 Jan 2006 07:05:44 +0000 (07:05 +0000)]
SF bug #1400822, Extended version of _curses over{lay,write} does not work

Fix signatures to conform to doc (also fixed ungetmouse()).

Will backport.

19 years ago- Patch #1400181, fix unicode string formatting to not use the locale.
Neal Norwitz [Tue, 10 Jan 2006 06:03:13 +0000 (06:03 +0000)]
- Patch #1400181, fix unicode string formatting to not use the locale.
  This is how string objects work.  u'%f' could use , instead of .
  for the decimal point.  Now both strings and unicode always use periods.

This is the code that would break:

import locale
locale.setlocale(locale.LC_NUMERIC, 'de_DE')
u'%.1f' % 1.0
assert '1.0' == u'%.1f' % 1.0

I couldn't create a test case which fails, but this fixes the problem.

Will backport.

19 years agoadded a couple of missing periods.
Fredrik Lundh [Mon, 9 Jan 2006 22:45:34 +0000 (22:45 +0000)]
added a couple of missing periods.

19 years agoCorrect test_builtin locale handling.
Georg Brandl [Mon, 9 Jan 2006 22:36:58 +0000 (22:36 +0000)]
Correct test_builtin locale handling.

19 years agofixed broken sentence
Fredrik Lundh [Mon, 9 Jan 2006 22:02:26 +0000 (22:02 +0000)]
fixed broken sentence

19 years agotypo
Fredrik Lundh [Mon, 9 Jan 2006 22:01:18 +0000 (22:01 +0000)]
typo

19 years agoFix typos.
Walter Dörwald [Mon, 9 Jan 2006 12:45:01 +0000 (12:45 +0000)]
Fix typos.

19 years agoAdd some notes about a recurring problem with OpenBSD
Neal Norwitz [Mon, 9 Jan 2006 07:29:03 +0000 (07:29 +0000)]
Add some notes about a recurring problem with OpenBSD

19 years agoFix bugs #1244610, #1392915, fix build problem on OpenBSD 3.7 and 3.8.
Neal Norwitz [Mon, 9 Jan 2006 07:07:12 +0000 (07:07 +0000)]
Fix bugs #1244610, #1392915, fix build problem on OpenBSD 3.7 and 3.8.
configure would break checking curses.h.

Will backport.

19 years agoBug #1400115, Fix segfault when calling curses.panel.userptr()
Neal Norwitz [Mon, 9 Jan 2006 06:24:35 +0000 (06:24 +0000)]
Bug #1400115, Fix segfault when calling curses.panel.userptr()
without prior setting of the userptr.

Will backport.

19 years agoAdd myself.
Georg Brandl [Sun, 8 Jan 2006 21:13:38 +0000 (21:13 +0000)]
Add myself.

19 years agoAdd a test file (which isn't run by regrtest) for bugs which
Georg Brandl [Sun, 8 Jan 2006 14:32:19 +0000 (14:32 +0000)]
Add a test file (which isn't run by regrtest) for bugs which
aren't fixed yet.

Includes a first test (for compiler).

19 years agoPatch #1299675: Pass metadata in upload.
Martin v. Löwis [Sun, 8 Jan 2006 10:48:54 +0000 (10:48 +0000)]
Patch #1299675: Pass metadata in upload.

19 years agoPatch #1177307: UTF-8-Sig codec.
Martin v. Löwis [Sun, 8 Jan 2006 10:45:39 +0000 (10:45 +0000)]
Patch #1177307: UTF-8-Sig codec.

19 years agoPatch #881820: look for openpty and forkpty also in libbsd.
Martin v. Löwis [Sun, 8 Jan 2006 10:07:33 +0000 (10:07 +0000)]
Patch #881820: look for openpty and forkpty also in libbsd.
Will backport.

19 years agoRemove some shadowed variables
Neal Norwitz [Sun, 8 Jan 2006 06:13:44 +0000 (06:13 +0000)]
Remove some shadowed variables

19 years agostrlen() returns a size_t, get rid of 64-bit warning
Neal Norwitz [Sun, 8 Jan 2006 06:13:13 +0000 (06:13 +0000)]
strlen() returns a size_t, get rid of 64-bit warning

19 years agoRepair bizarre indentation created by VC 7.1.
Tim Peters [Sun, 8 Jan 2006 02:28:41 +0000 (02:28 +0000)]
Repair bizarre indentation created by VC 7.1.