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

2018-02-13 Thread Mark Dickinson
Mark Dickinson added the comment: @csabella: Agreed. Let's close. Thanks! -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker

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

2018-02-13 Thread Nitish
Change by Nitish : -- keywords: +patch pull_requests: +5476 stage: -> patch review ___ Python tracker ___

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

2018-02-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think it is useful to have such table somewhere. It give the impression about the history of bytecode and pyc format. There are third-party projects that try to support Python bytecode of different versions, they need such

[issue32839] Add after_info as a function to tkinter

2018-02-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Note that in the tests for issue32831 you need to use call('after', 'info') if you want to backport them. -- ___ Python tracker

[issue32839] Add after_info as a function to tkinter

2018-02-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: On one side, the first item of the list returned by the Tcl command `after info $id` is a name of the Tcl command generated by Tkinter. It is internal, it was not exposed to Tkinter users before, and the API for restoring the

[issue21196] Name mangling example in Python tutorial

2018-02-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't think we should advertise how to manually mangle the names. That isn't a best practice. The feature is automatic for a reason. -- ___ Python tracker

[issue32841] Asyncio.Condition prevents cancellation

2018-02-13 Thread Nathaniel Smith
Nathaniel Smith added the comment: It does make me wonder if asyncio.shield *should* wait for the thing it's shielding though, so that it *would* work in this case? (Similar to bpo-32751.) -- ___ Python tracker

[issue30638] Additional dependencies and rule for `make regen-all`

2018-02-13 Thread Zachary Ware
Change by Zachary Ware : -- pull_requests: +5475 ___ Python tracker ___ ___

[issue32820] Add bits method to ipaddress

2018-02-13 Thread Nick Coghlan
Nick Coghlan added the comment: Aye, definitely worth a thread on python-ideas. My rationale for suggesting something based on the built-in numeric codes is that it makes it straightforward for *users* to transfer knowledge from that mini-language. As far as parsing goes,

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

2018-02-13 Thread Nick Coghlan
Nick Coghlan added the comment: We still need to the ".0" style temporary variables that are used for argument names in the implicitly generated functions, but it's definitely plausible that we're not actually using the "_[1]" style hidden variables anywhere anymore.

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

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

[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

[issue32842] Fixing epoll timeout logics

2018-02-13 Thread YoSTEALTH
Change by YoSTEALTH : -- pull_requests: +5474 ___ 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

[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

[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) #

[issue30638] Additional dependencies and rule for `make regen-all`

2018-02-13 Thread Zachary Ware
Change by Zachary Ware : -- keywords: +patch pull_requests: +5473 stage: -> patch review ___ Python tracker ___

[issue32842] Fixing epoll timeout logics

2018-02-13 Thread YoSTEALTH
Change by YoSTEALTH : -- keywords: +patch pull_requests: +5472 stage: -> patch review ___ Python tracker ___

[issue32842] Fixing epoll timeout logics

2018-02-13 Thread YoSTEALTH
New submission from YoSTEALTH : # current if timeout is None: timeout = -1 elif timeout <= 0: timeout = 0 # changed if timeout is None: timeout = -1 elif timeout < -1: timeout = 0 what if "timeout=-1" ? - currently it would result in being timeout=0

Re: Django-hotsauce 1.0 commercial edition looking for beta testers!

2018-02-13 Thread Ned Batchelder
On 2/13/18 6:41 PM, Etienne Robillard wrote: 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

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

2018-02-13 Thread Berker Peksag
Berker Peksag added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ 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 b93a52b136fd2285f2891eef91c50e3d36ea6f36 by Berker Peksag (Miss Islington (bot)) in branch '3.6': 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 Berker Peksag
Berker Peksag added the comment: New changeset 2e8d9003ed7a97955c36fa19a9ce7c43d9ec83e1 by Berker Peksag (Miss Islington (bot)) in branch '3.7': bpo-27846: Delete incorrect note in base64 docs (GH-5666)

Re: Defer, ensure library is loaded

2018-02-13 Thread Steven D'Aprano
On Tue, 13 Feb 2018 08:02:38 -0800, 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, regardless of

[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: 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

[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 ___

[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)

[issue21196] Name mangling example in Python tutorial

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

[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 Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +5468 stage: -> patch review ___ Python tracker ___

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

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

[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

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

[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: 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

[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 ___

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

[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 ___

[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 Bar Harel
Change by Bar Harel : -- keywords: +patch Added file: https://bugs.python.org/file47440/le_patch.diff ___ Python tracker ___

[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

[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.

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. >

[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

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

[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

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

[issue31562] snakebite.net is not available

2018-02-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: pythontest.net -- ___ 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 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

[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 ___

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

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: > > > >

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

[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: 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

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

[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: 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,

[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

[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

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

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

[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: 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

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:

[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: 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

[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: 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: 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:

[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)

[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

[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
Change by miss-islington : -- pull_requests: +5464 ___ Python tracker ___

[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)

[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

[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. --

[issue32820] Add bits method to ipaddress

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

[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

[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 ___ ___

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

[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

[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 --

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

[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

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),

[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)

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: >

[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

[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 ___ ___

[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)

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

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

  1   2   >