SourceForge.net | 1 Nov 2004 01:16
Picon
Favicon

[ python-Bugs-1052242 ] Attempt to run all atexit handlers

Bugs item #1052242, was opened at 2004-10-22 09:31
Message generated for change (Comment added) made by montanaro
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1052242&group_id=5470

Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Greg Chapman (glchapman)
Assigned to: Skip Montanaro (montanaro)
Summary: Attempt to run all atexit handlers

Initial Comment:
Currently, if an atexit handler raises an exception
during _run_exitfuncs, none of the remaining handlers
in the _exithandlers list gets run.  I would prefer it
if _run_exitfuncs did something like:

    while _exithandlers:
        func, targs, kargs = _exithandlers.pop()
        try:
            func(*targs, **kargs)
        except SystemExit:
            raise
        except:
            import sys, traceback
            print >> sys.stderr, "Error in sys.exitfunc:"
            traceback.print_exc()
(Continue reading)

SourceForge.net | 1 Nov 2004 01:25
Picon
Favicon

[ python-Bugs-1052242 ] Attempt to run all atexit handlers

Bugs item #1052242, was opened at 2004-10-22 09:31
Message generated for change (Comment added) made by montanaro
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1052242&group_id=5470

Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Greg Chapman (glchapman)
Assigned to: Skip Montanaro (montanaro)
Summary: Attempt to run all atexit handlers

Initial Comment:
Currently, if an atexit handler raises an exception
during _run_exitfuncs, none of the remaining handlers
in the _exithandlers list gets run.  I would prefer it
if _run_exitfuncs did something like:

    while _exithandlers:
        func, targs, kargs = _exithandlers.pop()
        try:
            func(*targs, **kargs)
        except SystemExit:
            raise
        except:
            import sys, traceback
            print >> sys.stderr, "Error in sys.exitfunc:"
            traceback.print_exc()
(Continue reading)

SourceForge.net | 1 Nov 2004 04:59
Picon
Favicon

[ python-Bugs-1030118 ] email.Utils not mentioned

Bugs item #1030118, was opened at 2004-09-17 17:40
Message generated for change (Comment added) made by bwarsaw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1030118&group_id=5470

Category: Documentation
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Jeff Blaine (jblaine)
Assigned to: Barry A. Warsaw (bwarsaw)
Summary: email.Utils not mentioned

Initial Comment:
I read the following and had to track down why
'email.make_msgid()' was failing.  Turns out I need to
import email.Utils of course, but the name of the
module to import is not even mentioned in the docs.  It
states they come 'with the email package' only.

...
12.2.9 Miscellaneous utilities

There are several useful utilities provided with the
email package. 

quote(str)
    Return a new string with backslashes in str
replaced by two backslashes, and double quotes replaced
(Continue reading)

SourceForge.net | 1 Nov 2004 08:06
Picon
Favicon

[ python-Bugs-1057992 ] os.utime() doesn't work on WinME

Bugs item #1057992, was opened at 2004-11-01 02:06
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1057992&group_id=5470

Category: Extension Modules
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Raymond Hettinger (rhettinger)
Assigned to: Nobody/Anonymous (nobody)
Summary: os.utime() doesn't work on WinME

Initial Comment:
>>> from os import stat, utime
>>> utime('fi.txt', (1099285201, 1099210995))
>>> stat('fi.txt').st_atime
1099285200
>>> stat('fi.txt').st_mtime
1099210996

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1057992&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/python-python-bugs-list%40m.gmane.org

(Continue reading)

SourceForge.net | 1 Nov 2004 08:08
Picon
Favicon

[ python-Bugs-1057993 ] test_traceback.py fails on WinME

Bugs item #1057993, was opened at 2004-11-01 02:08
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1057993&group_id=5470

Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
Priority: 7
Submitted By: Raymond Hettinger (rhettinger)
Assigned to: Nobody/Anonymous (nobody)
Summary: test_traceback.py fails on WinME

Initial Comment:
Traceback (most recent call last):
  File "test_traceback.py", line 79, in test_bug737473
    test_bug737473.test()
  File "c:\windows\temp\tmpsj7w5a\test_bug737473.py",
line 2, in test ValueError

Does work if the sleep() option is forced.

Recommend always using sleep().

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1057993&group_id=5470
_______________________________________________
(Continue reading)

SourceForge.net | 1 Nov 2004 09:27
Picon
Favicon

[ python-Bugs-1057993 ] test_traceback.py fails on WinME

Bugs item #1057993, was opened at 2004-11-01 16:08
Message generated for change (Comment added) made by perky
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1057993&group_id=5470

Category: Python Library
Group: Python 2.4
>Status: Closed
>Resolution: Fixed
Priority: 7
Submitted By: Raymond Hettinger (rhettinger)
>Assigned to: Hye-Shik Chang (perky)
Summary: test_traceback.py fails on WinME

Initial Comment:
Traceback (most recent call last):
  File "test_traceback.py", line 79, in test_bug737473
    test_bug737473.test()
  File "c:\windows\temp\tmpsj7w5a\test_bug737473.py",
line 2, in test ValueError

Does work if the sleep() option is forced.

Recommend always using sleep().

----------------------------------------------------------------------

>Comment By: Hye-Shik Chang (perky)
Date: 2004-11-01 17:27

(Continue reading)

SourceForge.net | 1 Nov 2004 11:28
Picon
Favicon

[ python-Bugs-1052242 ] Attempt to run all atexit handlers

Bugs item #1052242, was opened at 2004-10-22 09:31
Message generated for change (Settings changed) made by rhettinger
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1052242&group_id=5470

Category: Python Library
Group: None
Status: Open
>Resolution: Accepted
Priority: 5
Submitted By: Greg Chapman (glchapman)
Assigned to: Skip Montanaro (montanaro)
Summary: Attempt to run all atexit handlers

Initial Comment:
Currently, if an atexit handler raises an exception
during _run_exitfuncs, none of the remaining handlers
in the _exithandlers list gets run.  I would prefer it
if _run_exitfuncs did something like:

    while _exithandlers:
        func, targs, kargs = _exithandlers.pop()
        try:
            func(*targs, **kargs)
        except SystemExit:
            raise
        except:
            import sys, traceback
            print >> sys.stderr, "Error in sys.exitfunc:"
            traceback.print_exc()
(Continue reading)

SourceForge.net | 1 Nov 2004 11:47
Picon
Favicon

[ python-Bugs-1058059 ] Can't read some http URLs using neither urllib, nor urllib2

Bugs item #1058059, was opened at 2004-11-01 13:47
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1058059&group_id=5470

Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Vsevolod Novikov (nnseva)
Assigned to: Nobody/Anonymous (nobody)
Summary: Can't read some http URLs using neither urllib, nor urllib2

Initial Comment:
HTTP connection maden by urllib, as well as by urllib2,
on some URL sleeps forever (until timeout happens) on
reading from the socket.
The popular Linux 'wget' utility behaviour is the same.
The Mozilla browser, as well as Internet Explorer
browser read this URL successfully, over proxy, as well
as directly.
The example URL is:

http://nds.nokia.com/uaprof/N3510ir100.xml

The example code is:

import urllib2
u =
(Continue reading)

SourceForge.net | 1 Nov 2004 12:41
Picon
Favicon

[ python-Bugs-1057835 ] compiler.transformer, "from module import *"

Bugs item #1057835, was opened at 2004-10-31 20:20
Message generated for change (Comment added) made by mwh
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1057835&group_id=5470

Category: Parser/Compiler
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Felix Wiemann (felixwiemann)
Assigned to: Nobody/Anonymous (nobody)
Summary: compiler.transformer, "from module import *"

Initial Comment:
import compiler.transformer
compiler.transformer.parse('from module import
*').getChildNodes()[0].getChildNodes()[0].lineno

... is 1 in Python 2.3 but None in Python 2.4b1.

lineno is 1 in Python 2.4 too when passing 'from module
import something' instead of 'from module import *'.

----------------------------------------------------------------------

>Comment By: Michael Hudson (mwh)
Date: 2004-11-01 11:41

Message:
(Continue reading)

SourceForge.net | 1 Nov 2004 14:03
Picon
Favicon

[ python-Bugs-1057835 ] compiler.transformer, "from module import *"

Bugs item #1057835, was opened at 2004-10-31 21:20
Message generated for change (Comment added) made by felixwiemann
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1057835&group_id=5470

Category: Parser/Compiler
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Felix Wiemann (felixwiemann)
>Assigned to: Jeremy Hylton (jhylton)
Summary: compiler.transformer, "from module import *"

Initial Comment:
import compiler.transformer
compiler.transformer.parse('from module import
*').getChildNodes()[0].getChildNodes()[0].lineno

... is 1 in Python 2.3 but None in Python 2.4b1.

lineno is 1 in Python 2.4 too when passing 'from module
import something' instead of 'from module import *'.

----------------------------------------------------------------------

>Comment By: Felix Wiemann (felixwiemann)
Date: 2004-11-01 14:03

Message:
(Continue reading)


Gmane