[issue38825] shutil.disk_usage - Lacking documentation

2021-07-11 Thread Tyler Crompton
Tyler Crompton added the comment: Not even the kernel knows how much space is available on a nonmounted partition. It doesn't know much beyond the fact that it exists and where it exists. There exist tools that can analyze nonmounted partitions, but these will vary by filesystem

[issue26870] Unexpected call to readline's add_history in call_readline

2016-05-14 Thread Tyler Crompton
Tyler Crompton added the comment: I suppose the only thing that could be left is adding remarks in the documentations for previous versions. If I understand correctly, this would only be added to the documentations for Python 2.7 and 3.5. Is this correct? Since this is the first issue

[issue26870] Unexpected call to readline's add_history in call_readline

2016-05-06 Thread Tyler Crompton
Tyler Crompton added the comment: I couldn't think of a way to test input() with the unittest module without bypassing readline or requesting the input from the user. With that said, this informal script verifies proper behavior. -- status: open -> pending Added file: h

[issue26870] Unexpected call to readline's add_history in call_readline

2016-05-06 Thread Tyler Crompton
Changes by Tyler Crompton <ty...@tylercrompton.com>: -- status: pending -> open ___ Python tracker <rep...@bugs.python.org> <http://bugs.pyt

[issue26870] Unexpected call to readline's add_history in call_readline

2016-05-06 Thread Tyler Crompton
Changes by Tyler Crompton <ty...@tylercrompton.com>: -- keywords: +patch Added file: http://bugs.python.org/file42748/set_auto_history.patch ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue26870] Unexpected call to readline's add_history in call_readline

2016-04-27 Thread Tyler Crompton
Tyler Crompton added the comment: I agree about the documentation. It would only take a few minutes to do. In regard to your inquiry about the second solution, more or less, yes. I left that one a bit ambiguous since there are many ways to skin that cat. But in retrospect, I probably

[issue26870] Unexpected call to readline's add_history in call_readline

2016-04-27 Thread Tyler Crompton
Changes by Tyler Crompton <ty...@tylercrompton.com>: -- nosy: +twouters ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26870> ___

[issue26870] Unexpected call to readline's add_history in call_readline

2016-04-27 Thread Tyler Crompton
New submission from Tyler Crompton: I was implementing a REPL using the readline module and noticed that there are extraneous calls to readline's add_history function in call_readline[1]. This was a problem because there were some lines, that, based on their compositions, I might not want

[issue15587] IDLE is pixelated on the Macbook Pro with Retina Display

2013-02-19 Thread Tyler Crompton
Tyler Crompton added the comment: I will gladly test the changes. Where would I find these to download? -- status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15587

[issue17125] tokenizer.tokenize passes a bytes object to str.startswith

2013-02-04 Thread Tyler Crompton
New submission from Tyler Crompton: Line 402 in lib/python3.3/tokenize.py, contains the following line: if first.startswith(BOM_UTF8): BOM_UTF8 is a bytes object. str.startswith does not accept bytes objects. I was able to use tokenize.tokenize only after making the following changes

[issue15587] IDLE is pixelated on the Macbook Pro with Retina Display

2012-11-26 Thread Tyler Crompton
Tyler Crompton added the comment: I can confirm that this works. The underscore does not appear when using the default font settings (Courier, size 10). I changed it to Courier New and all is fine. One may also want to increase the font size to 12 as the font is difficult to read when

[issue15587] IDLE is pixelated on the Macbook Pro with Retina Display

2012-08-08 Thread Tyler Crompton
New submission from Tyler Crompton: I think this is more of a Tkinter issue than IDLE but since IDLE uses Tkinter, it inherits this bug. Many programs that were not developed for the Macbook Pro with Retina Display still look great. Whereas others, look pixelated in some areas (i.e

[issue15209] Re-raising exceptions from an expression

2012-07-25 Thread Tyler Crompton
Tyler Crompton gtr...@gmail.com added the comment: As for the losing valuable debug information, much worse can be done: import sys try: x except NameError: print('An error occurred.', file=sys.stderr) sys.exit(1) This is obviously not how one should handle errors

[issue15383] Autocompletion crashes Python if the __builtins__ module cannot be found.

2012-07-17 Thread Tyler Crompton
New submission from Tyler Crompton gtr...@gmail.com: Doing one of the following crashes Python. del __builtins__ a{Tab} or builtins = __builtins__ del __builtins__ a{Tab} If you do a print screen, immediately, you will see the following error: *** Internal Error

[issue15209] Re-raising exceptions from an expression

2012-06-28 Thread Tyler Crompton
Tyler Crompton gtr...@gmail.com added the comment: I'm in a little over my head as I can't conceptualize __cause__, so I may be looking over things. First, you, Ethan, said the following: It's also not difficult to work around if you really want to toss the extra info: except

[issue15209] Re-raising exceptions from an expression

2012-06-27 Thread Tyler Crompton
New submission from Tyler Crompton gtr...@gmail.com: As you know, a caught exception can be re-raised with a simple `raise` statement. Plain and simple. However, one cannot re-raise an error with this new `from expression` clause. For example: def getch(prompt=''): '''Get

[issue15209] Re-raising exceptions from an expression

2012-06-27 Thread Tyler Crompton
Tyler Crompton gtr...@gmail.com added the comment: Relevent PEP: http://www.python.org/dev/peps/pep-0409/ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15209

[issue15209] Re-raising exceptions from an expression

2012-06-27 Thread Tyler Crompton
Changes by Tyler Crompton gtr...@gmail.com: -- nosy: +ncoghlan, stoneleaf ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15209 ___ ___ Python-bugs

[issue15208] Uparrow doesn't show previously typed variable or character

2012-06-27 Thread Tyler Crompton
Tyler Crompton gtr...@gmail.com added the comment: I recreated this issue on (mostly) fresh install of Ubuntu Server 12.04. I installed libreadline-dev and then removed and re-installed Python 3.3.0b1. This resolved the issue. -- nosy: +Tyler.Crompton status: pending - open