Brandon Craig Rhodes bran...@rhodesmill.org added the comment:
Here is a module that solves this problem if the tests are run with the
fullcoverage directory at the front of the PYTHONPATH, like this:
PYTHONPATH=Tools/fullcoverage ./python -m coverage run --pylib
Lib/test/regrtest.py
Changes by Craig McQueen pyt...@craig.mcqueen.id.au:
--
nosy: +cmcqueen1975
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10592
___
___
Python
and have 4GB of RAM.
Thanks,
-Craig
--
http://mail.python.org/mailman/listinfo/python-list
. This means that some examples, such as
themultiprocessing.Pool examples will not work in the interactive interpreter.
Thanks.
On Jan 27, 2011, at 6:39 AM, Philip Semanchuk wrote:
On Jan 25, 2011, at 8:19 PM, Craig Yoshioka wrote:
Hi all,
I could really use some help with a problem
:
On Jan 27, 2011, at 1:12 PM, Craig Yoshioka wrote:
The code will be multi-platform. The OSXisms are there as an example,
though I am developing on OS X machine.
I've distilled my problem down to a simpler case, so hopefully that'll help
troubleshoot.
I have 2 files:
test.py
Where does it return the value to?
What do I need to put in the calling function so that I can use that value?
I need a variable name to refer to. Shouldn't I have to define that variable
someplace?
Littlefield, Tyler ty...@tysdomain.com wrote in message
Hi all,
I could really use some help with a problem I'm having.
I wrote a function that can take a pattern of actions and it apply it to the
filesystem.
It takes a list of starting paths, and a pattern like this:
pattern = {
InGlob('Test/**'):{
New submission from Brandon Craig Rhodes bran...@rhodesmill.org:
Normally, unittest cleanly reports an exception in a setUpClass method. But if
I place the attached test in a directory by itself and then run python -m
unittest discover -b from inside of the same directory, then instead
New submission from Brandon Craig Rhodes bran...@rhodesmill.org:
If you try doing msg.as_string() to a MIMEMultipart message that has not been
given a boundary, then it dies with this exception:
Traceback (most recent call last):
File mime_gen_alt.py, line 40, in module
print
Brandon Craig Rhodes bran...@rhodesmill.org added the comment:
Here is a patch that fixes the problem. The problem probably only occurs if the
MIMEMultipart is actually given several MIME parts to use in its interior.
--
keywords: +patch
Added file: http://bugs.python.org/file20391
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
I'm attaching a file that I used (in Python 2.x).
It's a little rough--I manually commented and uncommented various lines to see
what would change under various circumstances. But at least you should be able
to see what I was doing
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
I should be able to attach my test code. But it is at my work, and I'm on
holidays for 2 more weeks. Sorry 'bout that!
I do assume that Python 3 greatly simplifies this.
--
___
Python
has it changed in my ten years' absence? I've already
resigned myself to starting over from the beginning, but are my books from that
time period even worth using now?
Thanks so much.
Craig McRoberts
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for the prompt replies. Sounds like it's time to hit a bookstore.
Craig McRoberts
--
http://mail.python.org/mailman/listinfo/python-list
Oh, I like to browse brick-and-mortar enough. But it's been forever since I've
bought something there.
Craig McRoberts
On Oct 28, 2010, at 15:16, Teenan t33...@gmail.com wrote:
On Thu, 2010-10-28 at 15:03 -0400, Craig McRoberts wrote:
Thanks for the prompt replies. Sounds like it's time
Nick Craig-Wood n...@craig-wood.com added the comment:
Terry J. Reedy (terry.reedy) wrote:
IMHO pprint should be able to make a decent job of all the built in types
Agreed, already true as far as I know, and irrelevant. This issue is not
about built-in types in the builtins module
Nick Craig-Wood n...@craig-wood.com added the comment:
Raymond Hettinger (rhettinger) wrote:
Ben, I don't think there is any value is opening more issues like
pprint-doesn't-handle-object-x (named tuples, defautdicts, deques,
generators, etc).
As it is currently designed, pprint doesn't
Craig de Stigter craig...@gmail.com added the comment:
Hi, sorry no I haven't had time to add a real test for this
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9720
Craig de Stigter craig...@gmail.com added the comment:
Yes, the bug still exists in Python 3.1.2. However, struct.pack() no longer
silently ignores overflow, so I get this error instead:
z.write('foo.txt')
Traceback (most recent call last):
File stdin, line 1, in module
File /usr/lib
New submission from Brandon Craig Rhodes bran...@rhodesmill.org:
The only way to safely build shell command lines from inside of Python — which
is necessary when sending commands across SSH, since that behaves like
os.system() rather than like subprocess.call() — is to use the wonderful
New submission from Craig de Stigter craig...@gmail.com:
Steps to reproduce:
# create a large (4gb) file
f = open('foo.txt', 'wb')
text = 'a' * 1024**2
for i in xrange(5 * 1024):
f.write(text)
f.close()
# now zip the file
import zipfile
z = zipfile.ZipFile('foo.zip', mode='w', allowZip64
contributed to this release, including:
* David Barnett
* Stefan Behnel
* Chuck Blake
* Robert Bradshaw
* Craig Citro
* Bryan Cole
* Lisandro Dalcin
* Eric Firing
* Danilo Freitas
* Christoph Gohlke
* Dag Sverre Seljebotn
* Kurt Smith
* Erik Tollerud
* Carl Witty
-cc
--
http
Nick Craig-Wood n...@craig-wood.com added the comment:
I think the fact that sqlite may not be using the warnings properly is
independent of this problem. Warnings should be filterable, but if sqlite
isn't notifying them properly - that would be a different bug.
BTW I came across
Nick Craig-Wood n...@craig-wood.com added the comment:
Reading PEP 0249 I can see Gerhard is correct, this patch would violate the PEP.
I think that the PEP is slightly flawed in that users are encouraged to raise
exceptions called Warning. IMHO a Warning is never an exceptional condition
New submission from Nick Craig-Wood n...@craig-wood.com:
sqlite3.Warning isnt a subclass of exceptions.Warning
This causes this problem when trying to filter warnings
import sqlite3 as DB
from warnings import filterwarnings
filterwarnings(always, category=DB.Warning)
Traceback (most recent
Nick Craig-Wood n...@craig-wood.com added the comment:
I've attached a patch to fix the issue along with a revised test.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9510
Nick Craig-Wood n...@craig-wood.com added the comment:
I re-worked the patch for python 3.x (py3k branch) - the other was for 2.x
(trunk)
Basically the same patch and fixes the issue according to my testing
--
Added file: http://bugs.python.org/file18386/sqlite3-warning-fix-py3k.patch
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
http://code.activestate.com/recipes/577016-path-entire-split-commonprefix/
--
nosy: +cmcqueen1975
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4755
Changes by Craig McQueen pyt...@craig.mcqueen.id.au:
--
nosy: +cmcqueen1975
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7639
___
___
Python-bugs
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
I've seen the changes Mr Pitrou made, both for the 2.x and 3.x docs. That's a
good improvement--thanks very much.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
The documentation implies that memoryview always accesses bytes:
* len(view) returns the total number of bytes in the memoryview, view.
* Taking a single index will return a single byte.
But, the following example shows
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
My previous comment was referring to Python 3.x, by the way. Python 2.7 has not
implemented the buffer protocol for `array`.
--
___
Python tracker rep...@bugs.python.org
http
New submission from Craig McQueen pyt...@craig.mcqueen.id.au:
I stumbled across Template Strings of PEP 292 by accident recently. I'd never
heard of it before.
I'm familiar with the string interpolation aka String Formatting
Operations, and I know to find that in the docs under Standard Types
New submission from Craig McQueen pyt...@craig.mcqueen.id.au:
I have just been trying to figure out how string interpolation works for %s,
when Unicode strings are involved. It seems it's a bit complicated, but the
Python documentation doesn't really describe it. It just says %s converts any
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
Another thing I discovered, for Example 1:
4. If test_object.__str__() returns a Unicode object (for some reason), and
test_object.__unicode__() does not exist, then the Unicode value from the
__str__() call is used
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
To further explain, I had code e.g.:
parser.add_option(u'-s', u'--seqfile', dest='seq_file_name', help=u'Write
sequence file output to FILE', metavar=u'FILE')
I had to remove the unicode designator for the first parameter
New submission from Craig McQueen pyt...@craig.mcqueen.id.au:
Working in Japan, I find it very helpful to be able to read full Unicode
arguments in Python 2.x under Windows 2000/XP. So I am using the following:
http://stackoverflow.com/questions/846850/how-to-read-unicode-characters-from
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
My program currently uses ASCII options, so I can change the Unicode string
parameter to byte string. The optparse module still seems to match the option
against the incoming Unicode argv, I guess by implicit string conversion
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
A follow-on re the cx_Freeze issue: I looked at the source code, and found it
doesn't seem to be doing any thread creation. But I found that in the
initscripts/Console.py, there are the following lines:
if sys.version_info[:2
New submission from Craig Younkins cyounk...@gmail.com:
The method in question: http://docs.python.org/library/cgi.html#cgi.escape
http://svn.python.org/view/python/tags/r265/Lib/cgi.py?view=markup # at the
bottom
http://code.python.org/hg/trunk/file/3be6ff1eebac/Lib/cgi.py#l1031
Convert
Changes by Craig Younkins cyounk...@gmail.com:
--
type: - security
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9061
___
___
Python-bugs-list
Craig Younkins cyounk...@gmail.com added the comment:
Proof of concept:
print body class='%s'/body % cgi.escape(' onload='alert(1);' bad=')
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9061
Craig Younkins cyounk...@gmail.com added the comment:
cgi.escape is for HTML attribute escaping only.
It is not safe for HTML attribute escaping because it does not encode single
quotes.
More suitable for HTML would be the correct interpretation rather make the
input safe.
More suitable
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
So it looks as though this isn't going in to Python 2.7.
How about 3.x?
--
nosy: +cmcqueen1975
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1172711
New submission from Craig McQueen pyt...@craig.mcqueen.id.au:
The type codes for array.array are platform-dependent.
The type codes are similar to those for the struct module. It would be helpful
for array.array to adopt the struct module's = format specifier prefix, to
specify standard sizes
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
From my limited experience using cx_Freeze 4.1.2 with Python 2.6.5, it seems
that this issue is triggered in a cx_Frozen program simply by having `import
threading` in the program. I'm not sure what cx_Freeze is doing that makes
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
Sorry I should have said, I'm running on Windows 2000 SP4.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1596321
in which to implement this pattern
Cheers!,
-Craig
--
http://mail.python.org/mailman/listinfo/python-list
Sorry, the first example should be:
class Status(object):
def __init__(self,definitions):
for key,function in definitions:
setattr(self,key,property(function))
On Jun 14, 2010, at 3:06 PM, Craig Yoshioka wrote:
I'm trying to write a class factory
Jeff Craig foxxt...@foxxtrot.net added the comment:
I can confirm this behaviour and error. On Windows Server 2008 R2 64-bit.
--
nosy: +foxxtrot
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8820
Jeff Craig foxxt...@foxxtrot.net added the comment:
Further information, this was an issue for me in 2.6.4, but with 2.6.5 it
appears to no longer be an issue.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8820
New submission from Brandon Craig Rhodes bran...@rhodesmill.org:
The multiprocessing module uses a bare fork() to create child processes under
Linux, so the children get a copy of the entire state of the parent process.
But under Windows, child processes are freshly spun-up Python
Brandon Craig Rhodes bran...@rhodesmill.org added the comment:
Jesse, it's great to learn it's on your wish list too!
Should I design the patch so that (a) there is some global in the module that
needs tweaking to choose the child creation technique, or (b) that an argument
to the Process
New submission from Brandon Craig Rhodes bran...@rhodesmill.org:
On this page, the Style Guide for people who want to try contributing to the
Python documentation:
docs.python.org/documenting/style.html
there is a broken link to the Apple Style Guide. The 2008 edition now seems
gone
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
\MinGW\bin\ld.exe -v
GNU ld (GNU Binutils) 2.20
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8384
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
I just realised--I didn't have c:\mingw\bin in my path. Once I added that to
the path, then the build worked fine.
So I guess the issue is only that the error message is somewhat cryptic
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
I tried it in Python 3.1.2.
\Python31\python.exe setup.py build --compiler=mingw32
I got a stack-trace:
...
File C:\Python31\lib\distutils\cygwinccompiler.py, line 280, in __init__
CygwinCCompiler.__init__ (self, verbose
New submission from Craig McQueen pyt...@craig.mcqueen.id.au:
I tried to build a C extension in Python 3.1.2.
\Python31\python.exe setup.py build --compiler=mingw32
I got a stack-trace:
...
File C:\Python31\lib\distutils\cygwinccompiler.py, line 280, in __init__
CygwinCCompiler
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
Sure can--done. Issue #8384.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
New submission from Nick Craig-Wood n...@craig-wood.com:
I just spend a while tracking down a bug in my code which turned out to be an
unexpected behaviour of hasattr.
Running this
class Test(object):
def __init__(self):
self.__private = Hello
def test(self):
print
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
This bug was confirmed to no longer be present for Python 2.6.4, however it is
still present for Python 3.1.1. Could someone with open privileges re-open
this please?
--
___
Python tracker
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
I ran it as follows:
\python31\python.exe setup.py build --compiler=mingw32 --verbose
and got:
running build
running build_py
running build_ext
building 'cobs._cobsext' extension
error: Unable to find vcvarsall.bat
If I run
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
And, I should add, doing nearly the same thing, except with Python 2.6.4, works
fine. Same machine, same console window, same path:
\python26\python.exe setup.py build --compiler=mingw32 --verbose
running build
running build_py
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
Not so much of a traceback. But essentially the same final error:
running build
running build_py
running build_ext
building 'cobs._cobsext' extension
error: Unable to find vcvarsall.bat
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
This still seems to be a bug in Python 3.1.1, does it not? Can this be
re-opened?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
There's also this one which caught me out:
def outer():
x = 0
y = (x for i in range(10))
del x # SyntaxError
--
nosy: +cmcqueen1975
___
Python tracker rep...@bugs.python.org
http
reported, and everything else seems to be working as
expected. Thanks for your help!
--
Craig Berry - http://www.cine.net/~cberry/
Lots of things in the universe don’t solve any problems, and
nevertheless exist. -- Sean Carroll
--
http://mail.python.org/mailman/listinfo/python-list
. I'll look into it. Thanks for the pointer!
--
Craig Berry - http://www.cine.net/~cberry/
Lots of things in the universe don’t solve any problems, and
nevertheless exist. -- Sean Carroll
--
http://mail.python.org/mailman/listinfo/python-list
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
Thanks, good points. I'm thinking with a C background and the fixed-width data
types. The 0xFF could be needed if the data_byte is actually a larger number
and you need to ensure only the lowest 8 bits are set. Or, if there is some
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
To complete that thought...
Since crc 8 could bump the calculation into long territory, for that final
mask I guess I'd want to mask and then shift. I.e. rather than
crc_mask = ((1 crc_width) - 1)
crc = (...) ^ ((crc 8
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
Just for the record... here is a relevant use case...
I'm working on some code for calculating CRCs, and hope to support any CRC
width, including CRC-5. This involves, among the calculations:
crc (crc_width - 8)
The complete
New submission from Craig Citro craigci...@gmail.com:
Currently, it's impossible to use the usual pickle mechanisms to pickle a
dynamically created class, even if the user requests a different pickling
mechanism via copy_reg. The attached patch makes this customization possible by
simply
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
Eric sent a build_ext.py to me and Daniel26 by e-mail. Attached. The idea was
to copy it over the one in C:\Python31\Lib\distutils\command.
I tried the file that he sent, but I'm getting the same issue that Daniel26
described
Craig McQueen pyt...@craig.mcqueen.id.au added the comment:
Eric (keldonin), please consider attaching the file (solution you
mentioned) to this issue for the benefit of the rest of us. I'm
interested to see it.
--
___
Python tracker rep
Craig McQueen ces-...@mcqueen.id.au added the comment:
This seems to be an bug in Python 3.1.1. Is it fixed in the Python 3
code? Is the issue being tracked in a separate issue?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Changes by Craig McQueen ces-...@mcqueen.id.au:
--
nosy: +cmcqueen1975
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
___
Python-bugs-list
Changes by Craig McQueen ces-...@mcqueen.id.au:
--
nosy: +cmcqueen1975
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6377
___
___
Python-bugs-list
- it is an excellent bit of software!
--
Nick Craig-Wood n...@craig-wood.com -- http://www.craig-wood.com/nick
--
http://mail.python.org/mailman/listinfo/python-list
Changes by Craig McQueen ces-...@mcqueen.id.au:
--
nosy: +cmcqueen1975
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1606092
___
___
Python-bugs
Craig McQueen ces-...@mcqueen.id.au added the comment:
I think I see now--it accepts Unicode input, but converts it back to
bytes internally using the ASCII codec. So it works as long as the
Unicode input contains on ASCII characters. That's a gotcha.
It appears that it's been fixed in Python 3
reportlab... It can plot charts I
think, though last time I used it I plotted stuff by hand as I wanted
exact control over the layout.
I'm not sure of the dependencies though so may not be suitable for
your purposes.
http://www.reportlab.org/rl_toolkit.html
--
Nick Craig-Wood n...@craig-wood.com
of
settings with that name. This has the advantage that you can check
everything in.
--
Nick Craig-Wood n...@craig-wood.com -- http://www.craig-wood.com/nick
--
http://mail.python.org/mailman/listinfo/python-list
VT100 emulator, but I couldn't find it in a brief
search just now.
You'll find various others (like this one) if you search some more
http://svn.python.org/projects/python/branches/string_methods/Demo/cwilib/vt100.py
--
Nick Craig-Wood n...@craig-wood.com -- http://www.craig-wood.com/nick
%r:%r % (len(line), line)
if __name__ == __main__:
import sys
main(sys.argv[1])
--
Nick Craig-Wood n...@craig-wood.com -- http://www.craig-wood.com/nick
--
http://mail.python.org/mailman/listinfo/python-list
config import config
if config.debug:
# blah
This has the advantage that you can define some methods on your config
object (eg save).
I don't know whether this is best practice but it works for me!
--
Nick Craig-Wood n...@craig-wood.com -- http://www.craig-wood.com/nick
--
http
Try wingware i have it and i like it.
--- On Fri, 8/28/09, qwe rty hkh00...@gmail.com wrote:
From: qwe rty hkh00...@gmail.com
Subject: IDE for python similar to visual basic
To: python-list@python.org
Date: Friday, August 28, 2009, 5:19 PM
i have been searching for am IDE for
python that
Who the one from wisconsin and did you try the python group in madison maybe
they can help.
Well i from madison are and i just a newbie with python.What OS you useing?
--- On Thu, 8/27/09, Mark Dickinson dicki...@gmail.com wrote:
From: Mark Dickinson dicki...@gmail.com
Subject: Re: Python on
/ functions in hotte.py
then use them like
import hotte
hotte.MyClass()
hotte.my_function()
See here for the relevant bit of the tutorial
http://docs.python.org/tutorial/modules.html
--
Nick Craig-Wood n...@craig-wood.com -- http://www.craig-wood.com/nick
--
http://mail.python.org
Yes the same prob.
--- On Sat, 8/8/09, Mark Lawrence breamore...@yahoo.co.uk wrote:
From: Mark Lawrence breamore...@yahoo.co.uk
Subject: Re: www.python.org website is down?
To: python-list@python.org
Date: Saturday, August 8, 2009, 8:41 AM
Caezar wrote:
I cannot connect to the official
(most recent call last):
File stdin, line 20, in module
File stdin, line 16, in lock_process
Exception: Too many instances of me running
You could do the same thing with lock files also very easily...
--
Nick Craig-Wood n...@craig-wood.com -- http://www.craig-wood.com/nick
--
http
can write FUSE (file systems in userspace) drivers in python I believe.
Not the same as running in ring0 but in most senses a kernel driver...
--
Nick Craig-Wood n...@craig-wood.com -- http://www.craig-wood.com/nick
--
http://mail.python.org/mailman/listinfo/python-list
?
Invalid how? Self signed certificate? Domain mismatch? Expired certificate?
--
Nick Craig-Wood n...@craig-wood.com -- http://www.craig-wood.com/nick
--
http://mail.python.org/mailman/listinfo/python-list
a correctly set up
self-signed certificate is fine for dev stuff. I'm certainly too
cheap to by real certificates for dev or internal stuff!
--
Nick Craig-Wood n...@craig-wood.com -- http://www.craig-wood.com/nick
--
http://mail.python.org/mailman/listinfo/python-list
possible boards using a combination
of back tracking and a genetic algorithm.
--
Nick Craig-Wood n...@craig-wood.com -- http://www.craig-wood.com/nick
--
http://mail.python.org/mailman/listinfo/python-list
but instead of producing an
object file, it produces a machine readable xml file describing the
source.
It is used by h2xml.py / xml2py.py to make ctypes header file
automatically.
--
Nick Craig-Wood n...@craig-wood.com -- http://www.craig-wood.com/nick
--
http://mail.python.org/mailman/listinfo
, so if that is the problem you could use
NAME like '%cis20r%' -- not quite the same, but close!
and NAME_ like 'fatigue'
instead which might be quicker. Or not ;-)
--
Nick Craig-Wood n...@craig-wood.com -- http://www.craig-wood.com/nick
--
http://mail.python.org/mailman/listinfo/python-list
, in particular
http://twistedmatrix.com/trac/wiki/DeferredGenerator
--
Nick Craig-Wood n...@craig-wood.com -- http://www.craig-wood.com/nick
--
http://mail.python.org/mailman/listinfo/python-list
--
Nick Craig-Wood n...@craig-wood.com -- http://www.craig-wood.com/nick
--
http://mail.python.org/mailman/listinfo/python-list
if it takes me an hour
each cycle ;-)
The program is about 700 lines of python (excluding comments).
Thanks
Nick
--
Nick Craig-Wood n...@craig-wood.com -- http://www.craig-wood.com/nick
--
http://mail.python.org/mailman/listinfo/python-list
return p.d_name
def close(self):
Close the directory
if self.handle is not NULL:
closedir(self.handle)
self.handle = NULL
def __dealloc__(self):
self.close()
--
Nick Craig-Wood n...@craig-wood.com -- http://www.craig-wood.com/nick
101 - 200 of 1017 matches
Mail list logo