Steve Holden <[EMAIL PROTECTED]> wrote:
> > So clearly the 'get a daily backup of the data' is not the reason.
> > Backing up a sqlite database is pretty easy.
> >
> Do you have any idea fo the scale of the Python issue (bug) database? Do
> you really think SQLite would be a suitable platform for
On Tue, 03 Oct 2006 23:13:08 -0500, Robert Kern <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
>> Has the addition of a Universe Set object ever been suggested. Like U
>> = set(0), so that any object was a member of U?
>
> In [61]: class UniverseSet(object):
> : def __contai
>> Can anyone tell me how the content handler can determine the encoding of
>> the file? Can sax provide this info?
> there is no encoding on the "inside" of an XML document; it's all Unicode.
True, but sax is reading the file, so sax is producing the unicode, so it
should (must) be able to de
Valentino Volonghi wrote:
> Considering that trac can also run on postgres or mysql and also
> considering that both of these databases have enough tools to deal with
> backups I think it's a non issue.
10k entries shouldn't be much of an issue for sqlite3 either.
(I don't think any of the propo
John Salerno wrote:
> Hi all. I apologize since this is only remotely Python related, but I
> hope someone might now the solution.
>
> I tried opening my Python chm docs just now, as well as the one for
> wxPython, and both are giving me an error dialog when I double-click
> them and I can't open
On 2006-10-04 05:10:32 +0200, John Machin wrote:
> > - str methods endswith, find, partition, replace, split(lines),
> > startswith,
> > - Regular expressions
> >
> > I think those can be useful on a bytes type. Perhaps bytes and str could
> > share a common parent class? They certain
Edward K. Ream wrote:
>
>
> so it would seem reasonable for sax to be able to return 'utf-8' somehow.
why? that's an encoding detail, and should be completely irrelevant for
your application.
> Am I missing something?
you're confusing artifacts of an external serialization format with the act
In article <[EMAIL PROTECTED]>,
James Stroud <[EMAIL PROTECTED]> wrote:
> I am trying to create a semi-standalone with the vendor python on OS X
> 10.4 (python 2.3.5). I tried to include some packages with both
> --packages from the command and the 'packages' option in setup.py. While
> the pa
Edward K. Ream wrote:
>>> Can anyone tell me how the content handler can determine the encoding of
>>> the file? Can sax provide this info?
>
>> there is no encoding on the "inside" of an XML document; it's all
>> Unicode.
>
> True, but sax is reading the file, so sax is producing the unicode,
Diez B. Roggisch wrote:
> Filenames are expected to be bytestrings. So what happens is that the
> unicode string you pass as filename gets implicitly converted using the
> default encoding.
it is ?
>>> f = open(u"\u8116", "w")
>>> f.write("hello")
>>> f.close()
>>> f = open(u"\u8116", "r")
>>>
Jorgen Grahn wrote:
> - infinite xrange()s
itertools.count()?
--
http://mail.python.org/mailman/listinfo/python-list
> [The value of the encoding field] _could_ be retained, but for what
> purpose?
I'm asking this question because my app needs it :-) Imo, there is *no*
information in any xml file that can be considered irrelvant. My app will
want to know the original encoding when writing the file.
Edward
Peter Otten wrote:
> SpreadTooThin wrote:
>
> > If you are deriving a new class from another class,
> > that you must (I assume) know the initializer of the other class.
> >
> > So in myClass
> >
> > import array
> > class myClass(arrary.array):
> >def __init__(self, now here I need to put arr
mrquantum wrote:
> Hello!
>
> Just for curiosity i'd like to know why strings don't support the
> iteration protocoll!? Is there some deeper reason for this?
>
> >>> hasattr('SomeString', '__iter__')
> False
>
> In Python 2.5 it's actually simple to obtain one:
>
> >>> myIter = (c for c in 'SomeSt
Gerrit Holl wrote:
> On 2006-10-04 05:10:32 +0200, John Machin wrote:
> > > - str methods endswith, find, partition, replace, split(lines),
> > > startswith,
> > > - Regular expressions
> > >
> > > I think those can be useful on a bytes type. Perhaps bytes and str could
> > > share a
On Wed, 4 Oct 2006 11:19:35 +0100, Matthew Warren <[EMAIL PROTECTED]> wrote:
>
>Hi,
>
>I use telnetlib in an app I am writing, and would like to add
>functionality to it to support interactive terminal sessions , IE: be
>able to 'vi' a file.
>
>Currently it seems telnetlib isnt quite sophisticated
On Wed, 04 Oct 2006 11:00:28 -0400, Leif K-Brooks <[EMAIL PROTECTED]> wrote:
>Jorgen Grahn wrote:
>> - infinite xrange()s
>
>itertools.count()?
Not quite:
>>> import sys, itertools
>>> c = itertools.count(sys.maxint)
>>> c.next()
2147483647
>>> c.next()
-2147483648
>>>
> Filenames are expected to be bytestrings.
The exception happens in a method to which no fileName is passed as an
argument.
parse_leo_file:
'C:\\prog\\tigris-cvs\\leo\\test\\unittest\\chinese?folder\\chinese?test.leo'
(trace of converted fileName)
Unexpected exception parsing
C:\prog\tigris
Fredrik Lundh wrote:
> Valentino Volonghi wrote:
>
> > Considering that trac can also run on postgres or mysql and also
> > considering that both of these databases have enough tools to deal with
> > backups I think it's a non issue.
>
> 10k entries shouldn't be much of an issue for sqlite3 either.
"James Stroud" <[EMAIL PROTECTED]> wrote:
> Hendrik van Rooyen wrote:
> > Hi,
> >
> > I get the following:
> >
> > [EMAIL PROTECTED]:~/Controller/lib> python display.py
> > UpdateStringProc should not be invoked for type font
> > Aborted
> >
> > and I am back at the bash prompt - this is most frus
"John Machin" <[EMAIL PROTECTED]> writes:
> So why haven't you been campaigning for regular expression support for
> sequences of int, and for various array.array subtypes?
regexps work on byte arrays.
--
http://mail.python.org/mailman/listinfo/python-list
Giovanni Bajo wrote:
> I understand your point. OTOH, exactly because the tracker system is a far
> lesser importance, it's amazing there is *ever* a need to evaluate non-FLOSS
> solutions, when there are so many good free solutions around. Instead of
I think you are missing the point. Switching
Gabriel Genellina wrote:
> At Monday 2/10/2006 13:05, Bernard wrote:
>
> > > > Has anyone tried what I'm doing? and if you tried how have you
> > > > succeeded getting the data back after the post action?
>
> Use a packet sniffer or something to look at an actual POST that
> works, this way you cou
301 - 323 of 323 matches
Mail list logo