Which multiprocessing methods use shared memory?

2010-07-28 Thread Kevin Ar18
The multiprocessing module has 4 methods for sharing data between processes: Queues Pipes Shared Memory Map Server Process Which of these use shared memory? I understand that the 3rd (Shared Memory Map) does, but what about Queues? Thanks, Kevin

Which multiprocessing methods use shared memory?

2010-07-27 Thread Kevin Ar18
I'm not sure my previous message went through (I wasn't subscribe), so I'm gonna try again. The multiprocessing module has 4 methods for sharing data between processes: Queues Pipes Shared Memory Map Server Process Which of these use shared memory? I understand that the 3rd (Shared Memory

How to parse HTTP time header?

2009-11-07 Thread Kevin Ar18
Basically, I'm wondering if it is part of the standard library somewhere before I code my own. Page 20 of RFC2616 (HTTP) describes the format(s) for the time header. It wouldn't be too difficult for me to code up a solution for the 3 standard formats, but what get's me is the little note

Re: How to parse HTTP time header?

2009-11-07 Thread Kevin Ar18
Basically, I'm wondering if it is part of the standard library somewhere before I code my own. Page 20 of RFC2616 (HTTP) describes the format(s) for the time header. It wouldn't be too difficult for me to code up a solution for the 3 standard formats, but what get's me is the little

RE: How to parse HTTP time header?

2009-11-07 Thread Kevin Ar18
Page 20 of RFC2616 (HTTP) describes the format(s) for the time header. It wouldn't be too difficult for me to code up a solution for the 3 standard formats, but what get's me is the little note about how some servers may still send badly format time headers. :( So, I'm curious if this has

Re: How do I install dlls and exes for libtidy and others?

2009-11-04 Thread Kevin Ar18
Lme clarify my problems. My earlier emails were pretty vague... so this should help. Problem: I have been wanting to try out many libraries that use Python to C/C++ app bindings. This means I install the Python library using easy_install and then install the pre-compiled Windows binaries

How do I install libxml2 and libxslt?

2009-11-02 Thread Kevin Ar18
I want to use the lxml library, but can't get it to work on Windows. The following will not work: * import libxml2 * import libxslt * from lxml import etree Here's the instructions: http://codespeak.net/lxml/installation.html * So, I run easy_install lxml -- that works! * Now, it says I need

RE: How do I install libxml2 and libxslt?

2009-11-02 Thread Kevin Ar18
eb280f6e0911021006t785e7767tbf837dd239b78...@mail.gmail.com Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 According to the lxml installation instructions you linked=2C the windows lxml binary is statically linked and you do not

Minimal binary diff version control in Python?

2009-04-25 Thread Kevin Ar18
This is a two part question: 1. Is there a minimal binary diff comparison library for Python (like difflib, but able to create a minimal diff)? 2. Has anyone ever tried to implement some form of version control in Python (if so, where)? I was just wonder about creating something small to

dblck py file run, setuptools, easy_install don't work

2009-03-26 Thread Kevin Ar18
I just installed Python 3 64bit on Vista 64bit. I am having several issues: 1. I cannot launch python by typing python anywhere in the command line. (I added the Python directory to my PATH variable by the way). 2. Double clicking .py files does not run the files like it used to

Looking for web software in Python.

2007-09-17 Thread Kevin Ar18
Are any of the following pieces of web software available in Python (under a non-copyleft license like BSD or MIT or Python license)? Mailing list - with web accessable archive and list maintenance. Source control Wiki System Again, only non-copyleft licenses like MIT, BSD, or public domain.

[issue1060] zipfile cannot handle files larger than 2GB (inside archive)

2007-08-30 Thread Kevin Ar18
Kevin Ar18 added the comment: Here's another bug report that talks about a 2GB file limit: http://bugs.python.org/issue1189216 The diff offered there does not solve the problem; actually it's possible that the diff may not have anything to do with fixing the problem (though I'm not certain

[issue1060] zipfile cannot handle files larger than 2GB (inside archive)

2007-08-30 Thread Kevin Ar18
Kevin Ar18 added the comment: Just some thoughts In posting about this problem elsewhere, it has been argued that you shouldn't be copying that much stuff into memory anyways (though there are possible cases for a need for that). However, the question is what should the zipfile module do

[issue1060] zipfile cannot handle files larger than 2GB (inside archive)

2007-08-30 Thread Kevin Ar18
Kevin Ar18 added the comment: So, just add an error to the module (so it won't crash)? BTW, is Python 2.6 ready for use? I could use that feature now. :) __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1060

[issue1060] zipfile cannot handle files larger than 2GB (inside archive)

2007-08-30 Thread Kevin Ar18
Kevin Ar18 added the comment: Maybe a message that says that strings on 32-bit CPUs cannot handle more than 2GB of data; use the stream instead? __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1060

[issue1060] zipfile cannot handle files larger than 2GB (inside archive)

2007-08-29 Thread Kevin Ar18
New submission from Kevin Ar18: Summary: If you have a zip file that contains a file inside of it greater than 2GB, then the zipfile module is unable to read that file. Steps to Reproduce: 1. Create a zip file several GB in size with a file inside of it that is over 2GB in size. 2. Attempt

Unable to read large files from zip

2007-08-28 Thread Kevin Ar18
I posted this on the forum, but nobody seems to know the solution: http://python-forum.org/py/viewtopic.php?t=5230 I have a zip file that is several GB in size, and one of the files inside of it is several GB in size. When it comes time to read the 5+GB file from inside the zip file, it