[ python-Bugs-1567666 ] GetFileAttributesExA and Win95

2006-09-29 Thread SourceForge.net
Bugs item #1567666, was opened at 2006-09-29 12:12
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=1567666&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: giomach (giomach)
Assigned to: Nobody/Anonymous (nobody)
Summary: GetFileAttributesExA and Win95

Initial Comment:
When Python 2.5 is run under Win95 (Windows 
4.00.950B), it immediately fails with "The 
PYTHON25.DLL file is linked to missing export 
KERNEL32.DLL.GetFileAttributesExA".

Python 2.4.3 is fine.

Ciarán Ó Duibhín.

My e-mail: [EMAIL PROTECTED]


--

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



[ python-Bugs-1567234 ] unchecked metaclass mro

2006-09-29 Thread SourceForge.net
Bugs item #1567234, was opened at 2006-09-28 14:48
Message generated for change (Comment added) made by akuchling
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1567234&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Interpreter Core
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: ganges master (gangesmaster)
Assigned to: A.M. Kuchling (akuchling)
Summary: unchecked metaclass mro 

Initial Comment:
this bug was fixed in python2.5, but it's worth adding
to 2.4.4.

metaclasses can return an "insane" mro, which confuses
the PyXXX_Check checks, and causes memory corruption.

Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310
32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for
more information.
>>> class crasher(object):
... class __metaclass__(type):
... def mro(self):
... return (str, int, list)
...
>>> c = crasher("hello")
>>> c # a very strange object
''
>>> dir(c)
[]
>>> c.append(5)
# 

--

>Comment By: A.M. Kuchling (akuchling)
Date: 2006-09-29 08:32

Message:
Logged In: YES 
user_id=11375

Can you please provide a reference to the original bug, or
to the revision that fixes the bug in 2.5?
+

--

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



[ python-Bugs-1567234 ] unchecked metaclass mro

2006-09-29 Thread SourceForge.net
Bugs item #1567234, was opened at 2006-09-28 21:48
Message generated for change (Comment added) made by gangesmaster
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1567234&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Interpreter Core
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: ganges master (gangesmaster)
Assigned to: A.M. Kuchling (akuchling)
Summary: unchecked metaclass mro 

Initial Comment:
this bug was fixed in python2.5, but it's worth adding
to 2.4.4.

metaclasses can return an "insane" mro, which confuses
the PyXXX_Check checks, and causes memory corruption.

Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310
32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for
more information.
>>> class crasher(object):
... class __metaclass__(type):
... def mro(self):
... return (str, int, list)
...
>>> c = crasher("hello")
>>> c # a very strange object
''
>>> dir(c)
[]
>>> c.append(5)
# 

--

>Comment By: ganges master (gangesmaster)
Date: 2006-09-29 16:12

Message:
Logged In: YES 
user_id=1406776

i never managed working with svn's or cvs's... i can point
you to the official source distribution of 2.4.2:

file: typeobject.c
function: static int mro_internal(PyTypeObject *type)
+-+-+-+-+-+-+-+-
mro = lookup_method((PyObject *)type, "mro", &mro_str);
if (mro == NULL)
return -1;
result = PyObject_CallObject(mro, NULL);
Py_DECREF(mro);
}
if (result == NULL)
return -1;
tuple = PySequence_Tuple(result);
+-+-+-+-+-+-+-+-+-

python 2.5 (release) added the following check:
+-+-+-+-+-+-+-+-+-

if (!PyType_IsSubtype(solid, solid_base(t))) {
PyErr_Format(PyExc_TypeError,
 "mro() returned base with unsuitable layout ('%.500s')",
 t->tp_name);
+-+-+-+-+-+-+-+-+-


that's the best i can do, sorry

--

Comment By: A.M. Kuchling (akuchling)
Date: 2006-09-29 15:32

Message:
Logged In: YES 
user_id=11375

Can you please provide a reference to the original bug, or
to the revision that fixes the bug in 2.5?
+

--

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



[ python-Bugs-1566280 ] Logging problem on Windows XP

2006-09-29 Thread SourceForge.net
Bugs item #1566280, was opened at 2006-09-27 14:49
Message generated for change (Comment added) made by pavel_krupets
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1566280&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Pavel Krupets (pavel_krupets)
Assigned to: Nobody/Anonymous (nobody)
Summary: Logging problem on Windows XP

Initial Comment:
Traceback (most recent call last):
  File "C:\Python\Lib\logging\handlers.py", line 73, in
emit
if self.shouldRollover(record):
  File "C:\Python\Lib\logging\handlers.py", line 147,
in shouldRollover
self.stream.seek(0, 2)  #due to non-posix-compliant
Windows feature
ValueError: I/O operation on closed file

not sure why this file is closed.

--

>Comment By: Pavel Krupets (pavel_krupets)
Date: 2006-09-29 16:52

Message:
Logged In: YES 
user_id=1007725

to start application please use: src/py/run.bat
to get closed handler error (if you manage to start it)
please open your web browser and try to visit:
http://localhost:8080

You can change http settings in src/conf/development/robot.conf

sorry code is quite raw just started. :)

--

Comment By: Martin v. Löwis (loewis)
Date: 2006-09-28 06:29

Message:
Logged In: YES 
user_id=21627

Can you provide a test case for either problem?

--

Comment By: Pavel Krupets (pavel_krupets)
Date: 2006-09-27 15:01

Message:
Logged In: YES 
user_id=1007725

And I think python crashes on Windows if I try to use logger
from several threads.

Unhandled exception at 0x7c901010 in python.exe: 0xC005:
Access violation reading location 0x0034.

>   ntdll.dll!7c901010()
[Frames below may be incorrect and/or missing, no symbols
loaded for ntdll.dll]   
msvcr71.dll!7c34f639()  
msvcr71.dll!7c36b3b1()  
python25.dll!1e06c6c0() 
python25.dll!1e08dc97() 
python25.dll!1e03ac12() 
python25.dll!1e03c735() 
python25.dll!1e03cc5f() 
python25.dll!1e04026b() 
python25.dll!1e039a2e() 
python25.dll!1e03ac82() 
python25.dll!1e03cc5f() 
python25.dll!1e04026b() 
python25.dll!1e039a2e() 
python25.dll!1e03ac82() 
python25.dll!1e03cc5f() 
python25.dll!1e04026b() 
python25.dll!1e039a2e() 
python25.dll!1e03ac82() 
python25.dll!1e03cc5f() 
python25.dll!1e04026b() 
python25.dll!1e039a2e() 
python25.dll!1e03ac82() 
python25.dll!1e03cc5f() 
python25.dll!1e04026b() 
python25.dll!1e039a2e() 
python25.dll!1e03ac82() 
python25.dll!1e03cc5f() 
python25.dll!1e03db7d() 
python25.dll!1e0715df() 
python25.dll!1e0268ec() 
python25.dll!1e040a04() 
python25.dll!1e039a8c() 
python25.dll!1e03ac82() 
python25.dll!1e03cc5f() 
python25.dll!1e0622d3() 
python25.dll!1e062660() 
python25.dll!1e061028() 
python25.dll!1e0db1bd() 
python25.dll!1e062676() 
python25.dll!1e03e8c1() 
python25.dll!1e041475() 
python25.dll!1e0414c3() 
python25.dll!1e094093() 
python25.dll!1e062676() 
python25.dll!1e0268ec() 
python25.dll!1e03987a() 
python25.dll!1e033edc() 
python25.dll!1e08dc97() 
python25.dll!1e03ac12() 
python25.dll!1e03cc5f() 
python25.dll!1e07041e() 
python25.dll!1e070385() 
python25.dll!1e03db7d() 
python25.dll!1e039a8c() 
python25.dll!1e03ac82() 
python25.dll!1e03cc5f() 
python25.dll!1e07041e() 
python25.dll!1e039a2e() 
python25.dll!1e03ac82() 
python25.dll!1e03cc5f() 
python25.dll!1e07041e() 
python25.dll!1e03db7d() 
python25.dll!1e0715df() 
python25.dll!1e0268ec() 
python25.dll!1e040a04() 
ntdll.dll!7c90d625()
ntdll.dll!7c90eacf()
python25.dll!1e0258d2() 
ntdll.dll!7c9105c8()
ntdll.dll!7c910551()
ntdll.dll!7c91056d()
  

[ python-Bugs-1567910 ] missing _typesmodule.c, Visual Studio 2005 pythoncore.vcproj

2006-09-29 Thread SourceForge.net
Bugs item #1567910, was opened at 2006-09-29 10: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=1567910&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: everbruin (everbruin)
Assigned to: Nobody/Anonymous (nobody)
Summary: missing _typesmodule.c,Visual Studio 2005 pythoncore.vcproj

Initial Comment:
Python 2.5's Visual Studio 2005 pythoncore.vcproj (in
PCBuild8 folder) is missing Modules/_typesmodule.c
(note the VS 2003 pythoncore.vcproj in PCBuild
correctly has it).

The bug is that binaries built w/o the file will give a
SystemError when "import _types" is done (eg by types.py).

--

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



[ python-Feature Requests-1567948 ] poplib.py list interface

2006-09-29 Thread SourceForge.net
Feature Requests item #1567948, was opened at 2006-09-29 11:51
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1567948&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.6
Status: Open
Resolution: None
Priority: 5
Submitted By: Hasan Diwan (hdiwan650)
Assigned to: Nobody/Anonymous (nobody)
Summary: poplib.py list interface

Initial Comment:
Adds a list-like interface to poplib.py, poplib_as_list.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1567948&group_id=5470
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[ python-Bugs-1567976 ] http://docs.python.org/tut/node10.html typo

2006-09-29 Thread SourceForge.net
Bugs item #1567976, was opened at 2006-09-29 19:27
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=1567976&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Simon Morgan (simonmorgan)
Assigned to: Nobody/Anonymous (nobody)
Summary: http://docs.python.org/tut/node10.html typo

Initial Comment:
"One my also instantiate an exception first" should be 
"One may also instantiate an exception first".

--

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



[ python-Bugs-1568075 ] GUI scripts always return to an interpreter

2006-09-29 Thread SourceForge.net
Bugs item #1568075, was opened at 2006-09-29 16:00
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=1568075&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Macintosh
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: jjackson (jejackson)
Assigned to: Jack Jansen (jackjansen)
Summary: GUI scripts always return to an interpreter

Initial Comment:
I installed the latest version of 2.5 from the web last night:

Python 2.5 (r25:51918, Sep 19 2006, 08:49:13) 
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin

When I run a wxPython script, using something like

pythonw myScript.py

from the Terminal, I find myself in an interpreter after I use the quit 
menu. The menubar becomes a single, hung python menu, and a shell 
window pops up with an interpreter prompt. Cntrl-D kills the interpreter.

It's as if python was stuck in "-i" mode:

pythonw -i myScript.py

gives the same results.

(python and pythonw give the same results. It appears from comments on 
the web that they are now the same. They appear so from a diff. If so, why 
not a symlink?)

Running the lastest wxPython demo gives this warning in the console, 

2006-09-29 15:40:06.681 wxPython Demo[942] WARNING: 
_wrapRunLoopWithAutoreleasePoolHandler got kCFRunLoopExit, but there 
are no autorelease pools in the stack.

which may or may not be related.


--

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



[ python-Bugs-1568120 ] Encoding bug

2006-09-29 Thread SourceForge.net
Bugs item #1568120, was opened at 2006-09-30 03:12
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=1568120&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Unicode
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: �mer FADIL USTA (usta)
Assigned to: M.-A. Lemburg (lemburg)
Summary: Encoding bug

Initial Comment:
The problem easily shown in photo which have been
attached with this bug and also at
http://img147.imageshack.us/img147/3717/pythonte4.jpg

thx

--

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



[ python-Bugs-1567976 ] http://docs.python.org/tut/node10.html typo

2006-09-29 Thread SourceForge.net
Bugs item #1567976, was opened at 2006-09-30 04:27
Message generated for change (Comment added) made by quiver
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1567976&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Simon Morgan (simonmorgan)
>Assigned to: George Yoshida (quiver)
Summary: http://docs.python.org/tut/node10.html typo

Initial Comment:
"One my also instantiate an exception first" should be 
"One may also instantiate an exception first".

--

>Comment By: George Yoshida (quiver)
Date: 2006-09-30 14:26

Message:
Logged In: YES 
user_id=671362

Fixed in r52048(svn-trunk) and r52049(2.5).

Thanks for the report.

--

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