noreply | 1 Jul 2001 18:18
Picon
Favicon

[ python-Bugs-432786 ] Python 2.1 test_locale fails

Bugs item #432786, was opened at 2001-06-13 07:58
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=432786&group_id=5470

Category: Extension Modules
Group: None
Status: Closed
Resolution: Wont Fix
Priority: 5
Submitted By: Paul M. Dubuc (dubuc)
Assigned to: Nobody/Anonymous (nobody)
Summary: Python 2.1 test_locale fails

Initial Comment:
I'm building Python 2.1 on Solaris 2.6.  When I 'make
test', the
test_locale module is the only one that fails:

    test test_locale failed -- Writing: "'%f' % 1024 ==
'1024.000000' !=
'1,024.000000'", expected: ''
    ...
    The actual stdout doesn't match the expected
stdout.
    This much did match (between asterisk lines):

**********************************************************************
    test_locale

**********************************************************************
(Continue reading)

noreply | 2 Jul 2001 10:58
Picon
Favicon

[ python-Bugs-437472 ] MacPy21: sre "recursion limit" bug

Bugs item #437472, was opened at 2001-06-29 14:50
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=437472&group_id=5470

Category: Regular Expressions
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
>Summary: MacPy21: sre "recursion limit" bug

Initial Comment:
As of Python 2.0, the sre module had bug wherein a 
"RuntimeError: maximum recursion limit exceeded" would 
be raised whenever an expression matched something on 
the order of 16,000+ characters. The bug, nominally fixed 
in time for Python 2.1, is still present in MacPython 2.1, as 
evidenced by the following transcript copied from an 
interactive session with the interpreter. Note success with 
pre module, however.

It makes me curious, since the bug appears to be fixed in 
WinPython 2.1, whether the correct source was used 
when compiling MacPython 2.1....

==========
Python 2.1 (#92, Apr 24 2001, 23:59:23)  [CW PPC GUSI2 
THREADS] on mac
(Continue reading)

noreply | 2 Jul 2001 14:22
Picon
Favicon

[ python-Bugs-437879 ] SocketServer.py related problems

Bugs item #437879, was opened at 2001-07-02 05:22
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=437879&group_id=5470

Category: Python Library
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Andreas Jung (ajung)
Assigned to: Nobody/Anonymous (nobody)
Summary: SocketServer.py related problems

Initial Comment:
I tried several third-party proxy servers for Python
(munchy,webdebug) go get working with
Python 2.1 under Linux i386.
But all fail with similar problems:

Under 2.1:

andreas <at> yetix:/home/andreas/src/munchy-0.7: python2.1 munchy.py 8006
Starting proxy on port 8006
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/opt/python-2.1/lib/python2.1/threading.py", line 378, in __bootstrap
    self.run()
  File "/opt/python-2.1/lib/python2.1/threading.py", line 366, in run
    apply(self.__target, self.__args, self.__kwargs)
  File "/opt/python-2.1/lib/python2.1/SocketServer.py", line 246, in finish_request
(Continue reading)

noreply | 2 Jul 2001 18:05
Picon
Favicon

[ python-Bugs-417845 ] Python 2.1: SocketServer.ThreadingMixIn

Bugs item #417845, was opened at 2001-04-21 08:28
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=417845&group_id=5470

Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Guido van Rossum (gvanrossum)
Summary: Python 2.1: SocketServer.ThreadingMixIn

Initial Comment:
SocketServer.ThreadingMixIn does not work properly
since it tries to close the socket of a request two
times.

Workaround for using SocketServer.ThreadingMixIn under
Python 2.1:

class MyThreadingHTTPServer(
  SocketServer.ThreadingMixIn,
  MyHTTPServer
):
  def close_request(self, request):
    pass

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

(Continue reading)

noreply | 2 Jul 2001 20:10
Picon
Favicon

[ python-Bugs-437984 ] package name truncation to 50 chars.

Bugs item #437984, was opened at 2001-07-02 11:10
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=437984&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: chris tignor (ctignor)
Assigned to: Nobody/Anonymous (nobody)
Summary: package name truncation to 50 chars.

Initial Comment:
Truncation of package names to 50 characters once
represented as strings becomes extremely confusing for
development purposes, even more so when as it exists as
an undocumented event. I request full package names be
represented.  Thank-you.

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

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=437984&group_id=5470

noreply | 2 Jul 2001 22:56
Picon
Favicon

[ python-Bugs-438032 ] Documentation errors in module "profile"

Bugs item #438032, was opened at 2001-07-02 13:56
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=438032&group_id=5470

Category: Documentation
Group: Not a Bug
Status: Open
Resolution: None
Priority: 5
Submitted By: Jesús Cea Avión (jcea)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: Documentation errors in module "profile"

Initial Comment:
Python Library Referencia 2.1 (15 April 2001)

Module "profiler". Page 258.

In functions "print_stats()", "print_callers()" and
"print_callees()", the parameter 'restriction' is optional.

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

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=438032&group_id=5470

noreply | 2 Jul 2001 23:24
Picon
Favicon

[ python-Bugs-438032 ] Documentation errors in module "profile"

Bugs item #438032, was opened at 2001-07-02 13:56
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=438032&group_id=5470

Category: Documentation
Group: Not a Bug
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Jesús Cea Avión (jcea)
Assigned to: Fred L. Drake, Jr. (fdrake)
>Summary: Documentation errors in module "profile"

Initial Comment:
Python Library Referencia 2.1 (15 April 2001)

Module "profiler". Page 258.

In functions "print_stats()", "print_callers()" and
"print_callees()", the parameter 'restriction' is optional.

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

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-07-02 14:24

Message:
Logged In: YES 
user_id=3066

(Continue reading)

noreply | 3 Jul 2001 00:04
Picon
Favicon

[ python-Bugs-438050 ] configure doesn't look for poll.h in sys

Bugs item #438050, was opened at 2001-07-02 15:04
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=438050&group_id=5470

Category: Build
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: David Dyck (dcd)
Assigned to: Nobody/Anonymous (nobody)
Summary: configure doesn't look for poll.h in sys

Initial Comment:
I was surprised to see python not build out
of the box on this old libc5 system.

seems to be a problem with configure finding
poll.h

If I manually add
  #include <sys/poll.h>
to "Modules/selectmodule.c" 
then make continues

 (Another workaround is to create a dummy
  /usr/include/poll.h 
 that just  #include's <sys/poll.h> )

dd:dcd$ uname -a
(Continue reading)

noreply | 3 Jul 2001 02:15
Picon
Favicon

[ python-Bugs-438083 ] uu module allows hostile paths

Bugs item #438083, was opened at 2001-07-02 17:15
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=438083&group_id=5470

Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: uu module allows hostile paths

Initial Comment:
hello,

the uu module does not appear to do any checking
on the file name included in the uuencoded data.
as far as i can see, it allows absolute paths and 
will happily overwrite anything.

you can pass file objects to it, but
then the information about the file name is lost.

i've attached a sketchy patch.

   -- erno <at> iki.fi

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

(Continue reading)

noreply | 3 Jul 2001 09:58
Picon
Favicon

[ python-Bugs-438164 ] Format operator % fails with unicode

Bugs item #438164, was opened at 2001-07-03 00:58
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=438164&group_id=5470

Category: Python Interpreter Core
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Chema Cortés (chemacortes)
Assigned to: Nobody/Anonymous (nobody)
Summary: Format operator % fails with unicode

Initial Comment:
A dictionary with unicode keys raise an error when it 
is applied to a string throught the format operator %.

Here is the ofending code:

>>> "%(año)d" % { u"año":2001 }  # KeyError: año

This fails because u"año" and "año" cannot be 
compared: byte strings and Unicode strings are 
comparable only if the byte string is ASCII.

> >>> u"%(año)4d" % { u"año":2001 }  # KeyError: año

This fails because the key is converted to UTF-8 
before lookup.

(Continue reading)


Gmane