[issue26798] add BLAKE2 to hashlib

2016-04-18 Thread Zooko Wilcox-O'Hearn
Zooko Wilcox-O'Hearn added the comment: Oh, just to be clear, I didn't mean to imply that BLAKE2 is _less_ safe than SHA-3. My best estimate is that BLAKE2 and SHA-3 are equivalently safe, and that either of them is safer than SHA-2, SHA-1, or MD5

[issue26798] add BLAKE2 to hashlib

2016-04-18 Thread Zooko Wilcox-O'Hearn
New submission from Zooko Wilcox-O'Hearn: (Disclosure: I'm one of the authors of BLAKE2.) Please include BLAKE2 in hashlib. It well-suited for hashing long inputs (e.g. files), because it is substantially faster than SHA-3, SHA-2, SHA-1, or MD5 while also being safer than SHA-2, SHA-1, or MD5

[issue5720] ctime: I don't think that word means what you think it means.

2013-08-23 Thread Zooko Wilcox-O'Hearn
Zooko Wilcox-O'Hearn added the comment: Well, read the thread! http://mail.python.org/pipermail/python-dev/2009-June/090021.html Basically just a couple of +1's, and a good suggestion to name it something clearer than crtime. Please fix it! -- nosy: +Zooko.Wilcox-O'Hearn

[issue5720] ctime: I don't think that word means what you think it means.

2013-08-23 Thread Zooko Wilcox-O'Hearn
Zooko Wilcox-O'Hearn added the comment: Benjamin Peterson: what do you mean hijack ctime? I don't think I — or anyone — has proposed anything that fits that description. Please be more specific. My proposal in http://bugs.python.org/issue5720#msg85750 does not break anything

[issue5720] ctime: I don't think that word means what you think it means.

2013-08-23 Thread Zooko Wilcox-O'Hearn
Zooko Wilcox-O'Hearn added the comment: Benjamin: I'm sorry, I still don't understand. Do you think my proposal would involve setting something named ctime to contain a value that didn't come from the underlying stat ctime? -- ___ Python tracker

[issue5720] ctime: I don't think that word means what you think it means.

2013-08-23 Thread Zooko Wilcox-O'Hearn
Zooko Wilcox-O'Hearn added the comment: Aha! Mystery solved. I wouldn't say that you were stupid — I would say that crtime is way too close to ctime, and I strongly agree with the suggestion (http://mail.python.org/pipermail/python-dev/2009-June/090026.html) on the mailing list by Greg Ewing

[issue14171] warnings from valgrind about openssl as used by CPython

2012-03-02 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: Oh, I'm sorry I didn't make that clear at first. First of all, so that others who encounter these warnings can see how I worked-around them so that they can do that as well. Second, because Python comes with a valgrind suppressions file

[issue14171] warnings from valgrind about openssl as used by CPython

2012-03-01 Thread Zooko O'Whielacronx
New submission from Zooko O'Whielacronx zo...@zooko.com: The buildbot for the Tahoe-LAFS and pycryptopp projects runs CPython under valgrind on Fedora, and valgrind emits warnings like this: ==30127== Conditional jump or move depends on uninitialised value(s) ==30127== at 0x4C2AD01: bcmp

[issue3871] cross and native build of python for mingw32 with packaging

2011-08-29 Thread Zooko O'Whielacronx
Changes by Zooko O'Whielacronx zo...@zooko.com: -- nosy: -zooko ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3871 ___ ___ Python-bugs-list

[issue7546] msvc9compiler.py: add .asm extension

2011-05-03 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: I got a bug report from a user that they encountered this error: http://tahoe-lafs.org/pipermail/tahoe-dev/2011-April/006312.html Then a follow-up in which they say they applied the patch from http://bugs.python.org/issue8597 (this ticket

[issue7546] msvc9compiler.py: add .asm extension

2011-05-03 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: Thanks, Stefan Krah. I posted your comment to the tahoe-dev mailing list: http://tahoe-lafs.org/pipermail/tahoe-dev/2011-May/006336.html Also Samuel Neves has posted on that thread

[issue1322] platform.dist() has unpredictable result under Linux

2011-04-22 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: There seems to be some mistake, re #msg134219 and #msg134255. The current version of may patch *does* avoid the cost of a subprocess in the common case. I described this new strategy in #msg73744 and as far as I know it satisfies all

[issue1322] platform.dist() has unpredictable result under Linux

2011-04-20 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: For what it is worth, here is the current version of this code that we are using in Tahoe-LAFS: http://tahoe-lafs.org/trac/tahoe-lafs/browser/trunk/src/allmydata/__init__.py?annotate=blamerev=5033#L36 You can see the results on our

announcing pyutil-1.8.0

2010-12-06 Thread Zooko O'Whielacronx
: http://tahoe-lafs.org/trac/pyutil/browser/trunk/README.rst download: http://pypi.python.org/pypi/pyutil Regards, Zooko [1] http://tahoe-lafs.org/trac/pyutil/browser/trunk/pyutil/jsonutil.py [2] http://tahoe-lafs.org/trac/pyutil/browser/trunk/COPYING.SPL.txt -- http://mail.python.org/mailman

ANNOUNCING Tahoe, the Least-Authority File System, v1.8.0

2010-09-29 Thread Zooko O'Whielacronx
code with pure-Python code, relying on JIT compilers such as PyPy to make it efficient enough. :-) http://twitter.com/#!/fijall/status/25314330015 Regards, Zooko ANNOUNCING Tahoe, the Least-Authority File System, v1.8.0 The Tahoe-LAFS team is pleased to announce the immediate availability

[issue1589] New SSL module doesn't seem to verify hostname against commonName in certificate

2010-09-29 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: This appears to be a concern for some people. Maybe the builtin ssl module should be deprecated if there isn't a lot of manpower to maintain it and instead the well-maintained pyOpenSSL package should become the recommended tool? Here

announcing pycryptopp-0.5.20

2010-09-20 Thread Zooko O'Whielacronx
the quick start-up-self-tests of AES and SHA256 on module import Regards, Zooko -- http://mail.python.org/mailman/listinfo/python-list

[issue3937] platform.dist(): detect Linux distribution version in a robust, standard way

2010-08-11 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: Please check what platform.linux_distribution() returns on your platform using Python 2.6rc2. Here are the results of that. Summary: looks fine to me. http://tahoe-lafs.org/buildbot/waterfall Here are the scripts that are generating

Re: Download Microsoft C/C++ compiler for use with Python 2.6/2.7 ASAP

2010-07-25 Thread Zooko O'Whielacronx
modules with mingw, and if it doesn't work report a bug (to mingw project and to the Python project) so that we can track more precisely what the issues are. Regards, Zooko http://bugs.python.org/issue3871# cross and native build of python for mingw32 with distutils -- http://mail.python.org/mailman

ANNOUNCING Tahoe, the Least-Authority File System, v1.7.1

2010-07-19 Thread Zooko O'Whielacronx
Folks: This innovative distributed filesystem is written entirely in Python. Well, actually we rely on some C/C++ extension code in Python packages like zfec and pycryptopp for some mathematical heavy lifting, but all of the code in the tahoe-lafs package is actually pure Python. Regards, Zooko

I wish for a tool named 2to6.

2010-07-11 Thread Zooko O'Whielacronx
programmers who want to do that: http://packages.python.org/six/ This note to the list is to express my wish for an automated tool named 2to6 which converts my Python 2.6 codebase to being both py2- and py2- compatible using Benjamin Peterson's six library. Regards, Zooko -- http://mail.python.org

Re: Python -- floating point arithmetic

2010-07-08 Thread Zooko O'Whielacronx
. Regards, Zooko -- http://mail.python.org/mailman/listinfo/python-list

Re: Python -- floating point arithmetic

2010-07-08 Thread Zooko O'Whielacronx
On Thu, Jul 8, 2010 at 11:22 AM, Adam Skutt ask...@gmail.com wrote: On Jul 8, 12:38 pm, Zooko O'Whielacronx zo...@zooko.com wrote: Now as a programmer you have two choices: … 1. accept what they typed in and losslessly store it in a decimal: … 2. accept what they typed in and lossily convert

Re: Python -- floating point arithmetic

2010-07-07 Thread Zooko O'Whielacronx
exclusively in all my new Python code and switch to floats only if I need to interoperate with an external system that requires floats or I have some tight inner loop that needs to be highly optimized. Regards, Zooko -- http://mail.python.org/mailman/listinfo/python-list

Re: The real problem with Python 3 - no business case for conversion (was I strongly dislike Python 3)

2010-07-07 Thread Zooko O'Whielacronx
, Zooko -- http://mail.python.org/mailman/listinfo/python-list

Re: Python -- floating point arithmetic

2010-07-07 Thread Zooko O'Whielacronx
://code.google.com/p/dmath/ help ?) Regards, Zooko -- http://mail.python.org/mailman/listinfo/python-list

[issue9123] insecure os.urandom on VMS

2010-06-29 Thread Zooko O'Whielacronx
New submission from Zooko O'Whielacronx zo...@zooko.com: os.urandom() on VMS invokes OpenSSL's RAND_pseudo_bytes(). That is documented on: http://www.openssl.org/docs/crypto/RAND_bytes.html as being predictable and therefore unsuitable for many cryptographic purposes. This is inconsistent

[issue9123] insecure os.urandom on VMS

2010-06-29 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: HACK Zooko-Ofsimplegeos-MacBook-Pro:~/playground/python/release27-trunk$ svn diff Index: Modules/posixmodule.c === --- Modules/posixmodule.c (revision 82382) +++ Modules

[issue9123] insecure os.urandom on VMS

2010-06-29 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: This issue is a security vulnerability. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9123

ANNOUNCING Tahoe, the Least-Authority File System, v1.7.0

2010-06-21 Thread Zooko O'Whielacronx
-looking mount point backed by a Tahoe-LAFS grid. Google is sponsoring us through Google Summer of Code. The next release after this one will hopefully include the resulting improvements. Regards, Zooko [*] That's a lie. The parts that require maximum CPU efficiency—secure hash functions, ciphers

[issue3439] create a numbits() method for int and long types

2010-06-21 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: There is a small mistake in the docs: def bit_length(x): 'Number of bits necessary to represent self in binary.' s = bin(x) # binary representation: bin(-37) -- '-0b100101' s = s.lstrip('-0b') # remove leading zeros

announcing jsonutil package

2010-06-18 Thread Zooko O'Whielacronx
will probably be easy to fix. Regards, Zooko -- http://mail.python.org/mailman/listinfo/python-list

[issue8654] Improve ABI compatibility between UCS2 and UCS4 builds

2010-05-07 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: Option 1: Make Unicode-agnosticism the default and force anyone who cares about the Unicode setting to include a separate header. If they don't include that header, they can only call safe functions and can't poke

[issue8597] build out-of-line asm on Windows

2010-05-01 Thread Zooko O'Whielacronx
New submission from Zooko O'Whielacronx zo...@zooko.com: I maintain a Python package which comes with assembly optimizations -- http://tahoe-lafs.org/trac/pycryptopp . Someone was porting this package to Win64 today and discovered that distutils couldn't build it because the Microsoft

Re: StringChain -- a data structure for managing large sequences of chunks of bytes

2010-03-23 Thread Zooko O'Whielacronx
My apologies; I left out the heading on the last of the four structures in the benchmark results. Here are those results again with the missing heading (Stringy) inserted: Regards, Zooko - Hide quoted text - On Sun, Mar 21, 2010 at 11:09 PM, Zooko O'Whielacronx zoo...@gmail.com wrote: impl

Re: StringChain -- a data structure for managing large sequences of chunks of bytes

2010-03-22 Thread Zooko O'Whielacronx
? http://pypi.python.org/pypi/stringchain Regards, Zooko impl: StringChain task: _accumulate_then_one_gulp 1 best: 5.698e+00, 3th-best: 7.486e+00, mean: 7.758e+00, 10 best: 4.640e+00, 3th-best: 4.690e+00, mean: 7.674e+00, 100 best: 3.789e+00, 3th-best: 3.806e+00, mean

Re: EURO GIRLS MISS EUROPE MISS FRENCH FRENCH PRETTY GIRLS SEXY FRENCH GIRLS on www.sexyandpretty-girls.blogspot.com SEXY RUSSIAN GIRLS SEXY GREEK GIRLS SEXY DUTCH GIRLS SEXY UK G

2010-03-21 Thread Zooko O'Whielacronx
from that poster. Therefore, the volunteer work required would be inspecting the *first* post from each *new* subscriber to see if that post is spam. Regards, Zooko -- http://mail.python.org/mailman/listinfo/python-list

Re: StringChain -- a data structure for managing large sequences of chunks of bytes

2010-03-21 Thread Zooko O'Whielacronx
result is the best of 10 tries, or of 5 tries for the tasks which were taking too long to run it 10 times. Regards, Zooko [1] http://foolscap.lothar.com/trac/ticket/149 [2] http://allmydata.org/pipermail/tahoe-dev/2010-March/004181.html [3] http://tahoe-lafs.org/trac/stringchain impl

StringChain -- a data structure for managing large sequences of chunks of bytes

2010-03-11 Thread Zooko O'Whielacronx
...). Thanks! Regards, Zooko -- http://mail.python.org/mailman/listinfo/python-list

[issue7406] int arithmetic relies on C signed overflow behaviour

2009-12-03 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: Here is a way to test for overflow which is correct for any C implementation: static PyObject * int_add(PyIntObject *v, PyIntObject *w) { register long a, b; CONVERT_TO_LONG(v, a); CONVERT_TO_LONG(w, b

[issue7406] int arithmetic relies on C signed overflow behaviour

2009-12-03 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: Here is a set of macros that I use to test for overflow: http://allmydata.org/trac/libzutil/browser/libzutil/zutilimp.h -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue7202] python setup.py MYCOMMAND --verbose does not yield an unrecognized option error but also does not set the verbosity

2009-10-25 Thread Zooko O'Whielacronx
New submission from Zooko O'Whielacronx zo...@zooko.com: This command: python setup.py --verbose darcsver works as expected -- the presence of '--verbose' increases the verbosity of logging. This command: python setup.py darcsver --verbose does not increase the verbosity, nor does it tell

[issue7183] did 2.6.3 regress for some uses of the __doc__ property?

2009-10-21 Thread Zooko O'Whielacronx
New submission from Zooko O'Whielacronx zo...@zooko.com: According to https://bugs.edge.launchpad.net/ubuntu/+source/boost1.38/+bug/457688 , Python 2.6.3 stopped working for something that Python 2.6.2 worked for, involving Boost. Andrew Mitchell looked at the Python 2.6.3 release notes, saw

[issue7146] [PATCH] platform.uname()[4] returns 'amd64' on Windows and 'x86-64' on Linux

2009-10-15 Thread Zooko O'Whielacronx
New submission from Zooko O'Whielacronx zo...@zooko.com: Looking at http://bugs.python.org/setuptools/issue1 and reading the source of Lib/platform.py, it appears to me that uname() returns different strings identifying the amd64 architecture depending on what operating system is running

[issue1759169] clean up Solaris port and allow C99 extension modules

2009-10-15 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: I just tried to port a library of mine -- zfec -- to Nexenta (the Ubuntu variant built on top of OpenSolaris). I hit this bug because the Nexenta folks don't use all the patches that are applied to Python by the Solaris folks. My port

ANNOUNCING Tahoe, the Lofty-Atmospheric Filesystem, v1.5

2009-08-01 Thread Zooko Wilcox-O'Hearn
Dear people of python-list: Python is our preferred programming language for the Tahoe-LAFS project. We use C/C++ extension modules for the CPU-intensive parts, and we interoperate with many languages through the RESTful web API, but the core code is 100% Python. Regards, Zooko

[issue6555] distutils config file should have the same name on both platforms and all scopes

2009-07-23 Thread Zooko O'Whielacronx
New submission from Zooko O'Whielacronx zo...@zooko.com: Currently we have this: http://docs.python.org/install/#location-and-names-of-config-files The distutils config file can have one of four different names depending on which platform and which location. This makes it harder for people

[issue6556] HOME is not a standard environment variable on Windows

2009-07-23 Thread Zooko O'Whielacronx
New submission from Zooko O'Whielacronx zo...@zooko.com: The distutils looks in an environment variable named HOME on Windows: http://docs.python.org/install/#location-and-names-of-config-files Windows does not by default create such a variable, so only if a user has manually configured one

[issue6555] distutils config file should have the same name on both platforms and all scopes

2009-07-23 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: I was spurred to write this ticket today because of a conversation with J.P. Calderone: exarkun but, I have no clue where distutils.cfg goes on Windows -- ___ Python tracker rep

Re: No trees in the stdlib?

2009-07-03 Thread zooko
Try PyJudy: http://www.dalkescientific.com/Python/PyJudy.html -- http://mail.python.org/mailman/listinfo/python-list

[issue6296] Native (and default) tarfile support for setup.py sdist in distutils on Windows

2009-06-24 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: Antoine, when you say zip has better support everywhere, what do you mean? I don't want to put words in your mouth, but what I think of is that users maybe want to pack or unpack distributions with separate tools instead of with the Python

[issue6296] Native (and default) tarfile support for setup.py sdist in distutils on Windows

2009-06-17 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: I strongly favor a common approach instead of doing it differently on different platforms. (Aside: check out the gratuitous differences for names and locations of distutils config files: http://docs.python.org/install/index.html#location

[issue6298] http://python.org/download says Python 2.4.5, but I think it means Python 2.4.6.

2009-06-17 Thread Zooko O'Whielacronx
Changes by Zooko O'Whielacronx zo...@zooko.com: -- assignee: georg.brandl components: Documentation nosy: georg.brandl, zooko severity: normal status: open title: http://python.org/download says Python 2.4.5, but I think it means Python 2.4.6

[issue6280] calendar.timegm() belongs in time module, next to time.gmtime()

2009-06-13 Thread Zooko O'Whielacronx
New submission from Zooko O'Whielacronx zo...@zooko.com: I've been struggling to write a function that takes UTC timestamps in ISO-8601 strings and returns UTC timestamps in unix-seconds-since-epoch. The first implementation used time.mktime() minus time.timezone (http://allmydata.org/trac

[issue6280] calendar.timegm() belongs in time module, next to time.gmtime()

2009-06-13 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: Here is the ticket that tracked this issue within the Tahoe-LAFS project: http://allmydata.org/trac/tahoe/ticket/733 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6280

[issue5720] ctime: I don't think that word means what you think it means.

2009-06-13 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: Okay, I posted to python-dev: http://mail.python.org/pipermail/python-dev/2009-June/090021.html -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5720

Re: [Python-Dev] .pth files are evil

2009-05-10 Thread Zooko Wilcox-O'Hearn
of conflicting files in the target -- does pip handle these?) GNU stow does handle these issues. Regards, Zooko -- http://mail.python.org/mailman/listinfo/python-list

how GNU stow is complementary rather than alternative to distutils

2009-05-10 Thread Zooko Wilcox-O'Hearn
correctly, your (MvL's) suggestion that easy_install create a .pth file named easy_install-$PACKAGE-$VERSION.pth instead of easy_install.pth would indeed make it work with GNU stow. Regards, Zooko footnote 1: Aside from the .pth file issue, the other reason that setuptools doesn't work

Re: [Python-Dev] how GNU stow is complementary rather than alternative to distutils

2009-05-10 Thread Zooko O'Whielacronx
following-up to my own post to mention one very important reason why anyone cares: On Sun, May 10, 2009 at 12:04 PM, Zooko Wilcox-O'Hearn zo...@zooko.com wrote: It is a beautiful, elegant hack because it is sooo dumb.  It is also very nice to use the same tool to manage packages written in any

Re: [Python-Dev] .pth files are evil

2009-05-09 Thread Zooko O'Whielacronx
it Just Works with most things. Regards, Zooko -- http://mail.python.org/mailman/listinfo/python-list

Re: pyflakes, pylint, pychecker - and other tools

2009-04-26 Thread Zooko O'Whielacronx
I like pyflakes. I haven't tried the others. I made a setuptools plugin named setuptools_pyflakes. If you install that package, then python ./setup.py flakes runs pyflakes on your package. Regards, Zooko -- http://mail.python.org/mailman/listinfo/python-list

Re: PEP 383: Non-decodable Bytes in System Character Interfaces

2009-04-25 Thread Zooko O'Whielacronx
that with the filename. This expands the size of our filenames significantly, but it is the only way to allow some future programmer to undo the damage of a falsely- successful decoding. Here's our whole plan: [5]. Regards, Zooko [1] http://allmydata.org [2] http://allmydata.org/pipermail/tahoe-dev

ANNOUNCING Tahoe-LAFS v1.4

2009-04-14 Thread zooko
support. Zooko Wilcox-O'Hearn on behalf of the allmydata.org team Special acknowledgment goes to Brian Warner, whose superb engineering skills and dedication are primarily responsible for the Tahoe implementation, and significantly responsible for the Tahoe design as well, not to mention most

[issue5755] -Wstrict-prototypes is valid for Ada/C/ObjC but not for C++

2009-04-14 Thread Zooko O'Whielacronx
New submission from Zooko O'Whielacronx zo...@zooko.com: A user of the Tahoe-LAFS project submitted a bug report to us, saying: I get lots of cc1plus: warning: command line option -Wstrict- prototypes is valid for Ada/C/ObjC but not for C++ when compiling A little googling shows

[issue5720] ctime: I don't think that word means what you think it means.

2009-04-07 Thread Zooko O'Whielacronx
New submission from Zooko O'Whielacronx zo...@zooko.com: The stat module currently uses the st_ctime slot to hold two kinds values which are semantically different but which are frequently confused with one another. It chooses which kind of value to put in there based on platform -- Windows

[issue1322] platform.dist() has unpredictable result under Linux

2009-03-20 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: I just read back through this ticket, but I didn't understand exactly what MAL wanted to have different from what this Python function currently does: http://allmydata.org/trac/tahoe/browser/src/allmydata/__init__.py?rev=20081125155118

[issue1322] platform.dist() has unpredictable result under Linux

2009-03-18 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: doko: thanks for your interest encouraging more formal and generic solutions to this. For what it is worth, the current version of my patch (used in Tahoe) is here: http://allmydata.org/trac/tahoe/browser/src/allmydata/__init__.py?rev

[issue5480] .egg-info = .pkg-info

2009-03-12 Thread Zooko O'Whielacronx
New submission from Zooko O'Whielacronx zo...@zooko.com: The .egg-info files which are produced by distutils in Python = 2.5 are the only standard, cross-platform way for a Python package (distribution) to declare its name and version number in a machine-parseable way. Unfortunately

[issue5480] .egg-info = .pkg-info

2009-03-12 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: Thank you. I've now read PEP 376. It is good. However, this same issue remains in PEP 376 like it does in today's distutils. If the new work in PEP 376 is going to continue to use the word egg in its filenames, then we need to send out

[issue5480] .egg-info = .pkg-info

2009-03-12 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: By the way, here is the ticket on allmydata.org Tahoe where this issue was bugging me which is why I opened this ticket: http://allmydata.org/trac/tahoe/ticket/149 # unable to use pre-installed non-setuptools^H^H^H^H^H^H^H^H^H^Hdistutils

[issue1759169] clean up Solaris port and allow C99 extension modules

2009-02-15 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: Martin (sometimes called MvL) mentioned some specific issues about e.g. #pragma redefine_extname sigwait __posix_sigwait I didn't understand exactly what MvL's concern was, and I don't know off the top of my head how Solaris sigwait

ANNOUNCING allmydata.org Tahoe, the Least-Authority Filesystem, v1.3

2009-02-13 Thread zooko
Folks: This Cloud Storage system is written entirely in Python except for the CPU-intensive parts (cryptography and erasure coding), which are provided as Python extension modules. Thanks for making Python such a high-quality and effective tool! Regards, Zooko ANNOUNCING allmydata.org

[issue4706] try to build a C module, but don't worry if it doesn't work

2009-01-31 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: Hey check it out -- simplejson can try to build its extension module, and when it fails to compile (in this case because there is no Python.h), then it prints out a warning message and finishes a successful build: Added file: http

[issue4706] try to build a C module, but don't worry if it doesn't work

2009-01-31 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: Oh! And simplejson is able to cleanly fall back to pure Python when gcc is not found, as well. Perhaps Twisted http://twistedmatrix.com/trac/ticket/3586 could use simplejson's approach. ___ Python

[issue4706] try to build a C module, but don't worry if it doesn't work

2009-01-31 Thread Zooko O'Whielacronx
Changes by Zooko O'Whielacronx zo...@zooko.com: Added file: http://bugs.python.org/file12911/build-with-no-gcc.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4706

[issue4706] try to build a C module, but don't worry if it doesn't work

2009-01-31 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: Here's Twisted failing to build when gcc is not installed: Added file: http://bugs.python.org/file12912/Twisted-build-with-no-gcc.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue4706] try to build a C module, but don't worry if it doesn't work

2009-01-31 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: Here's Twisted failing to build because Python.h isn't found: Added file: http://bugs.python.org/file12913/Twisted-build-no-Python.h.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue4706] try to build a C module, but don't worry if it doesn't work

2009-01-27 Thread Zooko O'Whielacronx
Zooko O'Whielacronx zo...@zooko.com added the comment: Tarek: Yes, failure to build an extension module for any reason should definitely cause build to fail by default. However, many Python packages seem to come with optional extension modules, typically for a performance speed-up. simplejson

[issue4706] try to build a C module, but don't worry if it doesn't work

2008-12-20 Thread Zooko O'Whielacronx
New submission from Zooko O'Whielacronx zo...@zooko.com: I was trying to install Twisted on my son's OLPC. Twisted comes with a handful of C extensions which are all optional and most of which are not expected to compile on this platform anyway (they are platform-specific for Mac or Windows

[issue3871] cross building python for mingw32 with distutils

2008-12-01 Thread Zooko O'Whielacronx
Zooko O'Whielacronx [EMAIL PROTECTED] added the comment: I'm interested in this patch so I'm adding myself to the Nosy list. -- nosy: +zooko ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3871

[issue4295] closing stdout in a child process on cygwin means that process doesn't receive bytes from stdin anymore. I think.

2008-11-13 Thread Zooko O'Whielacronx
Zooko O'Whielacronx [EMAIL PROTECTED] added the comment: Corinna Vinschen of cygwin requests a smaller test case: http://www.cygwin.com/ml/cygwin/2008-11/msg00166.html ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4295

[issue1675] Race condition in os.makedirs

2008-11-11 Thread Zooko O'Whielacronx
Zooko O'Whielacronx [EMAIL PROTECTED] added the comment: Here's the version of this that I've been using for almost a decade now: http://allmydata.org/trac/pyutil/browser/pyutil/pyutil/fileutil.py?rev=127#L241 Actually I used to have a bigger version that could optionally require certain

[issue4295] closing stdout in a child process on cygwin means that process doesn't receive bytes from stdin anymore. I think.

2008-11-10 Thread Zooko O'Whielacronx
Zooko O'Whielacronx [EMAIL PROTECTED] added the comment: I opened a ticket on the cygwin issue tracker: http://sourceware.org/bugzilla/show_bug.cgi?id=7017 # closing stdout in a child python process means that process doesn't receive bytes from stdin anymore. I think

[issue4172] distutils too picky about cygwin ld's version number

2008-10-22 Thread Zooko O'Whielacronx
New submission from Zooko O'Whielacronx [EMAIL PROTECTED]: When I build an extension module with cygwin g++ and compiler=mingw32 in my distutils config file, the build fails with: File c:\python25\lib\site-packages\setuptools-0.6c9.egg\setuptools\command\build_ext.py, line 46, in run

[issue1759169] clean up Solaris port and allow C99 extension modules

2008-09-24 Thread Zooko O'Whielacronx
Zooko O'Whielacronx [EMAIL PROTECTED] added the comment: Sorry I didn't get back to this ticket, MvL. Recently someone trying to build the Tahoe distributed filesystem on Solaris had a problem: http://allmydata.org/pipermail/tahoe-dev/2008-September/000789.html They had built Python 2.5

[issue1322] platform.dist() has unpredictable result under Linux

2008-09-24 Thread Zooko O'Whielacronx
Zooko O'Whielacronx [EMAIL PROTECTED] added the comment: Well, for what it is worth I've updated the custom detect linux distribution code in Tahoe yet again. The current version first tries to parse /etc/lsb-version (fast, gives a good answer on Ubuntu, and hopefully at least semi-standardized

[issue3937] platform.dist(): detect Linux distribution version in a robust, standard way

2008-09-23 Thread Zooko O'Whielacronx
Zooko O'Whielacronx [EMAIL PROTECTED] added the comment: Here is an updated version of my patch which tries parsing /etc/lsb-release first and only if that fails tries executing lsb_release. The reason is that executing lsb_release in a subprocess takes half-a-second on my high-performance

[issue1322] platform.dist() has unpredictable result under Linux

2008-09-23 Thread Zooko O'Whielacronx
Zooko O'Whielacronx [EMAIL PROTECTED] added the comment: Please see also #3937 for a patch which first tries to parse /etc/lsb-release, then tries to execute lsb_release, then falls back to the old behavior of platform.dist(). (Note that parsing the file named /etc/lsb-release is not guaranteed

[issue1322] platform.dist() has unpredictable result under Linux

2008-09-23 Thread Zooko O'Whielacronx
Zooko O'Whielacronx [EMAIL PROTECTED] added the comment: Okay, per MAL's request over on #3937, I tried platform.get_linux_distribution() on the current svn trunk (which I assume is the version that is about to become python 2.6). It gave the same not-so-great answer as platform.dist() used

[issue1322] platform.dist() has unpredictable result under Linux

2008-09-23 Thread Zooko O'Whielacronx
Changes by Zooko O'Whielacronx [EMAIL PROTECTED]: Added file: http://bugs.python.org/file11574/dist.patch.txt ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1322

[issue1322] platform.dist() has unpredictable result under Linux

2008-09-23 Thread Zooko O'Whielacronx
Zooko O'Whielacronx [EMAIL PROTECTED] added the comment: MAL: why do you say it is better to look for /etc/$supportedplatform-release files first instead of looking for /etc/lsb-release first? I do not know if /etc/lsb-release is suitably generic -- I've tried it only on a few platforms. I do

[issue1322] platform.dist() has unpredictable result under Linux

2008-09-23 Thread Zooko O'Whielacronx
Zooko O'Whielacronx [EMAIL PROTECTED] added the comment: Because that's exactly what lsb_release does as well. You must know something about common lsb_release implementations that I don't. As far as I saw in the LSB documentation, it is required to print out information in a certain format

[issue3937] platform.dist(): detect Linux distribution version in a robust, standard way

2008-09-22 Thread Zooko O'Whielacronx
New submission from Zooko O'Whielacronx [EMAIL PROTECTED]: platform.dist() returns ('debian', 'lenny/sid', '') on my Ubuntu 8.04 Hardy system. Investigating shows that there are a few techniques in platform.py to parse the version-number-files of different Linux distributions. This patch adds

[issue3937] platform.dist(): detect Linux distribution version in a robust, standard way

2008-09-22 Thread Zooko O'Whielacronx
Zooko O'Whielacronx [EMAIL PROTECTED] added the comment: Here's a new version of this patch which differs only in having slightly more correct documentation. Added file: http://bugs.python.org/file11563/dist.patch.txt ___ Python tracker [EMAIL PROTECTED

Re: Is there any way to find out sizeof an object

2008-06-26 Thread zooko
Here are a few little tools that I developed to do this kind of thing: http://allmydata.org/trac/pyutil/browser/pyutil/pyutil/memutil.py Regards, Zooko -- http://mail.python.org/mailman/listinfo/python-list

[issue3016] tarfile.py incurs exception from self.chmod() when tarball has g+s

2008-05-30 Thread Zooko O'Whielacronx
New submission from Zooko O'Whielacronx [EMAIL PROTECTED]: As reported at https://bugs.launchpad.net/pyopenssl/+bug/236190 , tarfile.py incurs an Operation not permitted exception (on Mac OS 10.4) when it tries to untar the pyOpenSSL-0.6.tar.gz tarball, because that tarball has directories

announcing allmydata.org Tahoe, the Least-Authority Filesystem, v1.0

2008-03-25 Thread zooko
storage grid. Regards, Zooko ANNOUNCING Allmydata.org Tahoe, the Least-Authority Filesystem, v1.0 We are pleased to announce the release of version 1.0 of the Tahoe Least Authority Filesystem. The Tahoe Least Authority Filesystem is a secure, decentralized, fault-tolerant filesystem. All

ANN: allmydata.org Tahoe v0.8 -- a secure, decentralized filesystem

2008-02-20 Thread zooko
hackers and allowing them to spend part of their work time on the next-generation, free-software project). We are eternally grateful! Zooko O'Whielacronx on behalf of the allmydata.org team February 15, 2008 Boulder, Colorado, USA [1] http://allmydata.org/trac/tahoe/browser/relnotes.txt?rev

[issue1759997] poll() on cygwin sometimes fails [PATCH]

2008-01-19 Thread Zooko O'Whielacronx
Zooko O'Whielacronx added the comment: This bug was fixed in cygwin 1.5.25-7, released 2007-12-17. _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1759997 _ ___ Python

[issue1104021] wishlist: os.feed_urandom(input)

2008-01-05 Thread Zooko O'Whielacronx
Zooko O'Whielacronx added the comment: No, I don't want to work on a patch for this at this time. In fact, my current strategy with regard to random bits doesn't require this functionality, in general. _ Tracker [EMAIL PROTECTED] http://bugs.python.org

  1   2   >