[issue36091] clean up async generator from types module

2019-03-03 Thread Henry Chen


Change by Henry Chen :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36091] clean up async generator from types module

2019-03-03 Thread miss-islington


miss-islington  added the comment:


New changeset cd0416466f8a6d5333d6ea52f6907c39b8a6c3bc by Miss Islington (bot) 
in branch '3.7':
bpo-36091: Remove reference to async generator in Lib/types.py. (GH-11996)
https://github.com/python/cpython/commit/cd0416466f8a6d5333d6ea52f6907c39b8a6c3bc


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36091] clean up async generator from types module

2019-03-03 Thread miss-islington


Change by miss-islington :


--
pull_requests: +12146

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36091] clean up async generator from types module

2019-03-03 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:


New changeset 0a6a412fb27d6874a0db5cc82a97f54d7c5fd0f2 by Serhiy Storchaka 
(Henry Chen) in branch 'master':
bpo-36091: Remove reference to async generator in Lib/types.py. (GH-11996)
https://github.com/python/cpython/commit/0a6a412fb27d6874a0db5cc82a97f54d7c5fd0f2


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36091] clean up async generator from types module

2019-02-23 Thread Henry Chen


Henry Chen  added the comment:

As it happens @cheryl.sabella has created a very useful data set of which files 
are impacted by open PRs: https://github.com/csabella/pulls

and as of 2019-02-18, the only open PR that relates to Lib/types.py is
https://github.com/python/cpython/pull/5068 on an unrelated matter

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36091] clean up async generator from types module

2019-02-22 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

I am sure this change already was discussed in other issue, but I can not find 
that issue and I am not sure that there is a PR.

--
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36091] clean up async generator from types module

2019-02-22 Thread SilentGhost


Change by SilentGhost :


--
nosy: +yselivanov

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36091] clean up async generator from types module

2019-02-22 Thread Henry Chen


Change by Henry Chen :


--
keywords: +patch
pull_requests: +12021
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36091] clean up async generator from types module

2019-02-22 Thread Henry Chen


New submission from Henry Chen :

the following script:
```
import sys, types

def tr(frame, event, arg):
print(frame, event, arg)
return tr

sys.settrace(tr)
```
gives the output:
```
 call None
 exception (, 
GeneratorExit(), )
 return None
```

This is due to Lib/types.py creating an async generator for the sole purpose of 
getting its type. I'll remove that reference after use to prevent the above 
message, which is probably benign but perhaps unnerving.

--
components: Library (Lib)
messages: 336368
nosy: scotchka
priority: normal
severity: normal
status: open
title: clean up async generator from types module
type: behavior
versions: Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com