[Python-Dev] Memory

2016-05-01 Thread Burkhard Meier
~
Die Scheibe klirrt
der Spontie kichert
~
hoffentlich
Alliiance versichert...
~
https://youtu.be/m3SjCzA71eM
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Memory

2016-05-01 Thread Ryan Gonzalez
Well, I put this in Google Translate...and got this:

The disk clatters
the Spontie giggles
~
hopefully
alliance insures ...

Not sure if this a useless post or Translate just being weird. Leaning
towards the latter...

--
Ryan
[ERROR]: Your autotools build scripts are 200 lines longer than your
program. Something’s wrong.
http://kirbyfan64.github.io/
On May 1, 2016 3:48 AM, "Burkhard Meier"  wrote:

> ~
> Die Scheibe klirrt
> der Spontie kichert
> ~
> hoffentlich
> Alliiance versichert...
> ~
> https://youtu.be/m3SjCzA71eM
>
>
> ___
> Python-Dev mailing list
> Python-Dev@python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> https://mail.python.org/mailman/options/python-dev/rymg19%40gmail.com
>
>
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Bug in 2to3 concerning import statements?

2016-05-01 Thread Brett Cannon
On Sat, 30 Apr 2016 at 21:51 Greg Ewing  wrote:

> It seems that 2to3 is a bit simplistic when it comes to
> translating import statements. I have a module GUI.py2exe
> containing:
>
> import py2exe.mf as modulefinder
>
> 2to3 translates this into:
>
> from . import py2exe.mf as modulefinder
>
> which is a syntax error.
>
> It looks like 2to3 is getting confused by the fact that
> there is both a submodule and a top-level module here
> called py2exe.


That sounds right. 2to3 has to inspect the environment to figure out if the
import was meant to be relative or absolute and it's getting confused.


> But the original can only be an absolute
> import because it has a dot in it, so 2to3 shouldn't be
> translating it into a relative one.
>

2to3 is nowhere near that sophisticated for tweaking imports :)


>
> Putting "from __future__ import absolute_import" at the
> top fixes it, but I shouldn't have to do that, should I?
>

There's all sorts of weird stuff going on in that import, like having a dot
in the `from` part of the import instead of doing `from .py2exe import mf
as modulefinder`. Try that tweak and see if that solves your SyntaxError
for some reason.
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Memory

2016-05-01 Thread Steven D'Aprano
On Sun, May 01, 2016 at 08:08:22AM -0500, Ryan Gonzalez wrote:
> Well, I put this in Google Translate...and got this:
> 
> The disk clatters
> the Spontie giggles
> ~
> hopefully
> alliance insures ...
> 
> Not sure if this a useless post or Translate just being weird. Leaning
> towards the latter...

You missed the link to David Bowie's "Heroes" on YouTube.

I'm pretty sure that this is a useless post.

Burkhard, please speak English on this list, as best as you are able. 
And please avoid rambling cryptic posts and topics which have nothing to 
do with the development of CPython. If you want to share random 
thoughts, you should get a blog or a Twitter account, don't post them 
here.


Thank you.



-- 
Steve
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Memory

2016-05-01 Thread Carl Kleffner
AFAIK Burkhard A. Meier is the author of the Python GUI Programming
Cookbook (Packtpub). I wonder if someone has hacked is gmail account?

2016-05-01 18:51 GMT+02:00 Steven D'Aprano :

> On Sun, May 01, 2016 at 08:08:22AM -0500, Ryan Gonzalez wrote:
> > Well, I put this in Google Translate...and got this:
> >
> > The disk clatters
> > the Spontie giggles
> > ~
> > hopefully
> > alliance insures ...
> >
> > Not sure if this a useless post or Translate just being weird. Leaning
> > towards the latter...
>
> You missed the link to David Bowie's "Heroes" on YouTube.
>
> I'm pretty sure that this is a useless post.
>
> Burkhard, please speak English on this list, as best as you are able.
> And please avoid rambling cryptic posts and topics which have nothing to
> do with the development of CPython. If you want to share random
> thoughts, you should get a blog or a Twitter account, don't post them
> here.
>
>
> Thank you.
>
>
>
> --
> Steve
> ___
> Python-Dev mailing list
> Python-Dev@python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> https://mail.python.org/mailman/options/python-dev/cmkleffner%40gmail.com
>
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Memory

2016-05-01 Thread Guido van Rossum
That would certainly be the most favorable interpretation.

On Sun, May 1, 2016 at 10:41 AM, Carl Kleffner  wrote:

> AFAIK Burkhard A. Meier is the author of the Python GUI Programming
> Cookbook (Packtpub). I wonder if someone has hacked is gmail account?
>
> 2016-05-01 18:51 GMT+02:00 Steven D'Aprano :
>
>> On Sun, May 01, 2016 at 08:08:22AM -0500, Ryan Gonzalez wrote:
>> > Well, I put this in Google Translate...and got this:
>> >
>> > The disk clatters
>> > the Spontie giggles
>> > ~
>> > hopefully
>> > alliance insures ...
>> >
>> > Not sure if this a useless post or Translate just being weird. Leaning
>> > towards the latter...
>>
>> You missed the link to David Bowie's "Heroes" on YouTube.
>>
>> I'm pretty sure that this is a useless post.
>>
>> Burkhard, please speak English on this list, as best as you are able.
>> And please avoid rambling cryptic posts and topics which have nothing to
>> do with the development of CPython. If you want to share random
>> thoughts, you should get a blog or a Twitter account, don't post them
>> here.
>>
>>
>> Thank you.
>>
>>
>>
>> --
>> Steve
>> ___
>> Python-Dev mailing list
>> Python-Dev@python.org
>> https://mail.python.org/mailman/listinfo/python-dev
>> Unsubscribe:
>> https://mail.python.org/mailman/options/python-dev/cmkleffner%40gmail.com
>>
>
>
> ___
> Python-Dev mailing list
> Python-Dev@python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> https://mail.python.org/mailman/options/python-dev/guido%40python.org
>
>


-- 
--Guido van Rossum (python.org/~guido)
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Memory

2016-05-01 Thread Burkhard Meier
Sorry.  Somebody take the keyboard away from me after midnight.
I think Google Chrome does have that feature.

Definitely Not related to Python dev...

Google translate doesn't correctly understand everything.

My apologies  (again ) for this unrelated post.

And, yes, I am the author of the "Python GUI programming cookbook "

Sorry,
Burkhard


On Sunday, May 1, 2016, Guido van Rossum  wrote:

> That would certainly be the most favorable interpretation.
>
> On Sun, May 1, 2016 at 10:41 AM, Carl Kleffner  > wrote:
>
>> AFAIK Burkhard A. Meier is the author of the Python GUI Programming
>> Cookbook (Packtpub). I wonder if someone has hacked is gmail account?
>>
>> 2016-05-01 18:51 GMT+02:00 Steven D'Aprano > >:
>>
>>> On Sun, May 01, 2016 at 08:08:22AM -0500, Ryan Gonzalez wrote:
>>> > Well, I put this in Google Translate...and got this:
>>> >
>>> > The disk clatters
>>> > the Spontie giggles
>>> > ~
>>> > hopefully
>>> > alliance insures ...
>>> >
>>> > Not sure if this a useless post or Translate just being weird. Leaning
>>> > towards the latter...
>>>
>>> You missed the link to David Bowie's "Heroes" on YouTube.
>>>
>>> I'm pretty sure that this is a useless post.
>>>
>>> Burkhard, please speak English on this list, as best as you are able.
>>> And please avoid rambling cryptic posts and topics which have nothing to
>>> do with the development of CPython. If you want to share random
>>> thoughts, you should get a blog or a Twitter account, don't post them
>>> here.
>>>
>>>
>>> Thank you.
>>>
>>>
>>>
>>> --
>>> Steve
>>> ___
>>> Python-Dev mailing list
>>> Python-Dev@python.org
>>> 
>>> https://mail.python.org/mailman/listinfo/python-dev
>>> Unsubscribe:
>>> https://mail.python.org/mailman/options/python-dev/cmkleffner%40gmail.com
>>>
>>
>>
>> ___
>> Python-Dev mailing list
>> Python-Dev@python.org
>> 
>> https://mail.python.org/mailman/listinfo/python-dev
>> Unsubscribe:
>> https://mail.python.org/mailman/options/python-dev/guido%40python.org
>>
>>
>
>
> --
> --Guido van Rossum (python.org/~guido)
>
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] Looking for a Python programming mentor

2016-05-01 Thread Burkhard Meier
I don't need Sigmund Freud...

Burkhard
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Looking for a Python programming mentor

2016-05-01 Thread Brett Cannon
If you mean for Python in general, then Python+list or python-tutor are a
more appropriate mailing lists. If you mean for core development then
core-workflow is where to ask for help.

On Sun, May 1, 2016, 14:11 Burkhard Meier  wrote:

> I don't need Sigmund Freud...
>
> Burkhard
> ___
> Python-Dev mailing list
> Python-Dev@python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> https://mail.python.org/mailman/options/python-dev/brett%40python.org
>
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Bug in 2to3 concerning import statements?

2016-05-01 Thread Greg Ewing

Brett Cannon wrote:

There's all sorts of weird stuff going on in that import, like having a 
dot in the `from` part of the import instead of doing `from .py2exe 
import mf as modulefinder`.


If I did that, it would try to import mf from the
py2exe submodule rather than the global one.

In hindsight it was probably a bad idea to name
the submodule py2exe, but the code worked as
intended.

My point is that, regardless of anything else,
2to3 shouldn't be generating syntactically
incorrect code. I can understand if it's not
considered worth fixing, but it's still a bug.

--
Greg
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Bug in 2to3 concerning import statements?

2016-05-01 Thread Guido van Rossum
I agree it's a bug. May I encourage you to file it as such on
bugs.python.org? 2to3 is part of the stdlib.

On Sun, May 1, 2016 at 4:42 PM, Greg Ewing 
wrote:

> Brett Cannon wrote:
>
> There's all sorts of weird stuff going on in that import, like having a
>> dot in the `from` part of the import instead of doing `from .py2exe import
>> mf as modulefinder`.
>>
>
> If I did that, it would try to import mf from the
> py2exe submodule rather than the global one.
>
> In hindsight it was probably a bad idea to name
> the submodule py2exe, but the code worked as
> intended.
>
> My point is that, regardless of anything else,
> 2to3 shouldn't be generating syntactically
> incorrect code. I can understand if it's not
> considered worth fixing, but it's still a bug.
>
>
> --
> Greg
> ___
> Python-Dev mailing list
> Python-Dev@python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> https://mail.python.org/mailman/options/python-dev/guido%40python.org
>



-- 
--Guido van Rossum (python.org/~guido)
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com