[issue39256] Exception handler set by set_exception_handler is called only when I run coroutine by create_task

2020-01-08 Thread Conrad
New submission from Conrad : import asyncio async def test(): raise Exception("Something goes wrong") async def main(): #Un-comment either 1 of the following 3 lines # await test() # will not call exception_handler # await asyncio.gather(test()) # wil

[issue34480] _markupbase.py fails with UnboundLocalError on invalid keyword in marked section

2018-08-23 Thread Conrad
<pre> New submission from Conrad <conrad.ro...@gmail.com>: $ pip freeze | grep beautifulsoup4 beautifulsoup4==4.6.3 $ python Python 3.7.0 (default, Jul 23 2018, 20:24:19) [Clang 9.0.0 (clang-900.0.39.2)] on darwin Type "help", "copyright", "credits" o

[issue24255] Replace debuglevel-related logic with logging

2018-08-07 Thread Conrad Ho
Conrad Ho added the comment: Hi Sanyam, were you able to fix the CI errors? The fixes for the infinite loop that you are seeing in your PR CI run and the changes to test correct logging (vs testing stdout) etc are in my original patch already. I've checked that the test suite passes with my

[issue24255] Replace debuglevel-related logic with logging

2018-08-02 Thread Conrad Ho
Conrad Ho added the comment: @Eryn in the news blurb thing I'm going to say "original patch done by Eryn Wells." Your employer should be okay with that right? :D -- ___ Python tracker <https://bugs.python.o

[issue24255] Replace debuglevel-related logic with logging

2018-08-02 Thread Conrad Ho
Conrad Ho added the comment: Thanks Eryn! @Sanyam if you apply the original patch directly that will currently result in some merge failures, and there are test fixes etc that I did on the second patch. Think we should combine them. I just made the chgs suggested by David on my own forked

[issue24255] Replace debuglevel-related logic with logging

2018-08-01 Thread Conrad Ho
Conrad Ho added the comment: Hi, I have referenced the original patch and created an updated patch that uses the logging module + f-strings in place of the print statements in the http.client module. Also updated the relevant tests for print/logging in test_httplib to reflect these changes

[issue23517] datetime.utcfromtimestamp parses timestamps incorrectly

2015-08-27 Thread Alexandre Conrad
Changes by Alexandre Conrad alexandre.con...@gmail.com: -- nosy: +aconrad ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23517 ___ ___ Python-bugs

[issue8190] Add a PyPI XML-RPC client module

2010-04-20 Thread Alexandre Conrad
Changes by Alexandre Conrad alexandre.con...@gmail.com: -- nosy: +aconrad ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8190 ___ ___ Python-bugs

[issue8274] test_run failing

2010-04-20 Thread Alexandre Conrad
Alexandre Conrad alexandre.con...@gmail.com added the comment: worksforme: test_run (distutils2.tests.test_build_clib.BuildCLibTestCase) ... ok Python 2.6.2 on Ubuntu 9.04 -- nosy: +aconrad ___ Python tracker rep...@bugs.python.org http

[issue7946] Convoy effect with I/O bound threads and New GIL

2010-03-26 Thread Alexandre Conrad
Changes by Alexandre Conrad alexandre.con...@gmail.com: -- nosy: +aconrad ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7946 ___ ___ Python-bugs