Re: [Python-Dev] Do windows 10 users, like windows 7 users need to install a SP before installing Python will work?

2015-12-09 Thread Laura Creighton
In a message of Mon, 07 Dec 2015 14:03:41 -0800, Steve Dower writes:
>On 07Dec2015 1324, Steve Dower wrote:
>> On 07Dec2015 1250, Laura Creighton wrote:
>>> As webmaster, I am dealing with 3 unhappy would-be python users who have
>>> windows 10.
>>>
>
>
>Not directly related to this thread, but I just pushed an update to the 
>Windows installers for 3.5.1. (Should avoid people being confused when 
>the py.exe launcher is removed on upgrade from 3.5.0.)
>
>There's a chance that people installing over the next 5-10 minutes will 
>see issues. If anyone asks, just let them know to clear their download 
>cache and redownload the installer.
>
>Apologies in advance for the extra support requests this will generate, 
>and thank you to everyone who helps out by patiently dealing with them.
>
>Cheers,
>Steve

I am happy to report that one of my outstanding problems was just fixed
by this.  It seems that without the launcher he could not find his
Python.  Many other people who just couldn't get things to work with
Windows 10 and 3.5 report that 3.5.1 fixed things for them, once the
download button started working for them.

And one person, who was a clear member of the would-be scientific
python community I just pointed at Anaconda Python and he reports
happiness (which is good, because I never understood from his mail
what his problem was in the first place.)

I still have one who is having problems.  
We are working on a manual install and he is hitting this:
https://bugs.python.org/issue25144

But, all in all, I can report a great increase in happiness in my
corner of the world.  Thank you and Congratulations.

Laura
___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] A function for Find-Replace in lists

2015-12-09 Thread טל ח
Hi,I think it could be helpful for everyone if the function proposed by user "SomethingSomething" can be added as built-in in PythonSee both question by "SomethingSomething" and answer to himself with implementation..http://stackoverflow.com/questions/34174643/python-find-replace-on-listsThanks___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] A function for Find-Replace in lists

2015-12-09 Thread Terry Reedy

On 12/9/2015 6:43 AM, טל ח wrote:


I think it could be helpful for everyone if the function proposed by
user "SomethingSomething" can be added as built-in in Python

See both question by "SomethingSomething" and answer to himself with
implementation..

http://stackoverflow.com/questions/34174643/python-find-replace-on-lists


Please submit a specific proposal to python-ideas list.

Use normal left-justified plain text formatting.

--
Terry Jan Reedy


___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] A function for Find-Replace in lists

2015-12-09 Thread Andrew Barnert via Python-Dev
On Dec 9, 2015, at 03:43, טל ח  wrote:
> 
> Hi,
> 
> I think it could be helpful for everyone if the function proposed by user 
> "SomethingSomething" can be added as built-in
> in Python

Why? When he was asked what use it might have, he didn't have an answer.

Also, notice that the answer he provided doesn't actually do what he asked for; 
as he himself points out, it's different in at least two ways from his stated 
requirements. So, which one of the two do you want? And why is that one, rather 
than the other, useful?

Also, why would you call this list_replace? That sounds like a function that 
would replace elements with elements, not make a copy with elements replaced by 
new lists flattened into place.

Also, why would you only want this lists, rather than for any iterable? And 
what can it do that this more general and completely trivial function can't:

def flattening_subst(iterable, value, sequence):
for x in iterable:
if x == value: yield from sequence
else: yield x

If you know of another language whose standard library has an equivalent, that 
might narrow down exactly what the requirements are, point at an implementation 
that actually meets those requirements, and probably provide examples that hint 
at the point of having this function in the first place.


> See both question by "SomethingSomething" and answer to himself with 
> implementation..
> 
> http://stackoverflow.com/questions/34174643/python-find-replace-on-lists
> 
> 
> Thanks
___
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com