Re: Proposed new syntax

2017-08-22 Thread Rustom Mody
Since this erm… discussion has also brought in Haskell and in this case, the name, the history etc are related I thought I'd mention the following Around 2015 there was a major upheaval in the Haskell community around the socalled FTP (foldable-traversable-prelude) controversy. In many respects

[issue31024] typing.Tuple is class but is defined as data inside https://docs.python.org/3.6/objects.inv

2017-08-22 Thread Guido van Rossum
Guido van Rossum added the comment: OK, I think Sphinx is way too complicated for its own good, and it's arguably not the fault of Python's documentation that this doesn't work for you. I would like to close this issue as "won't fix", except... in a sense Tuple actually *is* a class, since

[issue16217] Tracebacks are unnecessarily verbose when using 'python -m'

2017-08-22 Thread Nick Coghlan
Nick Coghlan added the comment: The reason we don't always drop the importlib frames in general is because we need them when we're debugging importlib itself, as well as when folks are calling into it directly. However, I think it would be reasonable to do it unconditionally for unhandled

[issue31024] typing.Tuple is class but is defined as data inside https://docs.python.org/3.6/objects.inv

2017-08-22 Thread Bernát Gábor
Bernát Gábor added the comment: I suppose when the python.org documentation is generated the objects.inv file gets generated with it (I did not found exactly this piece of code here though). When Sphinx runs, it's intersphinx plugin goes out to python.org, downloads the objects.inv, decodes

[issue31263] Assigning to subscript/slice of literal is permitted

2017-08-22 Thread Isaac Elliott
New submission from Isaac Elliott: In Python 3.5 and 3.6 (at least), the language reference presents a grammar that disallows assignment to literals. For example, `(a for 1 in [1,2,3])` is a syntax error, as is `(1, a) = (2, 3)`. However the grammar doesn't prevent assignment to subscripted

Re: Proposed new syntax

2017-08-22 Thread Marko Rauhamaa
Gregory Ewing : > Marko Rauhamaa wrote: >> You will always have to step outside your formal system and resort to >> hand-waving in a natural language. > > If the hand-waving is rigorous, this amounts to expanding your formal > system by adding new axioms and/or rules

[issue31254] WeakKeyDictionary/Mapping doesn't call __missing__

2017-08-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: For WeakKeyDictionary, I suspect that adding a __missing__() call would make the API more tricky and would likely cause more problems than it solves. Without a compelling use case, my recommendation would be to leave it alone. (FWIW, all of the weak

[issue31209] MappingProxyType can not be pickled

2017-08-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: > So I guess my questions now are; > > 1. Should types.MappingProxyType be pickleable? > 2. Should there be some documentation about the intended use of > MappingProxyType? > > I imagine the answer to the first question is "no" given > how `__setstate__`

opencv tutorial links

2017-08-22 Thread Abdur-Rahmaan Janhangeer
dear mail list, the only famous module i need to cover in python is open cv can you drop some links or book recommendations apart from the official website? thanks, Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Outlook csv Files

2017-08-22 Thread Abdur-Rahmaan Janhangeer
as someone who works with languages, this one seems quite manageable i assume you know how to deal with csv. 1 get the cell string 2 split at _ that will make you move around mpre easily as this separates in big chunk 3 for the first chunck, you might want to split at , 4 and so on

Re: python list name in subject

2017-08-22 Thread Abdur-Rahmaan Janhangeer
ah thanks for the tip about me filtering them thought the community liked core python style (mail lists where python dev talk, discuss ideas,i.e. the ones where guido replies etc) anyways thanks all Abdur-Rahmaan Janhangeer, Mauritius abdurrahmaanjanhangeer.wordpress.com On 22 Aug 2017 12:38,

Re: python list name in subject

2017-08-22 Thread Ben Finney
Abdur-Rahmaan Janhangeer writes: > i am subscribed to different python lists and they put their names in the > subject > [name] subject That's non-standard. The standard place for that information is the “List-Id” field . > hence i

Re: Proposed new syntax

2017-08-22 Thread Ben Finney
Stephan Houben writes: > I have often done things like: > > generate_id = itertools.count().__next__ Could you be convinced to instead do:: import functools import itertools generate_id = functools.partial(next, itertools.count()) -- \

Re: python list name in subject

2017-08-22 Thread Grant Edwards
On 2017-08-23, D'Arcy Cain wrote: > On 08/22/2017 10:14 AM, Grant Edwards wrote: >> Please don't. It wastes space which is better used on the subject. If >> you want the mailing list prepended, then configure procmail (or >> whatever) to do it for you. > > Better yet, put

[issue31244] IDLE: work around shortcuts bug in Windows' IMEs and tk

2017-08-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Constantine: the point of checking the behavior of the Japanese IME was to determine whether there is a problem with all IMEs or just some. Since Ctrl + the 2nd key from the left on the bottom row (marked 'X') invokes 'Delete' in both American and Japanese

[issue31255] Test getrandom before using it

2017-08-22 Thread Benda Xu
Benda Xu added the comment: Thanks Victor. Python-3.5 has received your patches in time and 3.5.4 builds well with glibc-2.25 and https://wiki.gentoo.org/wiki/Project:Prefix 2. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c8e2396d9cf4fe13057741f5bd1b9989eeeb746 --

Re: python list name in subject

2017-08-22 Thread D'Arcy Cain
On 08/22/2017 10:14 AM, Grant Edwards wrote: Please don't. It wastes space which is better used on the subject. If you want the mailing list prepended, then configure procmail (or whatever) to do it for you. Better yet, put it in its own folder. -- D'Arcy J.M. Cain Vybe Networks Inc.

[issue31209] MappingProxyType can not be pickled

2017-08-22 Thread Alex Hayes
Alex Hayes added the comment: Some background. I'm not actually trying to pickle MappingProxyType, I'm using the schematics [1] library and recently it broke support for pickle [2] and the cause of that is because they are using MappingProxyType [3] internally (when they used to use dict).

[issue31205] IDLE, configdialog: Factor out KeysPage class from ConfigDialog

2017-08-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Reading PEP 434, special rules for IDLE, should mostly answer your question. -- ___ Python tracker ___

[issue12887] Documenting all SO_* constants in socket module

2017-08-22 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- stage: needs patch -> patch review versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.2, Python 3.3 ___ Python tracker

Outlook csv Files

2017-08-22 Thread Gregory Grimes
All, I have exported Remedy emails from Outlook to a csv file. The issue is one cell, Body, has information in multiple lines: Subject,Body,From: (Name),From: (Address),From: (Type),To: (Name),To: (Address),To: (Type),CC: (Name),CC: (Address),CC: (Type),BCC: (Name),BCC: (Address),BCC:

Re: Proposed new syntax

2017-08-22 Thread Gregory Ewing
Marko Rauhamaa wrote: You will always have to step outside your formal system and resort to hand-waving in a natural language. If the hand-waving is rigorous, this amounts to expanding your formal system by adding new axioms and/or rules to it. If the hand-waving is not rigorous, then you

[issue31262] Documentation Error

2017-08-22 Thread Dipti Sherlekar
Dipti Sherlekar added the comment: Thanks all. Dipti On Tue, Aug 22, 2017 at 4:28 PM Martin Panter wrote: > > Martin Panter added the comment: > > Assuming this is about the Classes section in the tutorial, you seem to be > going down the same track as

[issue31262] Documentation Error

2017-08-22 Thread Martin Panter
Martin Panter added the comment: Assuming this is about the Classes section in the tutorial, you seem to be going down the same track as -- nosy: +martin.panter ___ Python tracker

[issue31262] Documentation Error

2017-08-22 Thread R. David Murray
R. David Murray added the comment: No, that sentence is telling you what the *Python*'s behavior is, using C++ terminology. Unlike C++, where class members are private by default, the Python equivalent of class members are public by default. If you can figure out a clearer way to phrase that

[issue31261] unittest fails to properly destruct objects created during setUp if a test fails

2017-08-22 Thread R. David Murray
R. David Murray added the comment: GC cleanup is not guaranteed to be synchronous. You are observing normal Python behavior here. Cleanup does not happen until the TestCase instance is finalized (thus eliminating the self.dummy reference to your DummyClass). In the case of passing tests,

[issue28667] FD_SETSIZE is unsigned on FreeBSD

2017-08-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset cb7fdf69ec9235cb358580f189089eaf575fb9df by Victor Stinner in branch '3.6': bpo-28667: Fix a compile warning on FreeBSD when compare with FD_SETSIZE. (#501) (#3190)

[issue31095] Checking all tp_dealloc with Py_TPFLAGS_HAVE_GC

2017-08-22 Thread STINNER Victor
STINNER Victor added the comment: In my experience, it's not that hard to crash CPython (without ctypes) if you know internals or just if you look into Lib/test/crashers/ :-) I agree that it's a good practice to fix crashes when there is a simple known script to crash Python. The question is

[issue31262] Documentation Error

2017-08-22 Thread Dipti Sherlekar
New submission from Dipti Sherlekar: Documentation says : In C++ terminology, normally class members (including the data members) are public Solution: In C++ the class memebers are private not public by default. -- assignee: docs@python components: Documentation messages: 300727

[issue31024] typing.Tuple is class but is defined as data inside https://docs.python.org/3.6/objects.inv

2017-08-22 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks, I am a little closer to understanding now. > once intersphinx looks at the Tuple during documentation generation it > deduces it actually is of type class How does intersphinx deduce this? Also, does it run when we generate the Python docs, or when

[issue31261] unittest fails to properly destruct objects created during setUp if a test fails

2017-08-22 Thread Micah
New submission from Micah: When running the attached example test dummy objects are created during setUp and destructed at the end of a passing test but when a test fails the dummy object that was created in setUp fails to deconstruct. This leads to cascading errors when writing integration

[issue31024] typing.Tuple is class but is defined as data inside https://docs.python.org/3.6/objects.inv

2017-08-22 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: > For the end user the fact that this is a class is still hidden I am not sure what you mean by this, but with your PR the rendered docs will literally say ``class typing.Tuple``. > We should probably add a unit test that makes sure all runtime "type"

[issue14976] queue.Queue() is not reentrant, so signals and GC can cause deadlocks

2017-08-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: After experimenting a bit more with this approach, I now realize that the case where a get() is waiting and gets interrupted by a put() call is not handled properly: there is no obvious way for the get() call to realize (when the interruption finishes) that

[issue31205] IDLE, configdialog: Factor out KeysPage class from ConfigDialog

2017-08-22 Thread Łukasz Langa
Łukasz Langa added the comment: I don't understand why GH-3097 was introduced to 3.6.2. This doesn't look like a bugfix? -- nosy: +lukasz.langa ___ Python tracker

[issue31024] typing.Tuple is class but is defined as data inside https://docs.python.org/3.6/objects.inv

2017-08-22 Thread Bernát Gábor
Bernát Gábor added the comment: so here's the problem in detail: Intersphinx (http://www.sphinx-doc.org/en/stable/ext/intersphinx.html) is a built in Sphinx plugin that allows to link to documentation of other projects in your own documentation. For example when specifying the argument of a

[issue29097] datetime.fromtimestamp(t) when 0 <= t <= 86399 fails on Python 3.6

2017-08-22 Thread Preston Landers
Changes by Preston Landers : -- nosy: +planders ___ Python tracker ___ ___

[issue30983] eval frame rename in pep 0523 broke gdb's python extension

2017-08-22 Thread Łukasz Langa
Changes by Łukasz Langa : -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue30983] eval frame rename in pep 0523 broke gdb's python extension

2017-08-22 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 8e572491b59c2334723bfd7411ab2a9fbd100f70 by Łukasz Langa in branch '3.6': [3.6] bpo-30983: [gdb] Fix py-bt, etc. for non-debug shared builds (GH-3153) (#3192) https://github.com/python/cpython/commit/8e572491b59c2334723bfd7411ab2a9fbd100f70

Re: requests.{get,post} timeout

2017-08-22 Thread Skip Montanaro
> You could provide both, but since one of them can be handled > externally (with a thread, with a SIGALRM, or with some other sort of > time limiting), the other one MUST be provided by the request. Given the semantics of timeouts which percolate up from the socket level, I agree with Chris. It

[issue31161] Only check for print and exec parentheses cases for SyntaxError, not subclasses

2017-08-22 Thread Łukasz Langa
Changes by Łukasz Langa : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue31161] Only check for print and exec parentheses cases for SyntaxError, not subclasses

2017-08-22 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 772d809a63f40fd35679da3fb115cdf7fa81bd20 by Łukasz Langa (Martijn Pieters) in branch 'master': bpo-31161: only check for parens error for SyntaxError (#3082) https://github.com/python/cpython/commit/772d809a63f40fd35679da3fb115cdf7fa81bd20

[issue31161] Only check for print and exec parentheses cases for SyntaxError, not subclasses

2017-08-22 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 680f04a926bce04e4320ba883068c345eba502a6 by Łukasz Langa (Martijn Pieters) in branch '3.6': bpo-31161: only check for parens error for SyntaxError (#3083) https://github.com/python/cpython/commit/680f04a926bce04e4320ba883068c345eba502a6

[issue30983] eval frame rename in pep 0523 broke gdb's python extension

2017-08-22 Thread Łukasz Langa
Changes by Łukasz Langa : -- pull_requests: +3231 ___ Python tracker ___ ___

Re: requests.{get,post} timeout

2017-08-22 Thread Chris Angelico
On Wed, Aug 23, 2017 at 5:06 AM, Jon Ribbens wrote: >> You can always add in the overall timeout separately. If the low-level >> timeout were implemented that way, there would be no way to externally >> add the other form of timeout. Therefore the only sane way to >>

Re: requests.{get,post} timeout

2017-08-22 Thread Chris Angelico
On Wed, Aug 23, 2017 at 5:10 AM, MRAB wrote: > On 2017-08-22 19:43, Chris Angelico wrote: >> >> On Wed, Aug 23, 2017 at 4:14 AM, Jon Ribbens >> wrote: >>> >>> On 2017-08-22, Chris Angelico wrote: On Wed, Aug 23,

Re: requests.{get,post} timeout

2017-08-22 Thread Jon Ribbens
On 2017-08-22, Chris Angelico wrote: > The low-level timeout will distinguish between those. If you want a > high-level timeout across the entire job, you can do that too, but > then you have to figure out exactly how long is "too long". Let's say > you set a thirty-second

Re: requests.{get,post} timeout

2017-08-22 Thread MRAB
On 2017-08-22 19:43, Chris Angelico wrote: On Wed, Aug 23, 2017 at 4:14 AM, Jon Ribbens wrote: On 2017-08-22, Chris Angelico wrote: On Wed, Aug 23, 2017 at 2:58 AM, Jon Ribbens wrote: Yes. There is no timeout feature

[issue23835] configparser does not convert defaults to strings

2017-08-22 Thread Łukasz Langa
Łukasz Langa added the comment: I merged the original fix and documented it. I thought about it some more and remembered that RawConfigParser objects do in fact support non-string values by historical coincidence. It's unfortunately a popular idiom with old programs to load some configuration

[issue23835] configparser does not convert defaults to strings

2017-08-22 Thread Łukasz Langa
Changes by Łukasz Langa : -- pull_requests: +3230 ___ Python tracker ___ ___

Re: requests.{get,post} timeout

2017-08-22 Thread Chris Angelico
On Wed, Aug 23, 2017 at 4:31 AM, Grant Edwards wrote: > On 2017-08-22, Chris Angelico wrote: > >> """ >> Once your client has connected to the server and sent the HTTP >> request, the read timeout is the number of seconds the client will >> wait for

Re: requests.{get,post} timeout

2017-08-22 Thread Chris Angelico
On Wed, Aug 23, 2017 at 4:14 AM, Jon Ribbens wrote: > On 2017-08-22, Chris Angelico wrote: >> On Wed, Aug 23, 2017 at 2:58 AM, Jon Ribbens >> wrote: >>> Yes. There is no timeout feature that can be used to limit the total

Re: requests.{get,post} timeout

2017-08-22 Thread Grant Edwards
On 2017-08-22, Chris Angelico wrote: > """ > Once your client has connected to the server and sent the HTTP > request, the read timeout is the number of seconds the client will > wait for the server to send a response. (Specifically, it's the number > of seconds that the client

Re: requests.{get,post} timeout

2017-08-22 Thread Jon Ribbens
On 2017-08-22, Chris Angelico wrote: > On Wed, Aug 23, 2017 at 2:58 AM, Jon Ribbens > wrote: >> Yes. There is no timeout feature that can be used to limit the total >> time a 'requests' request takes. Some people might think that this is >> a serious

[issue31244] Shortcuts bug in Python IDLE

2017-08-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I confirm the issue. Seems this is a particularity of Tk implementation on Windows (it looks as a bug from user's point of view). There is a workaround, but it is too complex. For the particular keyboard layout and for every registered shortcut you need to

[issue31260] [2.7] Enhance PC/VS9.0/ project to produce python.bat, as PCbuild/

2017-08-22 Thread Steve Dower
Changes by Steve Dower : -- nosy: -steve.dower ___ Python tracker ___ ___

[issue31095] Checking all tp_dealloc with Py_TPFLAGS_HAVE_GC

2017-08-22 Thread Larry Hastings
Larry Hastings added the comment: I thought crashing bugs were generally considered security bugs. With a reliable crashing bug exploiting a reasonable module (e.g. not ctypes) you can crash Python instances in hosting services. If those instances are shared with other users (e.g. Google

[issue31095] Checking all tp_dealloc with Py_TPFLAGS_HAVE_GC

2017-08-22 Thread STINNER Victor
STINNER Victor added the comment: Larry Hastings: "Victor, what do you think, does this need a 3.5 backport? I'm inclined to say yes." Naoki has to design an evil object which triggers explicitly the garbage collector to get a crash. He found the bug by reading the code. I don't remind

[issue31024] typing.Tuple is class but is defined as data inside https://docs.python.org/3.6/objects.inv

2017-08-22 Thread Guido van Rossum
Guido van Rossum added the comment: Before I spend more time reviewing your patch, can you please explain what you mean by "sphinx fails to find these"? Is there a particular dead link on docs.python.org or a specific query you typed in the search box that failed to find the definition of

Multiple try expect in a for loop

2017-08-22 Thread Ganesh Pal
Hello python friends, I need a suggestion on the below piece of code . I have for loop and I need to do the below i.e create 100 of queue ,open ,and append some data to a data structure. Is multiple try except the way to go or any other idea's. I feel that there is a better way to write

[issue31095] Checking all tp_dealloc with Py_TPFLAGS_HAVE_GC

2017-08-22 Thread Larry Hastings
Larry Hastings added the comment: Victor, what do you think, does this need a 3.5 backport? I'm inclined to say yes. -- ___ Python tracker ___

Re: requests.{get,post} timeout

2017-08-22 Thread Chris Angelico
On Wed, Aug 23, 2017 at 2:58 AM, Jon Ribbens wrote: > On 2017-08-22, Skip Montanaro wrote: >> I'm using the requests module with timeouts to fetch URLs, for example: >> >> response = requests.get("http://www.google.com/;, timeout=10) >> >>

Re: requests.{get,post} timeout

2017-08-22 Thread Skip Montanaro
> """ > Once your client has connected to the server and sent the HTTP > request, the read timeout is the number of seconds the client will > wait for the server to send a response. (Specifically, it's the number > of seconds that the client will wait between bytes sent from the > server. In 99.9%

Re: requests.{get,post} timeout

2017-08-22 Thread Jon Ribbens
On 2017-08-22, Skip Montanaro wrote: > I'm using the requests module with timeouts to fetch URLs, for example: > > response = requests.get("http://www.google.com/;, timeout=10) > > I understand the timeout value in this case applies both to creating the > connection

Re: requests.{get,post} timeout

2017-08-22 Thread Chris Angelico
On Wed, Aug 23, 2017 at 12:02 AM, Skip Montanaro wrote: > I'm using the requests module with timeouts to fetch URLs, for example: > > response = requests.get("http://www.google.com/;, timeout=10) > > I understand the timeout value in this case applies both to

[issue16217] Tracebacks are unnecessarily verbose when using 'python -m'

2017-08-22 Thread Dmitry Kazakov
Dmitry Kazakov added the comment: In order to load and compile the module code, runpy calls the loader's get_code method. Because that happens outside of the normal import process, and PyImport_ImportModuleLevelObject is currently the only place where remove_importlib_frames is being invoked,

[issue28667] FD_SETSIZE is unsigned on FreeBSD

2017-08-22 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3229 ___ Python tracker ___ ___

[issue30871] Add test.pythoninfo

2017-08-22 Thread STINNER Victor
STINNER Victor added the comment: I modified the buildbot configuration so a pythoninfo failure marks the build as WARNINGS instead of FAILED: https://github.com/python/buildmaster-config/commit/3866fac355b91d9d56507c345992fad2169759b4 But I'm not sure that it works :-/ I forced a build, but

[issue31259] [3.6] Enhance support reap_children() and threading_cleanup()

2017-08-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset 468534d92f6879e925c4cd8a228ea300abfb7e4d by Victor Stinner in branch '3.6': bpo-31259: test_urllib2_localnet uses addCleanup(server.stop) (#3186) https://github.com/python/cpython/commit/468534d92f6879e925c4cd8a228ea300abfb7e4d --

Re: python list name in subject

2017-08-22 Thread Rick Johnson
Tim Chase wrote: > Rick Johnson wrote: [...] > Checking mailing list headers...yep, the "forum-of-origin" > type hint is already present in standards-compliant fashion > defined by RFC4021[1]: > > [...] > > Just need a mail client that knows about standards and > isn't fettered. ;-) Well,

[issue31234] Make support.threading_cleanup() stricter

2017-08-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset 41bbd82b6b6a887e893974fa5cdaae7782ae6cac by Victor Stinner in branch 'master': bpo-31234: test_threaded_import: fix test_side_effect_import() (#3189) https://github.com/python/cpython/commit/41bbd82b6b6a887e893974fa5cdaae7782ae6cac --

[issue31234] Make support.threading_cleanup() stricter

2017-08-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset 830d7d2936434ace113822294acce82f62cde41b by Victor Stinner in branch 'master': bpo-31234: test_httpservers joins the server thread (#3188) https://github.com/python/cpython/commit/830d7d2936434ace113822294acce82f62cde41b --

[issue31234] Make support.threading_cleanup() stricter

2017-08-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5f20539ee5c6e3f1da23e8fc31ba519a3d078c79 by Victor Stinner in branch '3.6': bpo-31234: fork_wait tests now join threads (#3139) (#3187) https://github.com/python/cpython/commit/5f20539ee5c6e3f1da23e8fc31ba519a3d078c79 --

[issue30871] Add test.pythoninfo

2017-08-22 Thread STINNER Victor
STINNER Victor added the comment: I created bpo-31260: [2.7] Enhance PC/VS9.0/ project to produce python.bat, as PCbuild/ -- ___ Python tracker ___

[issue31234] Make support.threading_cleanup() stricter

2017-08-22 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3228 ___ Python tracker ___ ___

Re: python list name in subject

2017-08-22 Thread Tim Chase
On 2017-08-22 08:21, Rick Johnson wrote: > Grant Edwards wrote: > > Abdur-Rahmaan Janhangeer wrote: > > > > > > Hi all, i am subscribed to different python lists and > > > they put their names in the subject [name] subject hence > > > i can at a glance tell which mail belongs to which list. >

[issue31234] Make support.threading_cleanup() stricter

2017-08-22 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3227 ___ Python tracker ___ ___

[issue31234] Make support.threading_cleanup() stricter

2017-08-22 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3226 ___ Python tracker ___ ___

Re: python list name in subject

2017-08-22 Thread Rick Johnson
Grant Edwards wrote: > Abdur-Rahmaan Janhangeer wrote: > > > > Hi all, i am subscribed to different python lists and > > they put their names in the subject [name] subject hence > > i can at a glance tell which mail belongs to which list. > > A requests to admins to implement if possible > >

Re: Proposed new syntax

2017-08-22 Thread Chris Angelico
On Wed, Aug 23, 2017 at 1:12 AM, Stephan Houben wrote: > Op 2017-08-22, Ian Kelly schreef : >> Careful! Python's dunder methods are reserved for use by Python. >> They're exposed so that we can override them. Calling them directly is >>

[issue31260] [2.7] Enhance PC/VS9.0/ project to produce python.bat, as PCbuild/

2017-08-22 Thread STINNER Victor
New submission from STINNER Victor: It would be nice to have a python.bat script produced by the PC/VS9.0/ project, as done by the PCbuild/ project. It would fix the newly added buildbot step "pythoninfo": https://bugs.python.org/issue30871#msg300703 Without python.bat, it's not easy to get

[issue30871] Add test.pythoninfo

2017-08-22 Thread STINNER Victor
STINNER Victor added the comment: Crap, everything is fine on all CIs... except of a single Windows buildbot using Visual Studio 2010 which doesn't produce the required python.bat:

Re: Proposed new syntax

2017-08-22 Thread Stephan Houben
Op 2017-08-22, Ian Kelly schreef : > Careful! Python's dunder methods are reserved for use by Python. > They're exposed so that we can override them. Calling them directly is > generally considered bad style. And in this case specifically, it's > not equivalent. Mmm, you

[issue31258] [2.7] Enhance support reap_children() and threading_cleanup()

2017-08-22 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: -3224 ___ Python tracker ___ ___

[issue31259] [3.6] Enhance support reap_children() and threading_cleanup()

2017-08-22 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3225 ___ Python tracker ___ ___

[issue31258] [2.7] Enhance support reap_children() and threading_cleanup()

2017-08-22 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3224 ___ Python tracker ___ ___

[issue31259] [3.6] Enhance support reap_children() and threading_cleanup()

2017-08-22 Thread STINNER Victor
STINNER Victor added the comment: At this point, I'm not sure that I want to make threading_cleanup() stricter, since it's tricky to fix all dangling threads in all tests. At least, I opened an issue for 3.6 as a placeholder if we need to backport a few fixes. See also bpo-31234 where I

[issue31238] pydoc: ServerThread.stop() leaves a dangling thread

2017-08-22 Thread STINNER Victor
STINNER Victor added the comment: I left Python 2.7 and 3.6 unchanged to focus on fixing dangling threads and other similar bugs in the master branch first. I will see later if we really need to backport the fix to stable branches. In the meanwhile, I close the issue. --

[issue31238] pydoc: ServerThread.stop() leaves a dangling thread

2017-08-22 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue31259] [3.6] Enhance support reap_children() and threading_cleanup()

2017-08-22 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3223 ___ Python tracker ___ ___

[issue31259] [3.6] Enhance support reap_children() and threading_cleanup()

2017-08-22 Thread STINNER Victor
New submission from STINNER Victor: Backport reap_children() and threading_cleanup() enhancements from master to 3.6 to make tests more reliables, reduce random failures on Python CIs. See also bpo-31258 for Python 2.7 -- components: Tests messages: 300700 nosy: haypo priority: normal

[issue31258] [2.7] Enhance support reap_children() and threading_cleanup()

2017-08-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset 02e03672e6766b1da847b1635982a70346780744 by Victor Stinner in branch '2.7': bpo-31258: test_urllib2_localnet uses addCleanup(server.stop) (#3184) https://github.com/python/cpython/commit/02e03672e6766b1da847b1635982a70346780744 --

[issue31258] [2.7] Enhance support reap_children() and threading_cleanup()

2017-08-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1460ce5a9325690d8a1913c296a9bba437ff0f39 by Victor Stinner in branch '2.7': bpo-31258: test_signal: call waitpid() to prevent zombie process (#3183) https://github.com/python/cpython/commit/1460ce5a9325690d8a1913c296a9bba437ff0f39 --

[issue31249] test_concurrent_futures leaks dangling threads

2017-08-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset bc61315377056fe362b744d9c44e17cd3178ce54 by Victor Stinner in branch 'master': bpo-31249: Fix ref cycle in ThreadPoolExecutor (#3178) https://github.com/python/cpython/commit/bc61315377056fe362b744d9c44e17cd3178ce54 --

[issue31258] [2.7] Enhance support reap_children() and threading_cleanup()

2017-08-22 Thread STINNER Victor
STINNER Victor added the comment: Using PR 3182, test_socketserver fails with --fail-env-changed because of bpo-31151 "socketserver.ForkingMixIn.server_close() leaks zombie processes". -- ___ Python tracker

[issue2506] Add mechanism to disable optimizations

2017-08-22 Thread diana
Changes by diana : -- nosy: +diana ___ Python tracker ___ ___ Python-bugs-list

[issue31258] [2.7] Enhance support reap_children() and threading_cleanup()

2017-08-22 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3222 ___ Python tracker ___ ___

[issue31258] [2.7] Enhance support reap_children() and threading_cleanup()

2017-08-22 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3221 ___ Python tracker ___ ___

[issue31258] [2.7] Enhance support reap_children() and threading_cleanup()

2017-08-22 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3220 ___ Python tracker ___ ___

[issue31258] [2.7] Enhance support reap_children() and threading_cleanup()

2017-08-22 Thread STINNER Victor
New submission from STINNER Victor: Backport reap_children() and threading_cleanup() enhancements from master to 2.7 to make tests more reliables, reduce random failures on Python CIs. -- components: Tests messages: 300695 nosy: haypo priority: normal severity: normal status: open

[issue31024] typing.Tuple is class but is defined as data inside https://docs.python.org/3.6/objects.inv

2017-08-22 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +3219 ___ Python tracker ___

  1   2   >