[issue46831] Outdated comment for __build_class__ in compile.c

2022-03-02 Thread miss-islington


miss-islington  added the comment:


New changeset fa8c5ed9c80507670c756aa83ea872b8a92bcd1c by Miss Islington (bot) 
in branch '3.10':
bpo-46831: Update __build_class__ comment (GH-31522)
https://github.com/python/cpython/commit/fa8c5ed9c80507670c756aa83ea872b8a92bcd1c


--

___
Python tracker 

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



[issue46831] Outdated comment for __build_class__ in compile.c

2022-03-02 Thread miss-islington


miss-islington  added the comment:


New changeset 1d428bb8c93120d449212e2a815988f28e33b868 by Miss Islington (bot) 
in branch '3.9':
bpo-46831: Update __build_class__ comment (GH-31522)
https://github.com/python/cpython/commit/1d428bb8c93120d449212e2a815988f28e33b868


--

___
Python tracker 

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



[issue46831] Outdated comment for __build_class__ in compile.c

2022-03-02 Thread Jelle Zijlstra


Change by Jelle Zijlstra :


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



[issue46831] Outdated comment for __build_class__ in compile.c

2022-03-02 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 3.0 -> 4.0
pull_requests: +29771
pull_request: https://github.com/python/cpython/pull/31652

___
Python tracker 

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



[issue46831] Outdated comment for __build_class__ in compile.c

2022-03-02 Thread miss-islington


Change by miss-islington :


--
pull_requests: +29772
pull_request: https://github.com/python/cpython/pull/31653

___
Python tracker 

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



[issue46831] Outdated comment for __build_class__ in compile.c

2022-03-02 Thread Jelle Zijlstra


Jelle Zijlstra  added the comment:


New changeset 81d968b7c30d5b41f3f28b297b7ee5345d569509 by Shantanu in branch 
'main':
bpo-46831: Update __build_class__ comment (#31522)
https://github.com/python/cpython/commit/81d968b7c30d5b41f3f28b297b7ee5345d569509


--
nosy: +Jelle Zijlstra

___
Python tracker 

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



[issue46831] Outdated comment for __build_class__ in compile.c

2022-02-22 Thread Shantanu


Change by Shantanu :


--
keywords: +patch
pull_requests: +29649
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/31522

___
Python tracker 

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



[issue46831] Outdated comment for __build_class__ in compile.c

2022-02-22 Thread Shantanu


New submission from Shantanu :

https://github.com/python/cpython/blob/cf345e945f48f54785799390c2e92c5310847bd4/Python/compile.c#L2537
```
/* ultimately generate code for:
  = __build_class__(, , *, **)
   where:
  is a function/closure created from the class body;
it has a single argument (__locals__) where the dict
(or MutableSequence) representing the locals is passed
```

`func` currently takes zero arguments. This was changed in 
https://github.com/python/cpython/commit/e8e14591ebb729b4fa19626ce245fa0811cf6f32
 in Python 3.4

--
assignee: docs@python
components: Documentation
messages: 413768
nosy: docs@python, hauntsaninja
priority: normal
severity: normal
status: open
title: Outdated comment for __build_class__ in compile.c

___
Python tracker 

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