Folks:
pyutil is a collection of modules and functions that we've found
useful over the years.
Peter Westlake and Ravi Pinjala (who found pyutil through the
Tahoe-LAFS project) contributed some documentation about what each
module in pyutil does, and SimpleGeo (my employer) is using one small
par
Hello, people of python-list. This storage project uses Python for
almost everything, except we use C/C++ for the CPU-intensive
computations (cryptography and erasure coding) and we use JavaScript
for some user interface bits. We're even looking at the possibility of
replacing the C/C++ crypto code
Folks:
pycryptopp is a Python crypto library, so it could be considered an
alternative to PyCrypto. However, pycryptopp offers very few
algorithms. In fact, it only offers RSA, AES, and SHA-256. So if
that's all you need, then great. I just released a new version of
pycryptopp.
http://tahoe-lafs.
On Wed, Jul 7, 2010 at 3:32 AM, Jonathan Hartley wrote:
>
> I presume this problem would go away if future versions of Python
> itself were compiled on Windows with something like MinGW gcc.
You might want to track issue3871. Roumen Petrov has done a lot of
work to make CPython compilable with mi
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,
Zo
Folks:
I have been (I admit it) a Python 3 skeptic. I even speculated that
the Python 3 backward-incompatibility would lead to the obsolescence
of Python:
http://pubgrid.tahoe-lafs.org/uri/URI:DIR2-RO:ixqhc4kdbjxc7o65xjnveoewym:5x6lwoxghrd5rxhwunzavft2qygfkt27oj3fbxlq4c6p45z5uneq/blog.html
Howev
On Thu, Jul 8, 2010 at 11:22 AM, Adam Skutt wrote:
> On Jul 8, 12:38 pm, "Zooko O'Whielacronx" 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
On Thu, Jul 8, 2010 at 4:58 AM, Adam Skutt wrote:
>
> I can't think of any program I've ever written where the inputs are
> actually intended to be decimal. Consider a simple video editing
> program, and the user specifies a frame rate 23.976 fps. Is that what
> they really wanted? No, they wan
On Wed, Jul 7, 2010 at 10:04 PM, David Cournapeau wrote:
>
> Decimal vs float is a different matter altogether: decimal has
> downsides compared to float. First, there is this irreconcilable fact
> that no matter how small your range is, it is impossible to represent
> exactly all (even most) numb
Dear Paul McGuire:
Thank you very much for these notes!
See also a few other notes:
Michael Foord:
http://www.voidspace.org.uk/python/weblog/arch_d7_2010_03_20.shtml#e1167
Ned Batchelder:
http://nedbatchelder.com/blog/200910/running_the_same_code_on_python_2x_and_3x.html
I was wondering if it
I'm starting to think that one should use Decimals by default and
reserve floats for special cases.
This is somewhat analogous to the way that Python provides
arbitrarily-big integers by default and Python programmers only use
old-fashioned fixed-size integers for special cases, such as
interopera
Dear people of python-list:
We just released Tahoe-LAFS v1.7, the secure distributed filesystem
written entirely [*] in Python.
The major new feature is an SFTP server. This means that (with enough
installing software and tinkering with your operating system
configuration) you can have a normal-l
Folks:
I've uploaded a small package to PyPI which is a small wrapper around
simplejson that sets the default behavior so that JSON decimal values
are mapped to type Decimal instead of type float:
http://pypi.python.org/pypi/jsonutil
It has pretty thorough unit tests, including a copy of all the
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 wrote:
>
> impl:
On Mon, Mar 22, 2010 at 2:07 AM, Steven D'Aprano
wrote:
>
> Perhaps you should have said that it was a wrapper around deque giving
> richer functionality, rather than giving the impression that it was a
> brand new data structure invented by you. People are naturally going to
> be more skeptical a
Folks:
I failed to make something sufficiently clear in my original message
about StringChain. The use case that I am talking about is not simply
that you need to accumulate a sequence of incoming chunks of data,
concatenate them together, and then process the entire result. If that
is all you nee
On Sat, Mar 20, 2010 at 1:27 PM, Brian J Mingus
wrote:
> Moderating this stuff requires moderating all messages.
Not quite. GNU Mailman comes with nice features to ease this task. You
can configure it so that everyone who is currently subscribed can post
freely, but new subscribers get a "moderat
Folks:
Every couple of years I run into a problem where some Python code that
worked well at small scales starts burning up my CPU at larger scales,
and the underlying issue turns out to be the idiom of accumulating
data by string concatenation. It just happened again
(http://foolscap.lothar.com/t
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 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 programming
>
.pth files are why I can't easily use GNU stow with easy_install.
If installing a Python package involved writing new files into the
filesystem, but did not require reading, updating, and re-writing any
extant files such as .pth files, then GNU stow would Just Work with
easy_install the way it Just
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
Thanks for writing this PEP 383, MvL. I recently ran into this
problem in Python 2.x in the Tahoe project [1]. The Tahoe project
should be considered a good use case showing what some people need.
For example, the assumption that a file will later be written back
into the same local file
22 matches
Mail list logo