noreply | 1 Mar 09:46 2002
Picon
Picon

[ python-Bugs-496873 ] cPickle / time.struct_time loop

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

Category: Type/class unification
Group: Python 2.2.1 candidate
Status: Open
Resolution: None
Priority: 5
Submitted By: bixentxo (bixentxo)
>Assigned to: Guido van Rossum (gvanrossum)
Summary: cPickle / time.struct_time loop

Initial Comment:
The following code produces and endless loop
on python 2.2 ( ok on python 2.1 ). The
file being saved by cPickle.dump grows
indefinetely.

-----------------------------
import time, cPickle

created = time.localtime()

fd = open('/tmp/bla.pickle','w')
cPickle.dump(created,fd)
[...endless loop... ]

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

(Continue reading)

noreply | 1 Mar 13:22 2002
Picon
Picon

[ python-Bugs-508779 ] Disable flat namespace on MacOS X

Bugs item #508779, was opened at 2002-01-26 04:44
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=508779&group_id=5470

Category: Extension Modules
Group: Python 2.2.1 candidate
Status: Open
Resolution: None
Priority: 7
Submitted By: Manoj Plakal (terabaap)
Assigned to: Michael Hudson (mwh)
Summary: Disable flat namespace on MacOS X

Initial Comment:

Python: v2.2
OS: MacOS X 10.1

MacOS X 10.1 introduced two forms of linking
for loadable modules: flat namespace and
two-level namespace. 

Python 2.2 is set up to use flat namespace
by default on OS X for building extension modules.

I believe that this is a problem since
it introduces spurious run-time linking
errors when loading 2 or more modules that 
happen to have common symbols. The Linux
and Windows implementations do not allow
(Continue reading)

noreply | 1 Mar 14:11 2002
Picon
Picon

[ python-Bugs-517447 ] Syntax error in tixwidgets.py

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

Category: Tkinter
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Detlef Lannert (lannert)
Assigned to: Nobody/Anonymous (nobody)
Summary: Syntax error in tixwidgets.py

Initial Comment:
tixwidgets.py reports a syntax error; the following
patch helps:
*** .../Demo/tix/tixwidgets.py.orig     Sun Nov 25
15:50:55 2001
--- .../Demo/tix/tixwidgets.py  Thu Feb 14 11:59:47
2002
***************
*** 135,142 ****
          import tkMessageBox, traceback
          while self.exit < 0:
              try:
!         while self.exit < 0:
!             self.root.tk.dooneevent(TCL_ALL_EVENTS)
              except SystemExit:
                  #print 'Exit'
                  self.exit = 1
(Continue reading)

noreply | 1 Mar 14:18 2002
Picon
Picon

[ python-Bugs-506611 ] sys.setprofile() coredumps

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

Category: Python Interpreter Core
Group: Python 2.2
Status: Open
Resolution: None
Priority: 7
Submitted By: Tim Peters (tim_one)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: sys.setprofile()  coredumps

Initial Comment:
Verified in current CVS (also on Windows, but doubt 
the platform matters).  It's not the call proper that 
coredumps, but an eval loop's later attempt to use a 
resulting NULL pointer.  From c.l.py:

"""
From: rihad
Sent: Monday, January 21, 2002 1:19 PM
Subject: minor Python bugs

Calling sys.setprofile() (with no args) makes the 
interpreter crash, and calling sys.settrace() with no 
args succeeds, even though it is documented to take 1 
arg (tracefunc).

And yes, my version is '2.2 (#28, Dec 21 2001, 
(Continue reading)

noreply | 1 Mar 14:18 2002
Picon
Picon

[ python-Bugs-506611 ] sys.setprofile() coredumps

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

Category: Python Interpreter Core
Group: Python 2.2
Status: Open
Resolution: None
Priority: 7
Submitted By: Tim Peters (tim_one)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: sys.setprofile()  coredumps

Initial Comment:
Verified in current CVS (also on Windows, but doubt 
the platform matters).  It's not the call proper that 
coredumps, but an eval loop's later attempt to use a 
resulting NULL pointer.  From c.l.py:

"""
From: rihad
Sent: Monday, January 21, 2002 1:19 PM
Subject: minor Python bugs

Calling sys.setprofile() (with no args) makes the 
interpreter crash, and calling sys.settrace() with no 
args succeeds, even though it is documented to take 1 
arg (tracefunc).

And yes, my version is '2.2 (#28, Dec 21 2001, 
(Continue reading)

noreply | 1 Mar 15:04 2002
Picon
Picon

[ python-Bugs-506611 ] sys.setprofile() coredumps

Bugs item #506611, was opened at 2002-01-21 20:17
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=506611&group_id=5470

Category: Python Interpreter Core
>Group: Python 2.2.1 candidate
Status: Open
Resolution: None
Priority: 7
Submitted By: Tim Peters (tim_one)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: sys.setprofile()  coredumps

Initial Comment:
Verified in current CVS (also on Windows, but doubt 
the platform matters).  It's not the call proper that 
coredumps, but an eval loop's later attempt to use a 
resulting NULL pointer.  From c.l.py:

"""
From: rihad
Sent: Monday, January 21, 2002 1:19 PM
Subject: minor Python bugs

Calling sys.setprofile() (with no args) makes the 
interpreter crash, and calling sys.settrace() with no 
args succeeds, even though it is documented to take 1 
arg (tracefunc).

And yes, my version is '2.2 (#28, Dec 21 2001, 
(Continue reading)

noreply | 1 Mar 23:26 2002
Picon
Picon

[ python-Bugs-506679 ] Core dump subclassing long

Bugs item #506679, was opened at 2002-01-21 17:36
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=506679&group_id=5470

Category: Type/class unification
Group: Python 2.2
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nicholas Socci (nsocci)
Assigned to: Guido van Rossum (gvanrossum)
Summary: Core dump subclassing long

Initial Comment:
The following code dumps core:

class C(long):
    pass

c=C(-1)

Note if running interactly the core dump occurs when 
you quit the interpreter. No problem for positive 
numbers of if subclassing int or float.

Version information:

Python 2.2 (#1, Dec 28 2001, 14:02:28)
[GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-85)] on 
linux2
(Continue reading)

noreply | 1 Mar 23:29 2002
Picon
Picon

[ python-Bugs-210637 ] ihooks on windows and pythoncom (PR#294)

Bugs item #210637, was opened at 2000-07-31 21:09
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=210637&group_id=5470

Category: Windows
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Mark Hammond (mhammond)
Summary: ihooks on windows and pythoncom (PR#294)

Initial Comment:
Jitterbug-Id: 294
Submitted-By: mak <at> mikroplan.com.pl
Date: Thu, 13 Apr 2000 04:09:35 -0400 (EDT)
Version: cvs
OS: windows

Hi,

Python module ihooks is not so compatible with builtin imp while importing
modules whose name is stored in registry eg. pythoncom/pywintypes.

import ihooks
ihooks.install()
import pythoncom

This code will fail inside pythonwin ide too !
(Continue reading)

noreply | 1 Mar 23:30 2002
Picon
Picon

[ python-Bugs-210682 ] pdb can only step when at botframe (PR#4)

Bugs item #210682, was opened at 2000-07-31 21:14
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=210682&group_id=5470

Category: Python Library
Group: None
Status: Open
Resolution: Later
Priority: 4
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Guido van Rossum (gvanrossum)
Summary: pdb can only step when at botframe (PR#4)

Initial Comment:
Jitterbug-Id: 4
Submitted-By: MHammond <at> skippinet.com.au
Date: Mon, 12 Jul 1999 15:38:43 -0400 (EDT)
Version: 1.5.2
OS: Windows

[Resubmitted by GvR]

It is a problem that bugged me for _ages_.  Since the years I first wrote
the Pythonwin debugger Ive learnt alot about how it works :-)

The problem is simply:  when the frame being debugged is self.botframe, it
is impossible to continue - only "step" works.  A "continue" command
functions as a step until you start debugging a frame below self.botframe.

It is less of a problem with pdb, but makes a GUI debugger clunky - if you
(Continue reading)

noreply | 1 Mar 23:31 2002
Picon
Picon

[ python-Bugs-216388 ] cStringIO rejects Unicode strings

Bugs item #216388, was opened at 2000-10-09 00:42
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=216388&group_id=5470

Category: Unicode
Group: Feature Request
Status: Open
Resolution: Later
>Priority: 5
Submitted By: Paul Prescod (prescod)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: cStringIO rejects Unicode strings

Initial Comment:
>>> import cStringIO
>>> s=cStringIO.StringIO(u"abcdefgh")
Traceback (innermost last):
  File "<pyshell#8>", line 1, in ?
    s=cStringIO.StringIO(u"abcdefgh")
TypeError: expected string, unicode found

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

>Comment By: Jeremy Hylton (jhylton)
Date: 2002-03-01 22:31

Message:
Logged In: YES 
user_id=31392

(Continue reading)


Gmane