On Wed, Sep 17, 2014 at 3:37 PM, Chris Angelico wrote:
> It's not something I've personally worked with, so I'm trying to
> dredge stuff up from my brain, but I think there's something along the
> lines of "stuff shouldn't be a multiple of everything" and the Prime
> Number Theorem. But that may j
wxjmfa...@gmail.com:
> In short, a lack of consistency.
>
1e300*1e300
> inf
exp(1e300)
> Traceback (most recent call last):
> File "", line 1, in
> OverflowError: math range error
Good point!
Maybe IEEE had some specific numeric algorithms in mind when it
introduced inf and nan. How
Andi Vaganerd writes:
> I'm trying to open an excel file (.xlsx) using python module xlrd.
> And I'm getting this error over here:
>
> "Can't find workbook in OLE2 compound document"
I interprete this message as follows: the excel content in your
file is wrapped in an atypical way (an OLE2 compou
On Wednesday, September 17, 2014 6:46:21 PM UTC-4, Jeremy Moles wrote:
> Hey guys. I'm using the Python 3.4.1 release tarball, and am trying to
> configure it for usage with valgrind. I have followed all of the common,
> well-documented steps online such as uncommenting Py_USING_MEMORY_DEBUGGER,
On 9/17/2014 9:34 PM, Seymore4Head wrote:
On Wed, 17 Sep 2014 18:56:47 -0400, Terry Reedy
A little digging with Idle's grep (Find in Files) shows that the message
is produced by this code in idlelib/PyShell.py, about 825.
def display_executing_dialog(self):
tkMessageBox.showerr
On Thu, Sep 18, 2014 at 1:29 PM, Steven D'Aprano
wrote:
> Perhaps you are thinking of the Fundamental Theorem of Arithmetic, which
> states that every positive integer except 1 can be uniquely factorized into
> a product of one or more primes?
>
> http://mathworld.wolfram.com/FundamentalTheoremofA
Chris Angelico wrote:
> On Thu, Sep 18, 2014 at 4:03 AM, Ian Kelly wrote:
>> On Wed, Sep 17, 2014 at 9:10 AM, Chris Angelico wrote:
>>> And while it's
>>> conceivable to define that infinity divided by anything is infinity,
>>> and infinity modulo anything is zero, that raises serious issues of
cool-RR wrote:
> Chris, why is this invariant `div*y + mod == x` so important? Maybe it's
> more important to return a mathematically reasonable result for the the
> floor-division result than to maintain this invariant?
You keep talking about floor(inf) == inf being "mathematically reasonable",
Chris Angelico wrote:
> On Thu, Sep 18, 2014 at 1:34 AM, Ian Kelly wrote:
>> On Wed, Sep 17, 2014 at 9:29 AM, Chris Angelico wrote:
>>> Invariant: div*y + mod == x.
>>>
>>> If mod is NaN, there is no possible value for div that will make the
>>> invariant true, ergo it too has to be NaN.
>>
>>
On Wed, 17 Sep 2014 18:56:47 -0400, Terry Reedy
wrote:
>On 9/17/2014 11:55 AM, Seymore4Head wrote:
>> On Wed, 17 Sep 2014 04:02:16 -0400, Terry Reedy
>> wrote:
>>> On 9/16/2014 10:17 PM, Seymore4Head wrote:
What I do is click on the IDLE window and without making any changes I
just hit
On Thursday, September 18, 2014 10:55:57 AM UTC+10, Thomas Orozco wrote:
> In other words, the cursor is currently in the "overdrawn" method, not
> the "close" method.
That is correct.
To better reflect this I've added the actual cursor location to the
image:
http://www.zeusedit.com/images
On Wed, Sep 17, 2014 at 8:32 AM, Steven D'Aprano
wrote:
>
> jumppanen.ju...@gmail.com wrote:
>
> > On Wednesday, September 17, 2014 9:42:16 PM UTC+10, Steven D'Aprano wrote:
> [...]
> >> According to the screen shot there, if you have typed
> >>
> >> self.balan
> >>
> >> the autocomplete will
In article , Terry Reedy
wrote:
> Ned, is there any reason to not add the trailing '/' to the url for
> 3.4.2? I verified that it is being added by python.org when connecting
> from win7 with FF. How about adding the 's' for 'https'?
There is no reason not to add both at this point, although
On Thursday, September 18, 2014 1:32:53 AM UTC+10, Steven D'Aprano wrote:
I have created some confusion since the code on the forum site is not
exactly the same as the code that I used in the post from above.
Sorry about that :(
> Here is the specific image:
>
> http://www.zeusedit.com/images/
On 9/17/2014 2:08 PM, Ned Deily wrote:
In article ,
Wolfgang Maier wrote:
On 09/17/2014 01:15 PM, Peter Otten wrote:
Wolfgang Maier wrote:
2) curl shows that the first redirect (from http://docs.python.org/3.4)
gives HTTP/1.1 301 Moved Permanently as the first response from the
server, bu
On 9/17/2014 10:55 AM, cool-RR wrote:
Terry, that doesn't really answer the question "why", it just pushes
it back to the documentation. Is there a real answer why? Why return
NaN when Inf would make mathematical sense?
IEEE float('inf') and float('nan') are engineering, not math constructs.
I
On 9/17/2014 11:55 AM, Seymore4Head wrote:
On Wed, 17 Sep 2014 04:02:16 -0400, Terry Reedy
wrote:
On 9/16/2014 10:17 PM, Seymore4Head wrote:
What I do is click on the IDLE window and without making any changes I
just hit f5 to rerun the program.
Sometimes I get the error "the python shell wind
Hey guys. I'm using the Python 3.4.1 release tarball, and am trying to
configure it for usage with valgrind. I have followed all of the common,
well-documented steps online such as uncommenting Py_USING_MEMORY_DEBUGGER,
compiling with --with-pydebug, --with-valgrind, and --without-pymalloc. I've
On Thu, Sep 18, 2014 at 4:03 AM, Ian Kelly wrote:
> On Wed, Sep 17, 2014 at 9:10 AM, Chris Angelico wrote:
>> And while it's
>> conceivable to define that infinity divided by anything is infinity,
>> and infinity modulo anything is zero, that raises serious issues of
>> primality and such; I'm no
On 16/09/2014 19:08, prashant.mud...@accenture.com wrote:
Hi All,
I am having some problem in python.
I'm sorry that I can't help you directly but as you haven't had any
answers this http://pandas.pydata.org/community.html states "Have a
question about pandas? Your first stop should be Stac
In article ,
Wolfgang Maier wrote:
> On 09/17/2014 01:15 PM, Peter Otten wrote:
> > Wolfgang Maier wrote:
> >> On 09/17/2014 11:45 AM, Peter Otten wrote:
> >>> Wolfgang Maier wrote:
> >>>
> since a few days, when I select Help -> Python Docs from the IDLE menu,
> the link to the documen
On Wed, Sep 17, 2014 at 9:10 AM, Chris Angelico wrote:
> And while it's
> conceivable to define that infinity divided by anything is infinity,
> and infinity modulo anything is zero, that raises serious issues of
> primality and such; I'm not sure that that would really help anything.
I missed th
On Thu, Sep 18, 2014 at 2:33 AM, cool-RR wrote:
> On Wednesday, September 17, 2014 6:30:04 PM UTC+3, Chris Angelico wrote:
>> On Thu, Sep 18, 2014 at 1:16 AM, cool-RR wrote:
>> > I didn't ask for the modulo, I agree it should remain NaN. I'm talking
>> > about the floor division.
>>
>> Invariant
On Wednesday, September 17, 2014 6:30:04 PM UTC+3, Chris Angelico wrote:
> On Thu, Sep 18, 2014 at 1:16 AM, cool-RR wrote:
> > I didn't ask for the modulo, I agree it should remain NaN. I'm talking
> > about the floor division.
>
> Invariant: div*y + mod == x.
> If mod is NaN, there is no possib
On Wed, Sep 17, 2014 at 9:40 AM, Chris Angelico wrote:
> On Thu, Sep 18, 2014 at 1:34 AM, Ian Kelly wrote:
>> On Wed, Sep 17, 2014 at 9:29 AM, Chris Angelico wrote:
>>> On Thu, Sep 18, 2014 at 1:16 AM, cool-RR wrote:
I didn't ask for the modulo, I agree it should remain NaN. I'm talking
>
Hello,
I'm trying to open an excel file (.xlsx) using python module xlrd.
And I'm getting this error over here:
"Can't find workbook in OLE2 compound document"
Is there anybody here already got this problem? How do you resolve it?
I've a very simple python program to open that, but it just doesn
On Wed, Sep 17, 2014 at 9:40 AM, Chris Angelico wrote:
> On Thu, Sep 18, 2014 at 1:34 AM, Ian Kelly wrote:
>> On Wed, Sep 17, 2014 at 9:29 AM, Chris Angelico wrote:
>>> On Thu, Sep 18, 2014 at 1:16 AM, cool-RR wrote:
I didn't ask for the modulo, I agree it should remain NaN. I'm talking
>
On Thu, Sep 18, 2014 at 1:52 AM, Frank Millman wrote:
> Nowhere does it state that you must commit or stash your current changes
> before switching branches. Maybe it is implied by 'revert', but as a newbie
> I had missed that.
No, it's more implied in "Do some work". Basically, what you should b
On Wed, 17 Sep 2014 04:02:16 -0400, Terry Reedy
wrote:
>On 9/16/2014 10:17 PM, Seymore4Head wrote:
>> I have googled for a solution to this problem. None I have tried
>> worked.
>>
>> I have a very short program that runs for a count of 20 and ends.
>> What I do is click on the IDLE window and w
"Sergey Organov" wrote in message
news:lvbtd2$fsg$1...@speranza.aioe.org...
> "Frank Millman" writes:
>> Hi all
>>
[snip lots of really valuable information]
>
Thanks a stack, Sergey, that is a really useful explanation.
For the record, this is where my initial confusion came from.
The follo
On Thu, Sep 18, 2014 at 1:34 AM, Ian Kelly wrote:
> On Wed, Sep 17, 2014 at 9:29 AM, Chris Angelico wrote:
>> On Thu, Sep 18, 2014 at 1:16 AM, cool-RR wrote:
>>> I didn't ask for the modulo, I agree it should remain NaN. I'm talking
>>> about the floor division.
>>>
>>
>> Invariant: div*y + mod
On Tue, Sep 16, 2014 at 7:12 PM, Terry Reedy wrote:
> It does not really matter, however, as infinity cannot be 'floored' as
> required for //
>
math.floor(float('inf'))
> Traceback (most recent call last):
> File "", line 1, in
> math.floor(float('inf'))
> OverflowError: cannot conver
jumppanen.ju...@gmail.com wrote:
> On Wednesday, September 17, 2014 9:42:16 PM UTC+10, Steven D'Aprano wrote:
[...]
>> According to the screen shot there, if you have typed
>>
>> self.balan
>>
>> the autocomplete will offer the list:
>>
>> balance
>> close
>
> I'm not seeing that b
On Wed, Sep 17, 2014 at 9:29 AM, Chris Angelico wrote:
> On Thu, Sep 18, 2014 at 1:16 AM, cool-RR wrote:
>> I didn't ask for the modulo, I agree it should remain NaN. I'm talking about
>> the floor division.
>>
>
> Invariant: div*y + mod == x.
>
> If mod is NaN, there is no possible value for di
On Thu, Sep 18, 2014 at 1:16 AM, cool-RR wrote:
> I didn't ask for the modulo, I agree it should remain NaN. I'm talking about
> the floor division.
>
Invariant: div*y + mod == x.
If mod is NaN, there is no possible value for div that will make the
invariant true, ergo it too has to be NaN.
Ch
On Wednesday, September 17, 2014 6:10:35 PM UTC+3, Chris Angelico wrote:
> On Thu, Sep 18, 2014 at 12:55 AM, cool-RR wrote:
> > Terry, that doesn't really answer the question "why", it just pushes it
> > back to the documentation. Is there a real answer why? Why return NaN when
> > Inf would mak
On Thu, Sep 18, 2014 at 12:55 AM, cool-RR wrote:
> Terry, that doesn't really answer the question "why", it just pushes it back
> to the documentation. Is there a real answer why? Why return NaN when Inf
> would make mathematical sense?
>
To answer that, we have to first look at what it means t
Terry, that doesn't really answer the question "why", it just pushes it back to
the documentation. Is there a real answer why? Why return NaN when Inf would
make mathematical sense?
On Wednesday, September 17, 2014 4:13:38 AM UTC+3, Terry Reedy wrote:
> On 9/16/2014 5:40 PM, cool-RR wrote:
>
>
On Wed, Sep 17, 2014 at 4:15 PM, Pierrick Koch wrote:
> Hello,
>
> python-distribute.org server seems down,
> it was hosting the install script distribute_setup.py
> ( http://python-distribute.org/distribute_setup.py )
>
> meanwhile, you can find it here:
> https://gist.github.com/anonymous/947191
Hello,
python-distribute.org server seems down,
it was hosting the install script distribute_setup.py
( http://python-distribute.org/distribute_setup.py )
meanwhile, you can find it here:
https://gist.github.com/anonymous/947191a4635cd7b7f79a
Best,
--
Pierrick Koch
--
https://mail.python.org/m
On Wednesday, September 17, 2014 9:42:16 PM UTC+10, Steven D'Aprano wrote:
> Thank you!
Thanks goes to the creators of Jedi. They've done an amazing job
creating that package!
> According to the screen shot there, if you have typed
>
> self.balan
>
> the autocomplete will offer the list:
On 09/17/2014 01:15 PM, Peter Otten wrote:
Wolfgang Maier wrote:
On 09/17/2014 11:45 AM, Peter Otten wrote:
Wolfgang Maier wrote:
since a few days, when I select Help -> Python Docs from the IDLE menu,
the link to the documentation that it tries to open in my browser isn't
working anymore.
T
"Frank Millman" writes:
> Hi all
>
> I know there some Git experts on this list, so I hope you don't mind me
> posting this question here.
>
> I am slowly getting comfortable with Git, but there is something that
> confuses me.
If you want to be really comfortable with Git, you need to understa
jumppanen.ju...@gmail.com wrote:
> The latest version of the Zeus IDE adds Python autocomplete using
> the Jedi package.
>
> Details about Jedi can be found here:
>
> http://jedi.jedidjah.ch/en/latest/
Thank you!
> Details of how the autocomplete works can be found here:
>
> http://www.zeused
Wolfgang Maier wrote:
> On 09/17/2014 11:45 AM, Peter Otten wrote:
>> Wolfgang Maier wrote:
>>
>>> since a few days, when I select Help -> Python Docs from the IDLE menu,
>>> the link to the documentation that it tries to open in my browser isn't
>>> working anymore.
>>> The URL IDLE uses (copied
On 09/17/2014 11:45 AM, Peter Otten wrote:
Wolfgang Maier wrote:
since a few days, when I select Help -> Python Docs from the IDLE menu,
the link to the documentation that it tries to open in my browser isn't
working anymore.
The URL IDLE uses (copied from the browser address bar) is :
docs.pyt
"Frank Millman" writes:
> 3. I have sympathy for Marko's position of using clones rather than
> branches. I realise it does not follow the 'git' philosophy,
IMHO one important thing about git that made it is so popular is the
fact that it tries hard not to impose any policy or particular work-f
Wolfgang Maier wrote:
> since a few days, when I select Help -> Python Docs from the IDLE menu,
> the link to the documentation that it tries to open in my browser isn't
> working anymore.
> The URL IDLE uses (copied from the browser address bar) is :
> docs.python.org/3.4
> and you have to add a
Dear all,
since a few days, when I select Help -> Python Docs from the IDLE menu,
the link to the documentation that it tries to open in my browser isn't
working anymore.
The URL IDLE uses (copied from the browser address bar) is :
docs.python.org/3.4
and you have to add a terminal slash for it
On 9/16/2014 10:17 PM, Seymore4Head wrote:
I have googled for a solution to this problem. None I have tried
worked.
I have a very short program that runs for a count of 20 and ends.
What I do is click on the IDLE window and without making any changes I
just hit f5 to rerun the program.
Do you
50 matches
Mail list logo