Re: wxPython installation issues on Debian

2005-11-30 Thread Kenneth Pronovici
> Thanks for the suggestion, but an apt-cache search python2.4-wxgtk2.4 > returns no results for a package with that name. As you observed, the Debian wxPython packages currently only support one version of Python at a time. That decision ripples down and ends up affecting a number of other thin

Re: epydoc, variables and encoding

2005-10-05 Thread Kenneth Pronovici
> I found a "problem" on epydoc. If I specify an encoding, epydoc not find > my global variables, and if I remove it, it work well. > > code.py: > > #!/usr/bin/env python > # -*- coding: utf-8 -*- > > MY_VAR = None > > class foo(object): > def __init__(self, foo):

Re: EpyDoc problem

2005-05-22 Thread Kenneth Pronovici
> >EpyDoc is hosted in Sourceforge. This alone may answer your question > >about a bug-tracker: > > > >http://sourceforge.net/tracker/?atid=405618&group_id=32455&func=browse > > > > > Well, I wrote to the bug tracker some days ago but no answer so far. I am the maintainer of the Debian epydoc pa

Re: Popen3 and capturestderr

2005-03-09 Thread Kenneth Pronovici
On Wed, Mar 09, 2005 at 06:17:50AM -, Donn Cave wrote: > Quoth Kenneth Pronovici <[EMAIL PROTECTED]>: > ... > | If ignoreStderr=False, I use popen2.Popen4 so that stderr and stdout are > | intermingled. If ignoreStderr=True, I use popen2.Popen3 with > | capturestderr=T

Popen3 and capturestderr

2005-03-08 Thread Kenneth Pronovici
Hi, I have a problem with a popen2 pipe hanging partway through execution of a command. This happens in my function executeCommand() that is used for every "shell" command execution in my program. Source code for this function is below. My development environment is Debian unstable with Python

Re: LC_ALL and os.listdir()

2005-02-23 Thread Kenneth Pronovici
On Wed, Feb 23, 2005 at 10:07:19PM +0100, "Martin v. Löwis" wrote: > So we have three options: > 1. skip this string, only return the ones that can be >converted to Unicode. Give the user the impression >the file does not exist. > 2. return the string as a byte string > 3. refuse to listdir

Re: LC_ALL and os.listdir()

2005-02-23 Thread Kenneth Pronovici
On Wed, Feb 23, 2005 at 01:03:56AM -0600, Kenneth Pronovici wrote: [snip] > Today, I accidentally ran across a directory containing three "normal" > files (with ASCII filenames) and one file with a two-character unicode > filename. My code, which was doing something like t

LC_ALL and os.listdir()

2005-02-22 Thread Kenneth Pronovici
I have some confusion regarding the relationship between locale, os.listdir() and unicode pathnames. I'm running Python 2.3.5 on a Debian system. If it matters, all of the files I'm dealing with are on an ext3 filesystem. The real code this problem comes from takes a configured set of directorie