[issue36636] Inner exception is not being raised using asyncio.gather

2019-04-15 Thread twisteroid ambassador
twisteroid ambassador added the comment: The difference is because you grabbed and print()ed the exception themselves in Script 2, while in Script 1 you let Python's built-in unhandled exception handler (sys.excepthook) print the traceback for you. If you want a traceback, then you need to p

[issue36639] Provide list.rindex()

2019-04-15 Thread 林自均
New submission from 林自均 : There are str.index() and str.rindex(), but there is only list.index() and no list.rindex(). It will be very handy if we provide it. -- components: Library (Lib) messages: 340312 nosy: johnlinp priority: normal severity: normal status: open title: Provide list.

[issue36639] Provide list.rindex()

2019-04-15 Thread 林自均
Change by 林自均 : -- keywords: +patch pull_requests: +12776 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36634] venv: activate.bat fails for venv with parentheses in PATH

2019-04-15 Thread Bastian Wenzel
Bastian Wenzel added the comment: I have attached the activate.bat script that got generated by venv. My current path looks like this (added line breaks for readability): C:\Program Files\Git\bin; C:\Tools\antlr; C:\Program Files (x86)\Common Files\Oracle\Java\javapath; C:\ProgramData\Oracle\

<    1   2