On 7/2/2010 1:54 AM, Gregory Ewing wrote:
WANG Cong wrote:
Yeah, my point is why setattr() for dynamic attributes while assignments
for static attributes?
If you mean using exactly the same syntax for both, that would
require making the static case more verbose, e.g. instead of
foo.blarg
yo
In article <4c36a7a0$0$28647$c3e8...@news.astraweb.com>,
Steven D'Aprano wrote:
> This is a style question rather than a programming question.
>
> How large (how many KB, lines, classes, whatever unit of code you like to
> measure in) should a module grow before I should break it up into a
>
On 9 Jul, 06:44, Stefan Behnel wrote:
> WRT a single machine, you should note that GPGPUs are a lot faster these
> days than even multi-core CPUs. And Python has pretty good support for
> GPUs, too.
With OpenCL, Python is better than C for heavy computing. The Python
or C/C++ program has to supp
On 9 Jul, 05:39, Felix wrote:
> This is something that I have been thinking about recently. Python has
> won quite a following in the scientific computing area, probably
> especially because of great libraries such as numpy, scipy, pytables
> etc.
Python is much more friendly to memory than Matl
On 7/8/10 9:37 PM, Steven D'Aprano wrote:
> This is a style question rather than a programming question.
>
> How large (how many KB, lines, classes, whatever unit of code you like to
> measure in) should a module grow before I should break it up into a
> package? I see that, for example, decimal
Steven D'Aprano, 09.07.2010 06:37:
This is a style question rather than a programming question.
How large (how many KB, lines, classes, whatever unit of code you like to
measure in) should a module grow before I should break it up into a
package? I see that, for example, decimal.py is> 3000 lin
Felix, 09.07.2010 05:39:
On Jul 4, 11:25 am, David Cournapeau wrote:
Well, I wish I did not have to use C, then :) For example, as a
contributor to numpy, it bothers me at a fundamental level that so
much of numpy is in C.
This is something that I have been thinking about recently. Python has
Christian Heimes wrote:
>> Yeah, but then we're down to file descriptors, C library locales and such as
>> the
>> remaining problems.
>
>Don't forget errno! Every CRT might have its own errno thread local. I
>don't know how its handled on Windows but I suspect it suffers from the
>same problem.
This is a style question rather than a programming question.
How large (how many KB, lines, classes, whatever unit of code you like to
measure in) should a module grow before I should break it up into a
package? I see that, for example, decimal.py is > 3000 lines of code, so
I can assume that 3
On Jul 4, 11:25 am, David Cournapeau wrote:
> On Mon, Jul 5, 2010 at 12:00 AM, D'Arcy J.M. Cain wrote:
> > I wish it was orders of magnitude faster for web development. I'm just
> > saying that places where we need compiled language speed that Python
> > already has that in C.
>
> Well, I wish I
On Fri, Jul 9, 2010 at 12:16 PM, Jack Diederich wrote:
>
> The right way to think about python syntax is not to consider what is
> obvious to an LL(1) compiler, or what makes sense in English, but
> rather "what was the obvious way to write an LL(1) syntax if you are a
> Dutchman who speaks Englis
On Thu, Jul 8, 2010 at 10:02 PM, MRAB wrote:
> sturlamolden wrote:
>> It seems "y is not x" fits well with spoken English, but it is also a
>> bit surprising that "y is not x" does not mean "y is (not x)" but "not
>> (y is x)". Why does Python reorder is and not operators, and what are
>> the form
sturlamolden wrote:
What happens here? Does Python (2.6.5) have an "is not" operator?
a = 5
print (a is not False)
True
print (a is (not False))
False
print (not (a is False))
True
It seems "y is not x" fits well with spoken English, but it is also a
bit surprising that "y is not x" does
On Jul 8, 1:32 pm, Robert Kern wrote:
> On 7/8/10 4:10 PM, sturlamolden wrote:
>
> > What happens here? Does Python (2.6.5) have an "is not" operator?
>
> Yes. From Grammar/Grammar:
>
> comp_op: '<'|'>'|'=='|'>='|'<='|'<>'|'!='|'in'|'not' 'in'|'is'|'is' 'not'
Happy thing, too. I use "is not" a
On Fri, Jul 9, 2010 at 3:28 AM, Mark Lawrence wrote:
> On 19-6-2010 23:45, Shashwat Anand wrote:
>
>> Terry: Thanks for bringing this to notice.
>> Mark: Kudos for your effort in cleaning up bugs.python.org
>>
>>
> Like I've said elsewhere, flattery will get you everywhere. :)
>
I think acknowled
sturlamolden:
> Windows did this too (msvcrt.dll) up to the VS2003 release, which came
> with msvcr71.dll in addition. Since then, M$ (pronounced Megadollar
> Corp.) have published msvcr80.dll, msvcr90.dll, and msvcr100.dll (and
> corresponding C++ versions) to annoy C and C++ developers into
> co
On 19-6-2010 23:45, Shashwat Anand wrote:
Terry: Thanks for bringing this to notice.
Mark: Kudos for your effort in cleaning up bugs.python.org
Like I've said elsewhere, flattery will get you everywhere. :)
FYI there are now 480 orphans and I've managed to get 8 issues closed.
After one week
On Jul 8, 9:52 pm, Wolfram Hinderer
wrote:
> JFTR, it works because a+b == a+b (while I don't think that a+b == b+a
> holds for all a and b).
Actually, that's one of the few identities that's safe. Well, for non-
NaN IEEE 754 floating-point, at any rate. And assuming that there's
no use of exte
On Jul 8, 5:44 pm, John Nagle wrote:
> On 7/8/2010 12:19 PM, Luis M. González wrote:
>
> > On Jul 8, 1:42 pm, John Nagle wrote:
> >> How is Unladen Swallow coming along? Looking at the site, code is
> >> being checked in and issues are being reported, but the last quarterly
> >> release was
Wolfram Hinderer writes:
> JFTR, it works because a+b == a+b (while I don't think that a+b == b+a
> holds for all a and b).
I'm pretty sure IEEE 754 addition is always commutative (except maybe in
the presence of infinity or NaN and maybe not even then). It differs from
rational or real-number
On Thu, Jul 8, 2010 at 2:11 PM, Thomas Jollans wrote:
> On 07/08/2010 09:17 PM, Alex Karpinski wrote:
>> I'm looking for some module or system of modules that can help me do a few
>> things with audio
>>
>> 1. Playback of files (at least .wavs, other codecs would be nice but, hey,
>> converting
On Thu, 08 Jul 2010 10:39:45 +0200, p...@informatimago.com (Pascal J.
Bourguignon) wrote:
>Nick Keighley writes:
>> Nick Keighley wrote:
>>> Rivka Miller wrote:
>>
Anyone know what the first initial of L. Peter Deutsch stand for ?
>>>
>>> Laurence according to wikipedia (search time 2s)
>>
I'm pleased to announce the release of winreg_unicode 0.5.0, the first
release of winreg_unicode.
The winreg_unicode package aims to be a drop-in replacement for Python
2's _winreg module. However, it returns unicode values where possible,
similar to Python 3's winreg module.
To illustrate the ne
On 07/08/2010 09:17 PM, Alex Karpinski wrote:
> I'm looking for some module or system of modules that can help me do a few
> things with audio
>
> 1. Playback of files (at least .wavs, other codecs would be nice but, hey,
> converting to a wav is easy)
> 2. Seek within the file
> 3. Control volu
Hi all,
have troubles with exporting objects through managers from multiprocess
module, see example:
Worker.py:
###
from multiprocessing import Process
from multiprocessing.managers import BaseManager
import pcapy
from impacket.ImpactDecoder import EthDecoder
_
On 8 Jul., 15:10, Ethan Furman wrote:
> Interesting. I knew when I posted my above comment that I was ignoring
> such situations. I cannot comment on the code itself as I am unaware of
> the algorithm, and haven't studied numbers extensively (although I do
> find them very interesting).
>
> So
On 8 Jul, 22:29, John Krukoff wrote:
> Don't forget about the similar "not in", as in:
I noticed that in the grammar Robert posted. It never occurred to me
as being a special operator too, but it is.
--
http://mail.python.org/mailman/listinfo/python-list
On 7/8/2010 12:19 PM, Luis M. González wrote:
On Jul 8, 1:42 pm, John Nagle wrote:
How is Unladen Swallow coming along? Looking at the site, code is
being checked in and issues are being reported, but the last quarterly
release was 2009 Q3. They missed their January 2010 release date
for
On 8 Jul, 22:32, Robert Kern wrote:
> > What happens here? Does Python (2.6.5) have an "is not" operator?
>
> Yes. From Grammar/Grammar:
>
> comp_op: '<'|'>'|'=='|'>='|'<='|'<>'|'!='|'in'|'not' 'in'|'is'|'is' 'not'
Thanks :)
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 2010-07-08 at 13:10 -0700, sturlamolden wrote:
> What happens here? Does Python (2.6.5) have an "is not" operator?
>
> >>> a = 5
> >>> print (a is not False)
> True
> >>> print (a is (not False))
> False
> >>> print (not (a is False))
> True
>
> It seems "y is not x" fits well with spoken
On 7/8/10 4:10 PM, sturlamolden wrote:
What happens here? Does Python (2.6.5) have an "is not" operator?
Yes. From Grammar/Grammar:
comp_op: '<'|'>'|'=='|'>='|'<='|'<>'|'!='|'in'|'not' 'in'|'is'|'is' 'not'
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless e
On 4 Jul, 21:59, Stefan Behnel wrote:
> > I have already said I don't care about unladen swallow.
>
> What I meant, was: which of these benchmarks would have to be better to
> make you care? Because your decision not to care seems to be based on
> exactly these benchmarks.
Those are the only one
What happens here? Does Python (2.6.5) have an "is not" operator?
>>> a = 5
>>> print (a is not False)
True
>>> print (a is (not False))
False
>>> print (not (a is False))
True
It seems "y is not x" fits well with spoken English, but it is also a
bit surprising that "y is not x" does not mean "y
I'm playign with Python bindings for libconfig, and one of the methods
does something that seems very odd to me. The purpose of the method
is to fetch the value found a a particular path within the
configuration namespace.
If the path exists and has a scalar value the method returns the tuple
(,
On Jul 8, 2:00 pm, Stefan Krah wrote:
>
> This whole argument is a misunderstanding. Mark and I argue that correct
> rounding is quite feasible in practice, you argue that you want guaranteed
> execution times and memory usage. This is clear now, but was not so apparent
> in the "impossible" parag
On Jul 8, 1:42 pm, John Nagle wrote:
> How is Unladen Swallow coming along? Looking at the site, code is
> being checked in and issues are being reported, but the last quarterly
> release was 2009 Q3. They missed their January 2010 release date
> for "2009 Q4", so they're now about 6 months
I'm looking for some module or system of modules that can help me do a few
things with audio
1. Playback of files (at least .wavs, other codecs would be nice but, hey,
converting to a wav is easy)
2. Seek within the file
3. Control volume
3. Do all of these things by channel, e.g. play sound eff
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 lossily convert it to a float:
> No, yo
On Jul 4, 5:58 pm, John Nagle wrote:
> TheUnladenSwallowpeople should in theory be able to reach
> that level of performance. (Both groups are employed at Google.
> So their effectiveness will be compared.)
>
> John Nagle
No. Collin Winter said that they will
I just wanted to follow up my previous email: I tried compiling 2.7
(without editing any config.guess or configure files as they are up to
date for AIX6) and it failed with the exact same errors.
So I'm still stuck and not sure what I should to do get this to compile.
Any other ideas out there?
-
Mark Dickinson wrote:
> On Jul 8, 2:59 pm, Stefan Krah wrote:
> > pow() is trickier. Exact results have to be weeded out before
> > attempting the correction loop for correct rounding, and this is
> > complicated.
> >
> > For example, in decimal this expression takes a long time (in cdecimal
> >
These are good points, but I've fixed the configure & config.guess on
about 10 other OSS projects that I needed to compile on this machine. So
I know that my changes are correct. The changes boil down to:
There are a number of lines in the files that reference AIX versions for
configuring details
Adam Skutt wrote:
> > > I actually agree with much of what you've said. It was just the
> > "impossible" claim that went over the top (IMO). The MPFR library
> > amply demonstrates that computing many transcendental functions to
> > arbitrary precision, with correctly rounded results, is indeed
Hey,
since there is no standalone sessions module for python (at least a
properly working one), I created one and thought i'd share it with
you.
This is the project:
http://code.google.com/p/pysimplesessions/
This is the introduction:
http://code.google.com/p/pysimplesessions/wiki/Introduction
I've come to the realization that I don't need FKs at all here. Essentially,
what I need to do is consult personalDataKeys simply to determine what data
should be loaded into and retrieved from personalData. I was mistaken
because the data are not interdependent, it only appeared that way
superfici
The PSF is happy to open our first call for applications for sprint funding!
Have you ever had a group of people together to hack towards a common goal?
You've hosted a sprint!
Have you ever wanted to get a group of like minded Pythonistas together to hack
for a day? You're going to want to hold
> my python project crashes in a non reproducible way. With gdb I got
> the backtraces given below.
> How can I possibly figure out the reason for the segfaults that occur
> under Linux and Windows, using Python 2.6 in both cases.
One of your third party C extension has a reference count bug. It l
We are pleased to announce the availability of ActivePython 2.6.5.14.
http://www.activestate.com/activepython
This is a minor release with several bug fixes. As usual, it includes an
updated Python Package Manager (PyPM) with updates to essential packages such
as Distribute (a compatible fo
On 2010-07-08, Grant Edwards wrote:
> On 2010-07-07, Grant Edwards wrote:
>
>> Oops. Those Python bindings are for version 1.3.2 of libconfig (which
>> does work). They don't work with the current version of libconfig.
>Python 2.6.5 (release26-maint, Jun 22 2010, 12:58:11)
>[GCC 4.3.4
On Jul 8, 12:38 pm, "Zooko O'Whielacronx" wrote:
> 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.
On Jul 8, 2:59 pm, Stefan Krah wrote:
> pow() is trickier. Exact results have to be weeded out before
> attempting the correction loop for correct rounding, and this is
> complicated.
>
> For example, in decimal this expression takes a long time (in cdecimal
> the power function is not correctly r
On Jul 8, 11:36 am, Mark Dickinson wrote:
> I think that's because we're talking at cross-purposes.
>
> To clarify, suppose you want to compute some value (pi; log(2);
> AGM(1, sqrt(2)); whatever...) to 1000 significant decimal places.
> Then typically the algorithm (sometimes known as Ziv's onio
"dierkerdm...@mail.com" writes:
> my python project crashes in a non reproducible way. With gdb I got
> the backtraces given below.
> How can I possibly figure out the reason for the segfaults that occur
> under Linux and Windows, using Python 2.6 in both cases.
It's a big C program and you have
On 7/7/10 11:52 AM, Stephen Hansen wrote:
> On 7/7/10 11:38 AM, Victor Subervi wrote:
>> Hi;
>> I have this code:
>>
>> sql = 'insert into personalDataKeys values (%s, %s, %s)' % (store,
>> user, ', %s'.join('%s' * len(col_vals))
>> cursor.execute(sql, col_vals)
>
> First, its always best
On 07/08/2010 04:36 PM, Stopp, Bryan wrote:
> I’ve seen other threads on this issue, but the resolution still doesn’t
> seem to exist for me.
>
>
>
> I’m running the configure script with these parameters:
>
>
>
> ./configure --prefix=/build/tools \
>
> --exec-prefix=/build/too
On 7/8/10 9:03 AM, Victor Subervi wrote:
> mysql> describe products Store;
> +---+-+--+-+-+---+
> | Field | Type| Null | Key | Default | Extra |
> +---+-+--+-+-+---+
> | Store | varchar(40) | NO | MUL | NULL|
How is Unladen Swallow coming along? Looking at the site, code is
being checked in and issues are being reported, but the last quarterly
release was 2009 Q3. They missed their January 2010 release date
for "2009 Q4", so they're now about 6 months behind their project
plan.
("http://code.goog
On 7/7/2010 11:52 AM, Stephen Hansen wrote:
On 7/7/10 11:38 AM, Victor Subervi wrote:
Hi;
I have this code:
sql = 'insert into personalDataKeys values (%s, %s, %s)' % (store,
user, ', %s'.join('%s' * len(col_vals))
cursor.execute(sql, col_vals)
Bad approach. Don't put actual data
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 Thu, Jul 8, 2010 at 8:52 AM, Giacomo Boffi wrote:
> "Zooko O'Whielacronx" writes:
>> I'm starting to think that one should use Decimals by default and
>> reserve floats for special cases.
>
> would you kindly lend me your Decimals ruler? i need to measure the
> sides of the triangle whose area
On Thu, Jul 8, 2010 at 10:45 AM, Stephen Hansen wrote:
> On 7/8/10 6:20 AM, Victor Subervi wrote:
> > However, I now have another error. Here is my current command:
> >
> > cursor.execute("insert into personalDataKeys (Store, User,
> > useFirstName, useLastName, usePhone, useCell, useFax, useA
"Zooko O'Whielacronx" writes:
> I'm starting to think that one should use Decimals by default and
> reserve floats for special cases.
would you kindly lend me your Decimals ruler? i need to measure the
sides of the triangle whose area i have to compute
--
http://mail.python.org/mailman/listinfo
On Thu, Jul 8, 2010 at 9:11 AM, Daniel Fetchinson
wrote:
>> I would like to have a python script that would download the most
>> recent svn of python, configure, make, install and cleanup after
>> itself. I am not replacing the python version I would be using to run
>> the script.
>> I was struggl
On Jul 8, 3:29 pm, Adam Skutt wrote:
> On Jul 8, 9:22 am, Mark Dickinson wrote:
> > On Jul 8, 2:00 pm, Adam Skutt wrote:
> > > For some computations, the number of bits required to
> > > get the desired precision can quickly overwhelm the finite limitations
> > > of your machine (e.g., you run o
Hi Python Help:
I'm doing some work with logging.config and I'm running into an
interesting situation. I've run this by python-help, but that didn't help so I
thought I would send to the list. Here is the config file
[loggers]
keys=root,log,syslog
[handlers]
keys=console,log,syslog
On 08/07/2010 16:07, Grant Edwards wrote:
On 2010-07-08, Aahz wrote:
In article<1450078b-d5ee-437f-bd8b-8da26900f...@x27g2000yqb.googlegroups.com>,
imageguy wrote:
Sorry to be daft here, but what do you mean by a "hardlink" ?
A windows "Shortcut" ?
Just to be clear, a hardlink on NTFS func
On 7/8/10 8:07 AM, Grant Edwards wrote:
> On 2010-07-08, Aahz wrote:
>> In article
>> <1450078b-d5ee-437f-bd8b-8da26900f...@x27g2000yqb.googlegroups.com>,
>> imageguy wrote:
>>>
>>> Sorry to be daft here, but what do you mean by a "hardlink" ?
>>> A windows "Shortcut" ?
>>
>> Just to be clear,
Zooko O'Whielacronx wrote:
> I'm starting to think that one should use Decimals by default and
> reserve floats for special cases.
Only if one has Power6 (or 7) which has hardware support for BCD.
Otherwise you will have slow applications.
Victor.
--
Victor Eijkhout -- eijkhout at tacc utexas
On 7/8/10 6:20 AM, Victor Subervi wrote:
> However, I now have another error. Here is my current command:
>
> cursor.execute("insert into personalDataKeys (Store, User,
> useFirstName, useLastName, usePhone, useCell, useFax, useAddress,
> useShippingAddress, useDOB, useEmail, usePW) values (%s
> I would like to have a python script that would download the most
> recent svn of python, configure, make, install and cleanup after
> itself. I am not replacing the python version I would be using to run
> the script.
> I was struggling to get this to work and I assume someone else has
> done it
On 2010-07-08, Aahz wrote:
> In article
> <1450078b-d5ee-437f-bd8b-8da26900f...@x27g2000yqb.googlegroups.com>,
> imageguy wrote:
>>
>>Sorry to be daft here, but what do you mean by a "hardlink" ?
>>A windows "Shortcut" ?
>
> Just to be clear, a hardlink on NTFS functions almost exactly the same
In article <1450078b-d5ee-437f-bd8b-8da26900f...@x27g2000yqb.googlegroups.com>,
imageguy wrote:
>
>Sorry to be daft here, but what do you mean by a "hardlink" ?
>A windows "Shortcut" ?
Just to be clear, a hardlink on NTFS functions almost exactly the same as
a hardlink on a Unix filesystem -- it
On 2010-07-07, Grant Edwards wrote:
> Oops. Those Python bindings are for version 1.3.2 of libconfig (which
> does work). They don't work with the current version of libconfig.
I've stripped the python bindings down to a minimal point, and I've
decided there may be a memory corruption problem
Ian wrote:
> On 07/07/2010 19:38, Victor Subervi wrote:
>> Hi;
>> I have this code:
>>
>> sql = 'insert into personalDataKeys values (%s, %s, %s)' %
>> (store,
>> user, ', %s'.join('%s' * len(col_vals))
>> cursor.execute(sql, col_vals)
>>
>> Is this open to injection attacks? If so,
I've seen other threads on this issue, but the resolution still doesn't
seem to exist for me.
I'm running the configure script with these parameters:
./configure --prefix=/build/tools \
--exec-prefix=/build/tools \
--enable-shared \
--enable-ipv6 \
I would like to have a python script that would download the most
recent svn of python, configure, make, install and cleanup after
itself. I am not replacing the python version I would be using to run
the script.
I was struggling to get this to work and I assume someone else has
done it better. An
On Jul 8, 9:22 am, Mark Dickinson wrote:
> On Jul 8, 2:00 pm, Adam Skutt wrote:
>
> > On Jul 8, 7:23 am, Mark Dickinson wrote:> On Jul 8,
> > 11:58 am, Adam Skutt wrote:
>
> > > > accurately. Moreover, in general, it's impossible to even round
> > > > operations involving transcendental funct
Adam Skutt wrote:
> On Jul 8, 7:23 am, Mark Dickinson wrote:
> > On Jul 8, 11:58 am, Adam Skutt wrote:
> >
> > > accurately. Moreover, in general, it's impossible to even round
> > > operations involving transcendental functions to an arbitrary fixed-
> > > precision, you may need effectively i
Hey,
Sorry, I tried to sent only the relevant parts of the example, but the
part where the error was, was left out.
I defined the function, used as callback like this:
class SomeClass:
def callback(param):
...
So I forgot the "self" parameter, and therefor the callback had a
differen
Hi,
my python project crashes in a non reproducible way. With gdb I got
the backtraces given below.
How can I possibly figure out the reason for the segfaults that occur
under Linux and Windows, using Python 2.6 in both cases.
Thanks
Dierk
Program received signal SIGSEGV, Segmentation fault.
On Jul 7, 2010, at 11:26 PM, Terry Reedy wrote:
On 7/7/2010 5:29 AM, geremy condra wrote:
On Tue, Jul 6, 2010 at 1:37 AM, Terry Reedy wrote:
On 7/5/2010 9:00 PM, Philip Semanchuk wrote:
On Jul 5, 2010, at 6:41 PM, Chris Rebert wrote:
On Mon, Jul 5, 2010 at 3:38 PM, Philip Semanchu
I port
On Jul 8, 2:00 pm, Adam Skutt wrote:
> On Jul 8, 7:23 am, Mark Dickinson wrote:> On Jul 8,
> 11:58 am, Adam Skutt wrote:
>
> > > accurately. Moreover, in general, it's impossible to even round
> > > operations involving transcendental functions to an arbitrary fixed-
> > > precision, you may n
On Wed, Jul 7, 2010 at 2:22 PM, Stephen Hansen wrote:
> First, its always best to be explicit with insert statements. Meaning,
> don't rely on the underlining structure of a table, as in:
>
> INSERT INTO YourRandomTable VALUES ("my", "value", "here");
>
> Instead, do:
>
> INSERT INTO YourRandomTab
Wolfram Hinderer wrote:
On 7 Jul., 19:32, Ethan Furman wrote:
Nobody wrote:
On Wed, 07 Jul 2010 15:08:07 +0200, Thomas Jollans wrote:
you should never rely on a floating-point number to have exactly a
certain value.
"Never" is an overstatement. There are situations where you can rely
u
On Jul 8, 7:23 am, Mark Dickinson wrote:
> On Jul 8, 11:58 am, Adam Skutt wrote:
>
> > accurately. Moreover, in general, it's impossible to even round
> > operations involving transcendental functions to an arbitrary fixed-
> > precision, you may need effectively infinite precision in order to t
On Jul 7, 6:47 pm, "Alf P. Steinbach /Usenet" wrote:
> Hm, for pure shock value I think I'll use the acronym PYthon Native Interface
> Support.
>
> pynis! :-)
Well as long as you don't put your "pynis" *pointers* in "pynie" then
everything will be Ok! ;-)
--
http://mail.python.org/mailman/listi
On Thu, Jul 8, 2010 at 4:30 AM, Dlanor Slegov
wrote:
> Hi,
>
> I am trying to find a python solution for an informatics problem I have at
> work. Generalized equivalent of my problem is:
>
> I have an excel sheet with column 1 and column 2 having corresponding
> information (much like a dictionary
On 07/07/2010 08:08 PM, Raymond Hettinger wrote:
> On Jul 7, 5:55 am, Mark Dickinson wrote:
>> On Jul 7, 1:05 pm, david mainzer wrote:
>>
>>
>>
>>> Dear Python-User,
>>
>>> today i create some slides about floating point arithmetic. I used an
>>> example from
>>
>>> http://docs.python.org/tutoria
King wrote:
On Jul 8, 2:21 pm, Alexander Kapps wrote:
King wrote:
Hi,
I am writing a python package deployment tool for linux based
platforms. I have tried various existing
tool sets but none of them is up to the mark and they have their own
issues. Initially I'll start with simple approach.
Hi,
I am trying to find a python solution for an informatics problem I have at
work. Generalized equivalent of my problem is:
I have an excel sheet with column 1 and column 2 having corresponding
information (much like a dictionary, however with repeating "keys"). Its like
if
you read down
On Jul 8, 12:53 am, "Zooko O'Whielacronx" wrote:
> I don't understand. I described two different problems: problem one is
> that the inputs, outputs and literals of your program might be in a
> different encoding (in my experience they have most commonly been in
> decimal). Problem two is that you
Sorry for my little riddle, but you solved it quite good with:
- http://effbot.org/zone/element-lib.htm#prettyprint
and comments are also in ElementTree (xml.etree.ElementTree.Comment)
Thanks
Stefan Behnel schrieb:
Alexander Eisenhuth, 08.07.2010 12:07:
Stefan Behnel schrieb:
Alexander Eise
Vicky Twomey-Lee wrote:
> Hi All,
>
> Join us for drinks and a chat (a warm-up session to PyCon Ireland ;-) ).
>
> When: Wed 14th July, from 7pm
> Where: Trinity Capital Hotel
>
> More details at:
> http://www.python.ie/meetup/2010/python_ireland_meetup_-_july_2010/
>
Hope you all had a good pi
On 14 June, 00:07, bolega wrote:
> I am trying to compare LISP/Scheme/Python for their expressiveness.
>
> For this, I propose a vanilla C interpreter. I have seen a book which
> writes C interpreter in C.
>
> The criteria would be the small size and high readability of the code.
>
> Are there alr
Alexander Eisenhuth, 08.07.2010 12:07:
Stefan Behnel schrieb:
Alexander Eisenhuth, 08.07.2010 11:08:
- I've to write a XML document including comments
"write" in the sense of typing in a text editor? Or constructing one
programmatically in memory? Or ... ?
write means write to a file
You
Stefan Behnel schrieb:
Alexander Eisenhuth, 08.07.2010 11:08:
- I've to write a XML document including comments
"write" in the sense of typing in a text editor? Or constructing one
programmatically in memory? Or ... ?
write means write to a file
And what kind of data from what kind of so
kedra marbun wrote:
i wonder what are the reasons for
not passing the class on which the descriptor is attached to, what
pattern is encouraged by this?
The same answer applies. It's assumed that you will be
writing a custom piece of code for each attribute of
each class, and giving each one its
> Really? I wasn't entirely aware of this effect of the "io" module.
> Somehow, without at all paying attention (because certain third party
> modules blocking me for awhile, I never looked close enough), I just
> sort of thought the "io" module was mostly thin wrappers around stdio
> primitives, i
On Jul 8, 2:21 pm, Alexander Kapps wrote:
> King wrote:
> > Hi,
>
> > I am writing a python package deployment tool for linux based
> > platforms. I have tried various existing
> > tool sets but none of them is up to the mark and they have their own
> > issues. Initially I'll start with simple app
Alexander Eisenhuth, 08.07.2010 11:08:
- I've to write a XML document including comments
"write" in the sense of typing in a text editor? Or constructing one
programmatically in memory? Or ... ?
And what kind of data from what kind of source do you want to put into the
document?
All of th
1 - 100 of 116 matches
Mail list logo