[issue14156] argparse.FileType for '-' doesn't work for a mode of 'rb'

2022-03-06 Thread Owen T. Heisler
Change by Owen T. Heisler : -- nosy: -owenh ___ Python tracker <https://bugs.python.org/issue14156> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45458] "\W" pattern with re.ASCII flag is not equivalent to "[^a-zA-Z0-9_]"

2021-10-13 Thread Owen
New submission from Owen : "\W" regex pattern, when used with `re.ASCII`, is expected to have the same behavior as "[^a-zA-Z0-9_]" (see [1]). For example, the following `sub()` call ``` >>> re.sub('\W', '', '½ a', re.ASCII) '½a&#

[issue14156] argparse.FileType for '-' doesn't work for a mode of 'rb'

2021-08-16 Thread Owen T. Heisler
Change by Owen T. Heisler : -- nosy: +owenh ___ Python tracker <https://bugs.python.org/issue14156> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39758] StreamWriter.wait_closed() can hang indefinitely.

2021-02-24 Thread Russell Owen
Russell Owen added the comment: Regarding my previous comment: I have never seen this in Python 3.7 (though I see that this particular bug is listed as being present there) so it may be a different underlying issue. -- ___ Python tracker <ht

[issue39758] StreamWriter.wait_closed() can hang indefinitely.

2021-02-24 Thread Russell Owen
Russell Owen added the comment: I am also seeing this in Python 3.8.6. I am not using SSL, but am simply calling `await writer.wait_closed()` on an `asyncio.StreamWriter`. Sometimes it works quickly and sometimes it hangs indefinitely. -- nosy: +r3owen

[issue40017] Please support CLOCK_TAI in the time module.

2020-03-20 Thread Russell Owen
Change by Russell Owen : -- keywords: +patch pull_requests: +18455 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19096 ___ Python tracker <https://bugs.python.org/issu

[issue40017] Please support CLOCK_TAI in the time module.

2020-03-19 Thread Russell Owen
New submission from Russell Owen : It is becoming common (at least in astronomy) to want to use TAI as a time standard because it is a uniform time with no leap seconds, and differs from UTC (standard computer clock time) by an integer number of seconds that occasionally changes. Linux

[issue36770] stdlib - shutil.make_archive - add support for different ZIP compression method

2019-05-01 Thread Owen Chia
New submission from Owen Chia : if you just want to use different zip compression method, no need to rewrite entire _make_zipfile function. e.g. >>> shutil.make_archive('archive', 'zip_lzma', '/path/to/whatever') -- components: Library (Lib) fi

[issue35343] Importlib.reload has different behaviour in script and interactive mode

2018-11-28 Thread Owen Pembery
Change by Owen Pembery : -- type: -> behavior ___ Python tracker <https://bugs.python.org/issue35343> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue35343] Importlib.reload has different behaviour in script and interactive mode

2018-11-28 Thread Owen Pembery
New submission from Owen Pembery : This may be a bug, or may be a hole in my understanding of how importlib.reload works. In short, when running importlib.reload in a script, it seems that a module is not reloaded before it is used, whereas running the same script a line at a time in

[issue19809] Python get stuck in second Popen call

2013-11-27 Thread Owen Lin
New submission from Owen Lin: If we call two subprocess.Popen simultaneously, the second one is blocked until the first one is finished. The attached file is a code snippet to reproduce this bug. I can reproduce the bug in version 2.7.3 and 2.7.6 very easily (in few seconds with the code

[issue16580] Add examples to int.to_bytes and int.from_bytes

2013-05-25 Thread W. Owen Parry
W. Owen Parry added the comment: Patch adding examples + tests for equivalence. Comments appreciated. In particular, I'm not sure that the from_bytes example is simple enough to be useful: def from_bytes(bytes, byteorder, signed=False): if byteorder == 'little':

[issue17545] os.listdir and os.path.join inconsistent on empty path

2013-05-25 Thread W. Owen Parry
W. Owen Parry added the comment: Patch as described above. Comments appreciated. -- keywords: +patch Added file: http://bugs.python.org/file30367/issue17545.patch ___ Python tracker <http://bugs.python.org/issue17

[issue17545] os.listdir and os.path.join inconsistent on empty path

2013-05-21 Thread W. Owen Parry
W. Owen Parry added the comment: I suggest that this is a documentation issue. I have seen three classes of functions is os and os.path i - those which operate on path names only (os.path.join, os.path.dirname, etc) and do not depend on the state of the file system. Since these are string

[issue17545] os.listdir and os.path.join inconsistent on empty path

2013-05-16 Thread W. Owen Parry
W. Owen Parry added the comment: I started working on a patch for this, but the more I think about it the less I am convinced it is wanted. The issue requests that os.listdir('') be equal to os.listdir('.') The given example of os.path.join doesn't follow this:

[issue17370] PEP should note if it has been superseded

2013-03-06 Thread Owen Nelson
Changes by Owen Nelson : -- nosy: +Owen.Nelson ___ Python tracker <http://bugs.python.org/issue17370> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12853] global name 'r' is not defined in upload.py

2011-08-29 Thread Russell Owen
New submission from Russell Owen : When using distutils to upload code to PyPI I get the following message (but the upload is successful): {{{ Traceback (most recent call last): File "setup.py", line 60, in zip_safe = False, # icons (e.g. as used by RO.Wdg.GrayImageDispWd

[issue9884] The 4th parameter of method always None or 0 on x64 Windows.

2011-01-31 Thread Owen
Owen added the comment: Thanks, this issue has been fixed. :-) fixing revisions: r88284 (3.2), r88285 (3.1) and r88286 (2.7) -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue9884] The 4th parameter of method always None or 0 on x64 Windows.

2011-01-21 Thread Owen
Owen added the comment: wow~~~ It works on my PC too (Windows 2003 STD x64). Thanks. -- ___ Python tracker <http://bugs.python.org/issue9884> ___ ___ Python-bug

[issue9884] The 4th parameter of method always None or 0 on x64 Windows.

2011-01-21 Thread Owen
Owen added the comment: yes, I tried lots of types. The issue still happens. The same case in Ubuntu and Mac were works well. -- ___ Python tracker <http://bugs.python.org/issue9

[issue9884] The 4th parameter of method always None or 0 on x64 Windows.

2011-01-20 Thread Owen
Owen added the comment: I tested this issue in Python2.7.1, Python3.1.3 and Python 3.2rc1. It's still can reproduce. Would you please check this "Callback functions" issue? -- ___ Python tracker <http://bugs.py

[issue10964] Mac installer need not add things to /usr/local

2011-01-20 Thread Russell Owen
New submission from Russell Owen : The Mac installer alters the user's $PATH to put /Library/Frameworks/Python.Framework/Versions/Current/bin on the $PATH before /usr/local/bin and /usr/bin. This is a good idea in my opinion. But the installer *also* installs numerous symlinks in /usr/

[issue9884] The 4th parameter of method always None or 0 on x64 Windows.

2010-09-19 Thread Owen
Owen added the comment: Note: This issue also occurs on other 64 bit windows OS(i.e. windows xp 64bit) Load "testPy2.dll" needs vc++ runtime library (http://download.microsoft.com/download/2/d/6/2d61c766-107b-409d-8fba-c39e61ca08e8/vcredist_x64.exe) Update "testPy2.dl

[issue9884] The 4th parameter of method always None or 0 on x64 Windows.

2010-09-18 Thread Owen
Owen added the comment: Please reproduce this issue by 64bit Python. -- ___ Python tracker <http://bugs.python.org/issue9884> ___ ___ Python-bugs-list mailin

[issue9884] The 4th parameter of method always None or 0 on x64 Windows.

2010-09-17 Thread Owen
Changes by Owen : -- type: -> behavior ___ Python tracker <http://bugs.python.org/issue9884> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue9884] The 4th parameter of method always None or 0 on x64 Windows.

2010-09-17 Thread Owen
New submission from Owen : OS: Windows 2003STD x64 en I have try to call python method from c++ dll by "WINFUNCTYPE". But the 4th parameter is always None or 0 if the type is int or void* (float is works fine). Following is the part of source co

[issue2624] swig support in distutils should use the build and temp dirs

2009-12-16 Thread Russell Owen
Changes by Russell Owen : -- nosy: +reowen ___ Python tracker <http://bugs.python.org/issue2624> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4017] Tkinter cannot find Tcl/Tk on Mac OS X

2008-10-20 Thread Russell Owen
Changes by Russell Owen <[EMAIL PROTECTED]>: -- nosy: +reowen ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4017> ___ ___ Python

[issue2933] "Documenting Python: Syntax" bug

2008-05-20 Thread Wallace Owen
Wallace Owen <[EMAIL PROTECTED]> added the comment: Thanks for the fast attention. One question: How do I access and use these docs? I went looking for the instructions on documenting, so when I contribute, the docs I do are in the right format. The url I was reading didn't have

[issue2933] "Documenting Python: Syntax" bug

2008-05-20 Thread Wallace Owen
New submission from Wallace Owen <[EMAIL PROTECTED]>: The 'documenting Python' document, section 4.1, at this url: http://docs.python.org/doc/latex-syntax.html has an incorrect (but correctly spelled) word in one of it's sentences: Macros which take no parameters bu

[issue2932] Documenting Python: Syntax"

2008-05-20 Thread Wallace Owen
New submission from Wallace Owen <[EMAIL PROTECTED]>: http://docs.python.org/doc/latex-syntax.html -- messages: 67142 nosy: owen severity: normal status: open title: Documenting Python: Syntax" __ Tracker <[EMAIL PROTECTED]> <ht

[issue799428] tk_focusNext() fails

2008-02-21 Thread Russell Owen
Russell Owen added the comment: The bug still exists. Please assign this bug and patch to Martin Loewis if possible (I don't have privileges for that). -- nosy: +reowen type: -> behavior versions: +Python 2.5 -Python 2.3 Added file: http://bugs.python.org/file9483/Tkinter_p