[issue31787] various refleaks when calling the __init__() method of an object more than once

2018-02-13 Thread INADA Naoki
Change by INADA Naoki : -- pull_requests: +5462 ___ Python tracker ___ ___

[issue32795] subprocess.check_output() with timeout does not exit if child process does not generate output after timeout

2018-02-13 Thread Fangyi Zhou
Fangyi Zhou added the comment: I think the issue is that the process is not terminated. If you increase the sleep duration, you would see that the sleep process is not killed by SIGKILL. -- nosy: +fangyizhou ___ Python

Respam levels.

2018-02-13 Thread C W Rose via Python-list
Having run a check for straightforward spam, I now find that there's a site editing and reposting non-spam posts. An example of the changed headers follows: Original post headers: > > From c...@seckford.org Sun Feb 11 23:23:22 2018 > Path: >

[issue31787] various refleaks when calling the __init__() method of an object more than once

2018-02-13 Thread INADA Naoki
INADA Naoki added the comment: New changeset 47316342417146f62653bc3c3dd505bfacc5e956 by INADA Naoki in branch '3.6': bpo-31787: Prevent refleaks when calling __init__() more than once (GH-3995)

[issue32820] Add bits method to ipaddress

2018-02-13 Thread Eric Osborne
Eric Osborne added the comment: This is an interesting idea. I hacked together something to handle IPv4 and pushed it to the repository. It works, but I'm afraid it may be kinda ugly. Do you have any examples of good, pythonic ways to parse the format string or otherwise

[issue31787] various refleaks when calling the __init__() method of an object more than once

2018-02-13 Thread INADA Naoki
Change by INADA Naoki : -- pull_requests: +5463 ___ Python tracker ___ ___

[issue32838] Fix Python versions in the table of magic numbers

2018-02-13 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : All changes to the magic number in Lib/importlib/_bootstrap_external.py are attributed with 3.7a0. But they were made at different stages. There is also inconsistency in specifying Python version for older changes. Some

[issue32838] Fix Python versions in the table of magic numbers

2018-02-13 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +5460 stage: -> patch review ___ Python tracker ___

[issue32489] Allow 'continue' in 'finally' clause

2018-02-13 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: -5461 ___ Python tracker ___

[issue32489] Allow 'continue' in 'finally' clause

2018-02-13 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +5461 stage: -> patch review ___ Python tracker ___

Regex on a Dictionary

2018-02-13 Thread Stanley Denman
I am trying to performance a regex on a "string" of text that python isinstance is telling me is a dictionary. When I run the code I get the following error: {'/Title': '1F: Progress Notes Src.: MILANI, JOHN C Tmt. Dt.: 05/12/2014 - 05/28/2014 (9 pages)', '/Page': IndirectObject(465, 0),

Re: Regex on a Dictionary

2018-02-13 Thread Rhodri James
On 13/02/18 13:11, Stanley Denman wrote: I am trying to performance a regex on a "string" of text that python isinstance is telling me is a dictionary. When I run the code I get the following error: {'/Title': '1F: Progress Notes Src.: MILANI, JOHN C Tmt. Dt.: 05/12/2014 - 05/28/2014 (9

Re: Regex on a Dictionary

2018-02-13 Thread Etienne Robillard
Hi Stanley, Le 2018-02-13 à 08:11, Stanley Denman a écrit : x=MyRegex.findall(MyDict) How about: x = [MyRegex.findall(item) for item in MyDict] Etienne -- Etienne Robillard tkad...@yandex.com https://www.isotopesoftware.ca/ -- https://mail.python.org/mailman/listinfo/python-list

[issue32839] Add after_info as a function to tkinter

2018-02-13 Thread Cheryl Sabella
New submission from Cheryl Sabella : In tkinter, after_cancel has a call to after info: data = self.tk.call('after', 'info', id) Since this is a supported command, there should be a function to access it directly. https://www.tcl.tk/man/tcl8.6/TclCmd/after.htm --

[issue32818] multiprocessing segmentfault under Windows compatibility mode

2018-02-13 Thread Ma Lin
Ma Lin added the comment: Git bisect says this is the first bad commit: https://github.com/python/cpython/commit/b2a6083eb0384f38839d3f1ed32262a3852026fa -- ___ Python tracker

[issue30579] Allow traceback objects to be instantiated/mutated/annotated

2018-02-13 Thread miss-islington
miss-islington added the comment: New changeset 53374cc57f33f1afb22924da3a76ec6cf9e4afc1 by Miss Islington (bot) in branch '3.7': bpo-30579: Docs for dynamic traceback creation (GH-5653)

[issue32827] Fix incorrect usage of _PyUnicodeWriter_Prepare()

2018-02-13 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue29803] Remove some redandunt ops in unicodeobject.c

2018-02-13 Thread Xiang Zhang
Change by Xiang Zhang : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 -Python 3.7 ___ Python tracker

[issue31787] various refleaks when calling the __init__() method of an object more than once

2018-02-13 Thread miss-islington
miss-islington added the comment: New changeset ef20abed7f2ae0ba54b1d287f5fe601be80c1128 by Miss Islington (bot) in branch '3.7': bpo-31787: Prevent refleaks when calling __init__() more than once (GH-3995)

[issue31787] various refleaks when calling the __init__() method of an object more than once

2018-02-13 Thread INADA Naoki
Change by INADA Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.6, Python 3.8 ___ Python tracker

[issue30579] Allow traceback objects to be instantiated/mutated/annotated

2018-02-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +5457 ___ Python tracker ___

[issue29803] Remove some redandunt ops in unicodeobject.c

2018-02-13 Thread Xiang Zhang
New submission from Xiang Zhang : New changeset 2b77a921e6a4dee236047ac8d69cf9f915916fdc by Xiang Zhang in branch 'master': bpo-29803: remove a redandunt op and fix a comment in unicodeobject.c (#660)

[issue32836] Symbol table for comprehensions (list, dict, set) still includes temporary _[1] variable

2018-02-13 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +ncoghlan ___ Python tracker ___ ___

[issue32370] Wrong ANSI encoding used by subprocess for some locales

2018-02-13 Thread miss-islington
miss-islington added the comment: New changeset 9b5a90b975ef32b261d60b8ec06504f4ffd00d63 by Miss Islington (bot) in branch '3.7': bpo-32370: Use the correct encoding for ipconfig output in the uuid module. (GH-5608)

[issue31787] various refleaks when calling the __init__() method of an object more than once

2018-02-13 Thread INADA Naoki
INADA Naoki added the comment: New changeset d019bc8319ea35e93bf4baa38098ff1b57cd3ee5 by INADA Naoki (Oren Milman) in branch 'master': bpo-31787: Prevent refleaks when calling __init__() more than once (GH-3995)

[issue31787] various refleaks when calling the __init__() method of an object more than once

2018-02-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +5459 ___ Python tracker ___

[issue30579] Allow traceback objects to be instantiated/mutated/annotated

2018-02-13 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset aec7532ed3ccbd29d3429a3f375e25f956c44003 by Nick Coghlan in branch 'master': bpo-30579: Docs for dynamic traceback creation (GH-5653) https://github.com/python/cpython/commit/aec7532ed3ccbd29d3429a3f375e25f956c44003

[issue32370] Wrong ANSI encoding used by subprocess for some locales

2018-02-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset c3f9d7e0ea30e94c901d13e1d43ff0be1e5dbcb7 by Serhiy Storchaka in branch '3.6': [3.6] bpo-32370: Use the correct encoding for ipconfig output in the uuid module. (GH-5608). (#5654)

[issue32827] Fix incorrect usage of _PyUnicodeWriter_Prepare()

2018-02-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +5458 ___ Python tracker ___

[issue32370] Wrong ANSI encoding used by subprocess for some locales

2018-02-13 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue32827] Fix incorrect usage of _PyUnicodeWriter_Prepare()

2018-02-13 Thread miss-islington
miss-islington added the comment: New changeset 310b424c476e3de3370990e5b9a10acc64ed17f8 by Miss Islington (bot) in branch '3.6': bpo-32827: Fix usage of _PyUnicodeWriter_Prepare() in decoding errors handler. (GH-5636)

Re: Regex on a Dictionary

2018-02-13 Thread Mark Lawrence
On 13/02/18 13:11, Stanley Denman wrote: I am trying to performance a regex on a "string" of text that python isinstance is telling me is a dictionary. When I run the code I get the following error: {'/Title': '1F: Progress Notes Src.: MILANI, JOHN C Tmt. Dt.: 05/12/2014 - 05/28/2014 (9

[issue32820] Add bits method to ipaddress

2018-02-13 Thread Berker Peksag
Berker Peksag added the comment: Eric, please delete the previous message when you reply by email. Keeping the previous message makes your comment harder to read. See https://bugs.python.org/issue32820#msg312050 on browser for example. -- nosy: +berker.peksag

[issue32755] Several cookies with the same name get intermixed

2018-02-13 Thread Юрий Пухальский
Юрий Пухальский added the comment: "Questions about using cpython and 3rd party libraries like aiohttp should be directed elsewhere." Sorry, I thought http is part of "stdlib"? But if sending this here is totally wrong, I beg pardon. --

[issue31562] snakebite.net is not available

2018-02-13 Thread Trent Nelson
Trent Nelson added the comment: Unfortunately the host backing blackhole.snakebite.net and whitehole.snakebite.net is no longer available. I still think the underlying test is valuable, though -- are there any PSF boxes/containers that could fulfill this role? (I used pf on

Re: Defer, ensure library is loaded

2018-02-13 Thread Chris Angelico
On Wed, Feb 14, 2018 at 3:02 AM, Jason wrote: > I have a variety of scripts that import some large libraries, and rather than > create a million little scripts with specific imports, I'd like to so > something like > > psycopg2 = ensure_imported (psycopg2) > > This way,

[issue32820] Add bits method to ipaddress

2018-02-13 Thread Eric V. Smith
Eric V. Smith added the comment: If you don't recognize the format string, you want to fall back to: return super().__format__(fmt) Since that will call object.__format__, it will generate an error if fmt is not the empty string, which is what it does currently for IP

[issue20632] Define a new __key__ protocol

2018-02-13 Thread Cheryl Sabella
Cheryl Sabella added the comment: Thanks, Nick. When I first came across this issue, I thought that dataclasses would take care of what you wrote below, but after looking at the original discussion on python-dev, I thought the problem was ordering None within a comparison

[issue31787] various refleaks when calling the __init__() method of an object more than once

2018-02-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +5464 ___ Python tracker ___

Re: Regex on a Dictionary

2018-02-13 Thread alister via Python-list
On Tue, 13 Feb 2018 13:42:08 +, Rhodri James wrote: > On 13/02/18 13:11, Stanley Denman wrote: >> I am trying to performance a regex on a "string" of text that python >> isinstance is telling me is a dictionary. When I run the code I get >> the following error: >> >> {'/Title': '1F:

[issue32839] Add after_info as a function to tkinter

2018-02-13 Thread Cheryl Sabella
Cheryl Sabella added the comment: I was working on the tests for issue32831. One of the methods was `__del__` which made sure timer events were canceled with `after_cancel`. In the test, to assert that the after events no longer existed after calling `__del__` and after

RE: Can't Uninstall !

2018-02-13 Thread Pedro Crescencio
Hello Michael, Here my answers 1. Why do you want to uninstall it? What are you trying to accomplish by uninstalling it? -> I installed Python to test a software. Now I do not need python any more. 2. What operating system are you using? -> Windows 10 Familly 64b 3. How did you try to

Defer, ensure library is loaded

2018-02-13 Thread Jason
I have a variety of scripts that import some large libraries, and rather than create a million little scripts with specific imports, I'd like to so something like psycopg2 = ensure_imported (psycopg2) This way, regardless of invocation I can know psycopg2 is loaded, if it hasn't already been

[issue31787] various refleaks when calling the __init__() method of an object more than once

2018-02-13 Thread INADA Naoki
INADA Naoki added the comment: New changeset f0bc645dfede8118c84844bad319cd952c4d1905 by INADA Naoki in branch 'master': bpo-31787: Skip refleak check when _hashlib is not available (GH-5660)

[issue31787] various refleaks when calling the __init__() method of an object more than once

2018-02-13 Thread miss-islington
miss-islington added the comment: New changeset 5d0d0eaf3ccee4349a5bed6e7741d09d56f2ab50 by Miss Islington (bot) in branch '3.6': bpo-31787: Skip refleak check when _hashlib is not available (GH-5660)

Re: This newsgroup (comp.lang.python) may soon be blocked by Google Gro

2018-02-13 Thread Michael F. Stemper
On 2018-02-10 16:40, Chris Angelico wrote: On Sun, Feb 11, 2018 at 8:52 AM, Chris Green wrote: Michael F. Stemper wrote: On 2018-02-09 13:37, Chris Green wrote: Use ssh (is that available at worK?) to connect from work to home Your ISP

Re: Respam levels.

2018-02-13 Thread alister via Python-list
On Tue, 13 Feb 2018 12:49:26 +, C W Rose wrote: > Having run a check for straightforward spam, I now find that there's a > site editing and reposting non-spam posts. An example of the changed > headers follows: > > Original post headers: >> >> From c...@seckford.org Sun Feb 11 23:23:22 2018

Re: Respam levels.

2018-02-13 Thread Mark Lawrence
On 13/02/18 12:49, C W Rose via Python-list wrote: Having run a check for straightforward spam, I now find that there's a site editing and reposting non-spam posts. An example of the changed headers follows: Original post headers: From c...@seckford.org Sun Feb 11 23:23:22 2018 Path:

[issue32820] Add bits method to ipaddress

2018-02-13 Thread Berker Peksag
Change by Berker Peksag : -- nosy: -berker.peksag ___ Python tracker ___ ___

[issue32839] Add after_info as a function to tkinter

2018-02-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What is the use case for this method? How it could be used? -- nosy: +serhiy.storchaka ___ Python tracker

[issue31787] various refleaks when calling the __init__() method of an object more than once

2018-02-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +5465 ___ Python tracker ___

[issue31787] various refleaks when calling the __init__() method of an object more than once

2018-02-13 Thread miss-islington
miss-islington added the comment: New changeset e81a6c86c89da02a0da719926198ab72edab2e05 by Miss Islington (bot) in branch '3.7': bpo-31787: Skip refleak check when _hashlib is not available (GH-5660)

[issue31562] snakebite.net is not available

2018-02-13 Thread R. David Murray
R. David Murray added the comment: There is a host dedicated to providing test infrastructure. I forget the name. Benjamin has done things with it in the past. -- nosy: +benjamin.peterson, r.david.murray ___ Python tracker

[issue16251] pickle special methods are looked up on the instance rather than the type

2018-02-13 Thread Łukasz Langa
Łukasz Langa added the comment: FWIW I withdrew my PR. -- ___ Python tracker ___ ___

Re: Regex on a Dictionary

2018-02-13 Thread Stanley Denman
On Tuesday, February 13, 2018 at 9:41:14 AM UTC-6, Mark Lawrence wrote: > On 13/02/18 13:11, Stanley Denman wrote: > > I am trying to performance a regex on a "string" of text that python > > isinstance is telling me is a dictionary. When I run the code I get the > > following error: > > > >

[issue32839] Add after_info as a function to tkinter

2018-02-13 Thread Cheryl Sabella
Cheryl Sabella added the comment: I've made a pull request. I understand that you may not want to add this functionality, but perhaps the docstring will answer your questions. I took it from the Tcl docs page. -- ___ Python

Re: Can't Uninstall !

2018-02-13 Thread Jerry Hill
On Tue, Feb 13, 2018 at 10:30 AM, Pedro Crescencio wrote: 3. How did you try to uninstall it? > Using Windows standard uninstall procedure > https://www.windowscentral.com/how-to-uninstall-apps-windows-10 > ​That page describes two different ways of uninstalling programs

Re: Regex on a Dictionary

2018-02-13 Thread Steven D'Aprano
On Tue, 13 Feb 2018 13:53:04 +, Mark Lawrence wrote: > Was the string methods solution that I gave a week or so ago so bad that > you still think that you need a regex to solve this? Sometimes regexes are needed, but often Jamie Zawinski is right: Some people, when confronted with a

Re: Regex on a Dictionary

2018-02-13 Thread Steven D'Aprano
On Tue, 13 Feb 2018 05:11:20 -0800, Stanley Denman wrote: > I am trying to performance a regex on a "string" of text that python > isinstance is telling me is a dictionary. Please believe Python when it tells you that something is a dictionary. Trust me, the interpreter knows. It doesn't matter

Re: Packaging uwsgi flask app for non-programmers?

2018-02-13 Thread Israel Brewster
> > On Feb 6, 2018, at 12:12 PM, Israel Brewster wrote: > > I have been working on writing an Alexa skill which, as part of it, requires > a local web server on the end users machine - the Alexa skill sends commands > to this server, which runs them on the local

[issue32839] Add after_info as a function to tkinter

2018-02-13 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch pull_requests: +5466 stage: -> patch review ___ Python tracker ___

[issue32795] subprocess.check_output() with timeout does not exit if child process does not generate output after timeout

2018-02-13 Thread Fangyi Zhou
Fangyi Zhou added the comment: As far as I have discovered, the bash process is killed by after the timeout. Presumably the pipe is still open due to the sleep process, so in order to retrieve any output from stdout/stderr, the read waits on the pipe, hence leading to

[issue32839] Add after_info as a function to tkinter

2018-02-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm not sure what after_info(id) should return. -- nosy: +terry.reedy ___ Python tracker

RE: Can't Uninstall !

2018-02-13 Thread Pedro Crescencio
RESOLVED To answer Jerry, I found solution. Point 3. First try: uninstall using Windows 10 interface to uninstall Like this https://malwaretips.com/blogs/wp-content/uploads/2015/07/Uninstall-Application-from-Windows-10.jpg Second try: right click over the program bouton on Start Menu

[issue31562] snakebite.net is not available

2018-02-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: pythontest.net -- ___ Python tracker ___ ___

Suggestions on programming in Python an email simple client

2018-02-13 Thread Maroso Marco
Hi, what i'm trying to do is develop my own email client, but a simple one. I just want it to connect to a specific email account and read the subject line of messages coming from a certain email address. I then want it to be able to execute the command i wrote on the subject. It would be

Re: Suggestions on programming in Python an email simple client

2018-02-13 Thread Chris Angelico
On Wed, Feb 14, 2018 at 7:05 AM, Maroso Marco wrote: > Hi, > > what i'm trying to do is develop my own email client, but a simple one. > > I just want it to connect to a specific email account and read the subject > line of messages coming from a certain email address. >

Re: Regex on a Dictionary

2018-02-13 Thread Mark Lawrence
On 13/02/18 18:08, Stanley Denman wrote: On Tuesday, February 13, 2018 at 9:41:14 AM UTC-6, Mark Lawrence wrote: On 13/02/18 13:11, Stanley Denman wrote: I am trying to performance a regex on a "string" of text that python isinstance is telling me is a dictionary. When I run the code I get

[issue21196] Name mangling example in Python tutorial

2018-02-13 Thread Cheryl Sabella
Cheryl Sabella added the comment: Chandan or Berker, Any interest in making a Github pull request for this patch? -- nosy: +csabella versions: +Python 3.7, Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker

Re: Packaging uwsgi flask app for non-programmers?

2018-02-13 Thread Dan Stromberg
On Tue, Feb 13, 2018 at 9:28 AM, Israel Brewster wrote: > As such, I'm considering three possible solutions: > > 1) Make some sort of installer package that includes the python3 installer > 2) Somehow automate the download and install of Python3, or > 3) re-write my code to

[issue32840] Must install python 3.6.3 when 3.6.4 already installed

2018-02-13 Thread J. Morton
New submission from J. Morton : Got a 0x8070666 "Setup Failed - another version installed" popup message when installing 3.6.3 with 3.6.4 and 3.5.1 already installed (all are "just for me" installs). The problem is independent of word length. It should be possible to

[issue32841] Asyncio.Condition prevents cancellation

2018-02-13 Thread Yury Selivanov
Yury Selivanov added the comment: le_meme.jpg is a pretty common facial expression when one debugs locks/conditions, so let's not attach it in the future :) We try to keep the bug tracker free of unnecessary information. As for the bug—please submit a PR! --

[issue32841] Asyncio.Condition prevents cancellation

2018-02-13 Thread Yury Selivanov
Change by Yury Selivanov : Removed file: https://bugs.python.org/file47441/le_meme.jpg ___ Python tracker ___

Re: Respam levels.

2018-02-13 Thread Gregory Ewing
Mark Lawrence wrote: IIRC the same source for the "nospam" stuff of some months ago which I believe was purely accidental. I have told the site admin about this, hopefully he will be able to put a stop to it again. -- Greg -- https://mail.python.org/mailman/listinfo/python-list

[issue32839] Add after_info as a function to tkinter

2018-02-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am in favor of exposing all of tk where it makes sense to do so, and I think it does here. After 'translating' the tk after_info entry into tkinter-ese, I would expect and want that root.after_info(root.after(f, 10))[0] is f be

[issue32841] Asyncio.Condition prevents cancellation

2018-02-13 Thread Bar Harel
Change by Bar Harel : -- pull_requests: +5467 stage: -> patch review ___ Python tracker ___

[issue32755] Several cookies with the same name get intermixed

2018-02-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, http.cookies is part of the stdlib. This is why I continued "the relevant question here is whether http.cookies has a bug", verified the cookie behavior you reported, and added information relevant to its possible bugginess.

[issue32841] Asyncio.Condition prevents cancellation

2018-02-13 Thread Bar Harel
Change by Bar Harel : Added file: https://bugs.python.org/file47441/le_meme.jpg ___ Python tracker ___

[issue32841] Asyncio.Condition prevents cancellation

2018-02-13 Thread Bar Harel
New submission from Bar Harel : Hey guys, A week after a serious asyncio.Lock bug, I found another bug that makes asyncio.Condition ignore and prevent cancellation in some cases due to an "except: pass" which tbh is a little embarrassing. What happens is that during the

[issue32841] Asyncio.Condition prevents cancellation

2018-02-13 Thread Bar Harel
Change by Bar Harel : -- keywords: +patch Added file: https://bugs.python.org/file47440/le_patch.diff ___ Python tracker ___

[issue32756] argparse: parse_known_args: raising exception on unknown arg following known one

2018-02-13 Thread paul j3
paul j3 added the comment: This error message is intentional. In def consume_optional(start_index): # identify additional optionals in the same arg string # (e.g. -xyz is the same as -x -y -z if no args are required) #

[issue32756] argparse: parse_known_args: raising exception on unknown arg following known one

2018-02-13 Thread paul j3
paul j3 added the comment: Try adding a simple positional argument. '-ab' would still produce this error. -- ___ Python tracker

[issue32838] Fix Python versions in the table of magic numbers

2018-02-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: Maybe we should simply delete this comment? I'm not sure how useful it is. -- ___ Python tracker

[issue32842] Fixing epoll timeout logics

2018-02-13 Thread YoSTEALTH
Change by YoSTEALTH : -- pull_requests: +5474 ___ Python tracker ___ ___

[issue32842] Fixing epoll timeout logics

2018-02-13 Thread YoSTEALTH
YoSTEALTH added the comment: my confusion comes from epoll.poll(timeout=-1, maxevents=-1) has nothing to do with selectors.BaseSelector.select(timeout=None) -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed

[issue32489] Allow 'continue' in 'finally' clause

2018-02-13 Thread Nitish
Change by Nitish : -- nosy: +nitishch ___ Python tracker ___ ___ Python-bugs-list

Re: Suggestions on programming in Python an email simple client

2018-02-13 Thread Maroso Marco
Il giorno martedì 13 febbraio 2018 21:18:37 UTC+1, Chris Angelico ha scritto: > On Wed, Feb 14, 2018 at 7:05 AM, Maroso Marco wrote: > > Hi, > > > > what i'm trying to do is develop my own email client, but a simple one. > > > > I just want it to connect to a specific

[issue18802] ipaddress documentation errors

2018-02-13 Thread Cheryl Sabella
Cheryl Sabella added the comment: Jon/Berker, Are you interested in making a Github pull request for this? Thanks! -- nosy: +csabella ___ Python tracker

[issue27846] Base64 expansion factor is 4 to 3, not 6 to 4

2018-02-13 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +5468 stage: -> patch review ___ Python tracker ___

[issue21196] Name mangling example in Python tutorial

2018-02-13 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +5469 ___ Python tracker ___ ___

[issue32841] Asyncio.Condition prevents cancellation

2018-02-13 Thread Nathaniel Smith
Nathaniel Smith added the comment: Interesting case! This is super subtle. I think the patch is correct though. (In Trio this is one of the cases where we use shielding: https://github.com/python-trio/trio/blob/f48d8922dfe2118bfaaf9a85f2524e58146ba369/trio/_sync.py#L749-L752

Re: Packaging uwsgi flask app for non-programmers?

2018-02-13 Thread Israel Brewster
> On Feb 13, 2018, at 10:02 AM, Dan Stromberg wrote: > > On Tue, Feb 13, 2018 at 9:28 AM, Israel Brewster > wrote: >> As such, I'm considering three possible solutions: >> >> 1) Make some sort of installer package that includes the python3 installer

Django-hotsauce 1.0 commercial edition looking for beta testers!

2018-02-13 Thread Etienne Robillard
Hello everyone, Django-hotsauce 1.0 commercial edition (LTS) is now available for preorder :) Checkout: https://www.livestore.ca/product/django-hotsauce/ I'm also looking for expert Django and Python programmers to test and review the design and API of Django-hotsauce 1.0 commercial edition

[issue27846] Base64 expansion factor is 4 to 3, not 6 to 4

2018-02-13 Thread Zackery Spytz
Change by Zackery Spytz : -- nosy: +ZackerySpytz versions: +Python 3.7, Python 3.8 -Python 3.5 ___ Python tracker ___

[issue27846] Base64 expansion factor is 4 to 3, not 6 to 4

2018-02-13 Thread Berker Peksag
Berker Peksag added the comment: New changeset 88c38a4049ded0e1f197fec3e76be7c0c0e83d7a by Berker Peksag (Zackery Spytz) in branch 'master': bpo-27846: Delete incorrect note in base64 docs (GH-5666)

[issue27846] Base64 expansion factor is 4 to 3, not 6 to 4

2018-02-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +5470 ___ Python tracker ___

[issue27846] Base64 expansion factor is 4 to 3, not 6 to 4

2018-02-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +5471 ___ Python tracker ___

Re: Defer, ensure library is loaded

2018-02-13 Thread Steven D'Aprano
On Wed, 14 Feb 2018 03:08:07 +1100, Chris Angelico wrote: [...] > import psycopg2 > > If it's already been imported, Python will go fetch it straight from the > cache, so it's fast. Since Jason is talking about "a variety of scripts", it is quite possible that the sys.modules cache will not

[issue26743] Unable to import random with python2.7 on power pc based machine

2018-02-13 Thread Cheryl Sabella
Cheryl Sabella added the comment: Since there hasn't been activity on this for nearly 2 years, should it be closed as third party? Stefan seemed to conclude that it was a WindRiver issue. Thanks! -- nosy: +csabella ___ Python

Re: Suggestions on programming in Python an email simple client

2018-02-13 Thread MRAB
On 2018-02-13 22:54, Maroso Marco wrote: Il giorno martedì 13 febbraio 2018 21:18:37 UTC+1, Chris Angelico ha scritto: On Wed, Feb 14, 2018 at 7:05 AM, Maroso Marco wrote: > Hi, > > what i'm trying to do is develop my own email client, but a simple one. > > I just want

  1   2   >