[RELEASED] Python 3.5.1 and 3.4.4rc1 are now available

2015-12-06 Thread Larry Hastings
On behalf of the Python development community and the Python 3.4 and 3.5 release teams, I'm pleased to announce the simultaneous availability of Python 3.5.1 and Python 3.4.4rc1. As point releases, both have many incremental improvements over their predecessor releases. You can find Pytho

Re: Problems using celery and pyelasticsearch

2015-12-06 Thread Laura Creighton
In a message of Mon, 07 Dec 2015 02:37:15 +0100, nonami writes: >Does anyone have any idea what could be going on or how I can further >inspect running tasks. Not sure this will help, but it might ... https://www.caktusgroup.com/blog/2013/10/30/using-strace-debug-stuck-celery-tasks/ Laura --

Problems using celery and pyelasticsearch

2015-12-06 Thread nonami
Hi, I create a task that uses this function def get_jobs(specialization, yoe): try: key = "SpecAlert-" if len(specialization): key += '-'.join(map(str, specialization)) if yoe is not None: key += '-yoe'.join(yoe) jobs = memcache_clien

Re: Issue

2015-12-06 Thread Steven D'Aprano
On Mon, 7 Dec 2015 02:48 am, James Gilliver wrote: > Hi! > I have recently installed Python 3.5.0 but cannot open the application! > Could you help me resolve this issue? Thanks,James Yes, we can help you resolve the issue! You'll have to give us a bit more information, as we're not really mind-

Re: Message-IDs on Usenet gateway

2015-12-06 Thread Laura Creighton
In a message of Sun, 06 Dec 2015 15:51:54 -0500, Random832 writes: >Something weird is going on. On google groups, this message has >a different Message-ID: > I think it is this problem. Start here. https://mail.python.org/pipermail/mailman-developers/2015-November/025225.html Laura -- https://

Message-IDs on Usenet gateway

2015-12-06 Thread Random832
Dave Farrance writes: > That raises another question. I'm seeing a number of broken threads > because people reply to posts that are not present in Usenet. It's not > just my main news-server because my newreader can gather posts from > several Usenet servers and those posts are nowhere on Usene

Re: issues

2015-12-06 Thread MRAB
On 2015-12-04 22:44, Anna Szaharcsuk via Python-list wrote: Hello there, I was trying to install PyCharm, but didn't worked and needed interpreter. the computer advised to install the python for windows. Can you help me, please, PyCharm stillnot working...allways gives a message for repair, aft

Re: Unicode failure

2015-12-06 Thread Random832
Mark Lawrence writes: > On 06/12/2015 09:06, Dave Farrance wrote: >> "D'Arcy J.M. Cain" wrote: >>> utf-8 >>> Traceback (most recent call last): >>> File "./g", line 5, in >>> print(u"\N{TRADE MARK SIGN}") >>> UnicodeEncodeError: 'ascii' codec can't encode character '\u2122' in >>> position

Re: issues

2015-12-06 Thread Laura Creighton
In a message of Fri, 04 Dec 2015 22:44:53 +, Anna Szaharcsuk via Python-lis t writes: >Hello there, > >I was trying to install PyCharm, but didn't worked and needed interpreter. >the computer advised to install the python for windows. > >Can you help me, please, PyCharm stillnot working...allwa

Re: Issue

2015-12-06 Thread Laura Creighton
In a message of Sun, 06 Dec 2015 15:48:18 +, James Gilliver writes: >Hi! >I have recently installed Python 3.5.0 but cannot open the application! Could >you help me resolve this issue? >Thanks,James > >-- >https://mail.python.org/mailman/listinfo/pytho

Re: Python 3.5 not work in Windows XP

2015-12-06 Thread Laura Creighton
In a message of Sat, 05 Dec 2015 22:22:41 +0600, am...@mail.ru writes: >Installer: only 'Cancel' button visible on dialog. 'Install now...' and >'Customize...' work but invisible (also when deinstalling). > >After installing interpreter and launcher not runs (with message 'Access >denied)' Yes

Issue

2015-12-06 Thread James Gilliver
Hi! I have recently installed Python 3.5.0 but cannot open the application! Could you help me resolve this issue? Thanks,James -- https://mail.python.org/mailman/listinfo/python-list

Brief Code Review Please - Learning Python

2015-12-06 Thread Jason Alan Smith
Hello List Members, I am beginning to learn Python, and I've adapted some code from Google into the function below. I'm also looking at the PEP 8 style guide. I'd appreciate a brief code review so I can start this journey off on a solid foundation. :) * I've already changed my editor f

Brief Code Review Please - Learning Python

2015-12-06 Thread Jason Alan Smith
Hello List Members, I am beginning to learn Python, and I've adapted some code from Google into the function below. I'm also looking at the PEP 8 style guide. I'd appreciate a brief code review so I can start this journey off on a solid foundation. :) * I've already changed my editor f

Python 3.5 not work in Windows XP

2015-12-06 Thread amksh
Installer: only 'Cancel' button visible on dialog. 'Install now...' and 'Customize...' work but invisible (also when deinstalling). After installing interpreter and launcher not runs (with message 'Access denied)' -- https://mail.python.org/mailman/listinfo/python-list

Re: Brief Code Review Please - Learning Python

2015-12-06 Thread Peter Otten
qualityaddict...@gmail.com wrote: > [Note: Tried sending this twice to the Python-List mail list but I never > [saw it come through to the list.] > > Hello everyone, > > I am beginning to learn Python, and I've adapted some code from Google > into the function below. I'm also looking at

Re: Brief Code Review Please - Learning Python

2015-12-06 Thread Chris Angelico
On Mon, Dec 7, 2015 at 4:34 AM, Joel Goldstick wrote: >> 5 if (desired_text != '') and \ >> 6 (desired_font_family != '') and \ >> 7 (desired_font_size != '') and \ >> 8 ((is_multi_lines == "True") or (is_multi_lines == "False")): >> > > The above test will always

Re: Brief Code Review Please - Learning Python

2015-12-06 Thread Joel Goldstick
On Sun, Dec 6, 2015 at 12:21 PM, wrote: > [Note: Tried sending this twice to the Python-List mail list but I never > saw it come through to the list.] > > Hello everyone, > > I am beginning to learn Python, and I've adapted some code from Google > into the function below. I'm also looking at

Brief Code Review Please - Learning Python

2015-12-06 Thread qualityaddictorg
[Note: Tried sending this twice to the Python-List mail list but I never saw it come through to the list.] Hello everyone, I am beginning to learn Python, and I've adapted some code from Google into the function below. I'm also looking at the PEP 8 style guide. I'd appreciate a brief cod

Re: Unicode failure (Solved)

2015-12-06 Thread Dave Farrance
"D'Arcy J.M. Cain" wrote: >On Fri, 4 Dec 2015 18:28:22 -0500 >Terry Reedy wrote: >> Tk widgets, and hence IDLE windows, will print any character from >> \u to \u without raising, even if the result is blank or ?. >> Higher codepoints fail, but allowing the entire BMP is better than >> an

Re: urllib2.urlopen() crashes on Windows 2008 Server

2015-12-06 Thread Ulli Horlacher
Dennis Lee Bieber wrote: > >> Connection reset by peer. > >> > >> An existing connection was forcibly closed by the remote host. > > > >This is not true. > >The server is under my control. Die client has terminated the connection > >(or a router between). > The odds are still good

Re: Unicode failure

2015-12-06 Thread Mark Lawrence
On 06/12/2015 09:06, Dave Farrance wrote: "D'Arcy J.M. Cain" wrote: ... utf-8 Traceback (most recent call last): File "./g", line 5, in print(u"\N{TRADE MARK SIGN}") UnicodeEncodeError: 'ascii' codec can't encode character '\u2122' in position 0: ordinal not in range(128) I *presume*

Re: Unicode failure

2015-12-06 Thread Dave Farrance
I was taking it for granted that you knew how to set environment variables, but just in case you don't: In the shell, (are you using BASH?), put this: export PYTHONIOENCODING=UTF-8 ...then run your script. Remember that this is *not* a permanent fix. -- https://mail.python.org/mailman/listinfo/

Re: Unicode failure

2015-12-06 Thread Dave Farrance
"D'Arcy J.M. Cain" wrote: >... >utf-8 >Traceback (most recent call last): > File "./g", line 5, in >print(u"\N{TRADE MARK SIGN}") >UnicodeEncodeError: 'ascii' codec can't encode character '\u2122' in >position 0: ordinal not in range(128) I *presume* that you're using Linux since you've go