[issue34431] Docs does not eval allows code object as argument

2020-05-17 Thread Furkan Onder
Furkan Onder added the comment: Hi Jonathan, Are you still planning to work on the patch? -- ___ Python tracker ___ ___

[issue34431] Docs does not eval allows code object as argument

2020-05-08 Thread Furkan Onder
Change by Furkan Onder : -- keywords: +patch nosy: +furkanonder nosy_count: 4.0 -> 5.0 pull_requests: +19313 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/2 ___ Python tracker

[issue34431] Docs does not eval allows code object as argument

2019-01-07 Thread Jonathan Fine
Jonathan Fine added the comment: This graceful reminder is most welcome. At present, it's not help I'm short of, but time. I've given myself a reminder, to spend time on this before the end of this month (January 2019). Once again, thank you for this reminder. This is something I want to

[issue34431] Docs does not eval allows code object as argument

2019-01-05 Thread Cheryl Sabella
Cheryl Sabella added the comment: Hi Jonathan, Did you have any additional questions about opening a pull request for these changes? Thanks! -- nosy: +cheryl.sabella ___ Python tracker

[issue34431] Docs does not eval allows code object as argument

2018-08-18 Thread Jonathan Fine
Jonathan Fine added the comment: OK. I'll do as you say. I've just signed the CLA. -- ___ Python tracker ___ ___ Python-bugs-list

[issue34431] Docs does not eval allows code object as argument

2018-08-18 Thread Berker Peksag
Berker Peksag added the comment: Ok, I think it would be a good idea to mention that the function accepts a code object in the first sentence. I'd be happy to review such PR. The eval() documentation is located at https://github.com/python/cpython/blob/master/Doc/library/functions.rst See

[issue34431] Docs does not eval allows code object as argument

2018-08-18 Thread Jonathan Fine
Jonathan Fine added the comment: Summary: There's my problem, and others. I'm willing to provide a patch, if supported. There's a gotcha here. I fell into it. The docs for eval state === eval(expression, globals=None, locals=None) The arguments are a string and optional globals and locals.

[issue34431] Docs does not eval allows code object as argument

2018-08-18 Thread Berker Peksag
Berker Peksag added the comment: Thank you for your report. Quoting from https://docs.python.org/3.6/library/functions.html#eval This function can also be used to execute arbitrary code objects (such as those created by compile()). In this case pass a code object instead of a

[issue34431] Docs does not eval allows code object as argument

2018-08-18 Thread Jonathan Fine
New submission from Jonathan Fine : See https://docs.python.org/3.6/library/functions.html#eval This says the following won't happen. But it does. Python 3.6.2 (default, Jul 29 2017, 00:00:00) [GCC 4.8.4] on linux Type "help", "copyright", "credits" or "license" for more information. >>> def