[issue36760] subprocess.run fails with capture_output=True and stderr=STDOUT

2019-04-30 Thread Joe Borg
New submission from Joe Borg : Reading from https://docs.python.org/3/library/subprocess.html#subprocess.CompletedProcess """ If you ran the process with stderr=subprocess.STDOUT, stdout and stderr will be combined in this attribute, and stderr will be None. """

[issue21887] Python3 can't detect Tcl/Tk 8.6.1

2014-06-30 Thread Joe Borg
Changes by Joe Borg : -- title: Python3 can't detect Tcl -> Python3 can't detect Tcl/Tk 8.6.1 ___ Python tracker <http://bugs.python.org/issue21887> ___

[issue21887] Python3 can't detect Tcl

2014-06-30 Thread Joe Borg
New submission from Joe Borg: Trying to configure 3.4.1 on Cent OS 6.4. I have built Tcl and Tk, using the prefix /scratch/root. I can confirm the builds with: $ find /scratch/root/ -name "tcl.h" /scratch/root/include/tcl.h $ find /scratch/root/ -name "tk.h" /scratch/ro

[issue21481] Argpase Namespace object methods __eq__ and __ne__ raise TypeError when comparing to None

2014-05-12 Thread Joe Borg
Joe Borg added the comment: I believe this comes from doing vars(None). But why would this be happening if Namespace is empty. -- ___ Python tracker <http://bugs.python.org/issue21

[issue21481] Argpase Namespace object methods __eq__ and __ne__ raise TypeError when comparing to None

2014-05-12 Thread Joe Borg
New submission from Joe Borg: See example: >>> import argparse >>> a = argparse.ArgumentParser() >>> b = a.parse_args([]) >>> if b != None: ... print "hey" File "", line 2 print "hey" ^ SyntaxError: i

[issue18868] Python3 unbuffered stdin

2013-08-28 Thread Joe Borg
New submission from Joe Borg: I'm in need of an unbuffered stdin for Python3. Using the '-u' flag worked fine in Python2. But, it seems, Python3's stdin is always buffered; as seen in http://bugs.python.org/issue4705. This is not always desirable. For example: #!/b

[issue18868] Python3 unbuffered stdin

2013-08-28 Thread Joe Borg
Changes by Joe Borg : -- type: -> behavior ___ Python tracker <http://bugs.python.org/issue18868> ___ ___ Python-bugs-list mailing list Unsubscri

[issue4705] python3.0 -u: unbuffered stdout

2013-08-26 Thread Joe Borg
Joe Borg added the comment: Can I confirm this is still in the trunk? I have 3.3.2 and am suffering from the fact that `-u` isn't setting stdin to unbuffered. I'm have to run a flush every command, which is awful. -- nosy: +Joe.Borg, georg.brandl versions: +Python 3.2,

[issue17321] Better way to pass objects between imp.find_module() and imp.load_module()

2013-02-28 Thread Joe Borg
Joe Borg added the comment: Hi Brett, I missed the fact that it's deprecated as it's not mentioned in the 2.* docs http://docs.python.org/2/library/imp.html. I can see it is in the 3.*. Thanks for the feedback. -- ___ Python trac

[issue17321] Better way to pass objects between imp.find_module() and imp.load_module()

2013-02-28 Thread Joe Borg
Joe Borg added the comment: Thanks for the swift feedback guys, if this is deprecated (i.e. not being carried to Python 3) then close the bug; I'll look at `importlib` and see if it carries the same problem. -- type: behavior -> ___ Python

[issue17321] Better way to pass objects between imp.find_module() and imp.load_module()

2013-02-28 Thread Joe Borg
New submission from Joe Borg: If I want to use imp to find some load modules, I have to do it in quite an "unpythonic" way: >>> name = "os" >>> file, pathname, description = imp.find_module(name) >>> imp.load_module(name, file, pathname, descript

[issue16767] Cannot install Python 2.7 in Wine 1.4.1

2012-12-24 Thread Joe Borg
New submission from Joe Borg: Trying to install Python 2.7 (in particular) under Wine 1.4.1, but keep getting the "Installer has ended prematurely" error. I've also tried with 2.6 and 3.2 and different versions of wine; same error. Also tried with winetricks; again, same er