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 filesyste
Tyler Reed added the comment:
It was an environment issue. There were pre-existing files (pyd and pyc) in the
application folder (from builds done with Kivy) and apparently python was
loading those instead of the libraries in the python39 folder.
--
resolution: -> not a bug
st
New submission from Tyler Reed :
Running on a new, updated Windows 10 machine with no virtual environment. After
removing all previous Python installations, rebooting and performing a fresh
install if Python 3.9.1. I run the python console and type:
import sqlite3
I receive the following
Tyler Yep added the comment:
Got it, thanks!
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
New submission from Tyler Yep :
The following code crashes when I try to run it, even though it passes when I
use `from typing import Callable` instead.
```
from collections.abc import Callable
from typing import Any, TypeVar
V = TypeVar("V")
Function = Callable[[list[V], V, V], fl
Change by Tyler Kieft :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Tyler Kieft :
--
keywords: +patch
pull_requests: +16085
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/16497
___
Python tracker
<https://bugs.python.org/issu
New submission from Tyler Kieft :
Working on a patch for this, will have it up in a couple days
--
___
Python tracker
<https://bugs.python.org/issue38
Change by Tyler Kieft :
--
components: Extension Modules
nosy: Tyler Kieft
priority: normal
severity: normal
status: open
title: Make audioop PEP-384 compatible
versions: Python 3.9
___
Python tracker
<https://bugs.python.org/issue38
Tyler Wince added the comment:
Another example of the breaking change here is in the security linter
`PyCQA/bandit`. It may be a simple addition of a check in the meta parser for
the ast but I would tend to agree with Anthony around whether or not it is
worth it.
Anyone else have any
Tyler Bell added the comment:
I've updated my PR to reflect a better message for the IncompleteReadError
exception. When expected is None, the error reads, "IncompleteReadError: 1
bytes read on a total of None expected bytes" which is confusing. My PR changes
this to "In
New submission from Tyler Reddy :
Downstream in NumPy we've noticed that a "sequence" object defined as below
will hang (infinite __getitem__ calls) if we try to turn it into an array. The
same holds in CPython for converting it to a list:
class OneList:
d
New submission from Tyler Bell :
This may have already been cleared as I opened the PR months ago
But the gist is that the Exception is misleading and the test is incorrect.
--
components: Library (Lib)
messages: 322329
nosy: mrbell...@gmail.com
priority: normal
pull_requests: 7975
Changes by Tyler Goodlet :
--
pull_requests: +288
___
Python tracker
<http://bugs.python.org/issue29659>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from tyler:
It would be handy to be able to pass the `length` default argument defined by
`shutil.copyfileobj()` to other public functions througout the module. When
copying very large files (1GB +), increasing the memory buffer can divide the
copy time in half and currently
New submission from Tyler Sweeden:
This issue presents itself in 3.4.4.. Reverted back to 3.4.1 and the issue was
gone.
--
components: Tkinter
messages: 278004
nosy: Tyler Sweeden
priority: normal
severity: normal
status: open
title: winfo_pathname(..) | window id "xyz" doe
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 in
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 fi
Changes by Tyler Crompton :
--
status: pending -> open
___
Python tracker
<http://bugs.python.org/issue26870>
___
___
Python-bugs-list mailing list
Unsubscrib
Changes by Tyler Crompton :
--
keywords: +patch
Added file: http://bugs.python.org/file42748/set_auto_history.patch
___
Python tracker
<http://bugs.python.org/issue26
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
Changes by Tyler Crompton :
--
nosy: +twouters
___
Python tracker
<http://bugs.python.org/issue26870>
___
___
Python-bugs-list mailing list
Unsubscribe:
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 wa
New submission from Tyler Wade:
On Mac OSX, struct.unpack incorrectly handles bools.
Python 3.4.1 (default, May 19 2014, 13:10:29)
[GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin
Type "help", "copyright", "credits" or "license"
Tyler B added the comment:
Here's a revised suggestion that has the order changed. I have additional
concerns but please provide comment on this revision. Thanks
# 2.7
"Raises an exception. argc indicates the number of parameters to the raise
statement, ranging from 0 to 3. The para
Tyler B added the comment:
One last edit:
Looked at the code and found differences between 3.4 and 2.7. 2.7 has 4
exceptions that can be raised while 3.4 has 3 exceptions.
I propose including the full list of parameters but describing the exceptions
in a way that's less specific abou
Tyler B added the comment:
I wanted to make an edit so here's my revised comment:
Looked at the code and found differences between 3.4 and 2.7. 2.7 has 4
exceptions that can be raised while 3.4 has 3 exceptions.
I propose removing the "list of parameters" from the docum
Tyler B added the comment:
Looked at the code and found differences between 3.4 and 2.7. 2.7 has 3
exceptions that can be raised while 3.4 has 4 exceptions.
I propose removing the "list of parameters" from the documenation to keep
things simple and not repeat the code.
# 2.7
Changes by Tyler Doyle :
Added file: http://bugs.python.org/file29591/17526_getsource.patch
___
Python tracker
<http://bugs.python.org/issue17526>
___
___
Python-bug
Changes by Tyler Doyle :
Removed file: http://bugs.python.org/file29576/inspect.patch
___
Python tracker
<http://bugs.python.org/issue17526>
___
___
Python-bugs-list m
Changes by Tyler Doyle :
Removed file: http://bugs.python.org/file29577/test_inspect.patch
___
Python tracker
<http://bugs.python.org/issue17526>
___
___
Python-bug
Tyler Doyle added the comment:
Patch and test to accompany.
--
Added file: http://bugs.python.org/file29577/test_inspect.patch
___
Python tracker
<http://bugs.python.org/issue17
Changes by Tyler Doyle :
--
keywords: +patch
Added file: http://bugs.python.org/file29576/inspect.patch
___
Python tracker
<http://bugs.python.org/issue17
Tyler Doyle added the comment:
It looks like file is getting set to '' and then indexed on line 553 below,
hitting the IndexError before we ever get to IOError.
--550---
file = getfile(object) <-- file = ''
sourcefile = getsourcefile(object
Tyler Crompton added the comment:
I will gladly test the changes. Where would I find these to download?
--
status: pending -> open
___
Python tracker
<http://bugs.python.org/issu
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
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 the
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
Tyler Crompton 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 in develo
New submission from Tyler Crompton :
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
Tyler Crompton 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:
>
&
Tyler Crompton 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 -> o
Changes by Tyler Crompton :
--
nosy: +ncoghlan, stoneleaf
___
Python tracker
<http://bugs.python.org/issue15209>
___
___
Python-bugs-list mailing list
Unsubscribe:
Tyler Crompton added the comment:
Relevent PEP: http://www.python.org/dev/peps/pep-0409/
--
___
Python tracker
<http://bugs.python.org/issue15209>
___
___
Pytho
New submission from Tyler Crompton :
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=''):
Tyler Starke added the comment:
Nevermind. I had to download the source to see that it encodes to 'utf-8', or a
passed encoding method, in the methods that are causing problems in 2.6.5.
--
___
Python tracker
<http://bugs.python.o
Tyler Starke added the comment:
well that was closed fast. I noticed in the docs that Python 3 demands a str
type also.
--
___
Python tracker
<http://bugs.python.org/issue13
New submission from Tyler Starke :
It seems bad practice for urllib methods to demand a str instance and they
should demand a unicode instance. By demanding a str instance the default
behavior is too demanding, for the web space it is being used, for the English
language. We would want Python
Changes by Tyler Romeo :
Removed file:
http://bugs.python.org/file22573/textwrap.py-new-algorithm-2011-07-04_22-45-53_r71219+.diff
___
Python tracker
<http://bugs.python.org/issue12
Tyler Romeo added the comment:
OK, sorry to get back so late, but here's the updated patch without xrange. I
saw the version change but forgot that I used xrange in the function (old
habits I guess).
--
Added file:
http://bugs.python.org/file22626/textwrap.py-beautiful-2011-07-
Tyler Romeo added the comment:
Normally I would have just added it as a function to be overloaded, but because
of the nature of the textwrap.wrap function (all kwargs are passed to the
TextWrapper constructor) I thought it made a lot more sense to keep it as an
argument to __init__
Changes by Tyler Romeo :
Removed file: http://bugs.python.org/file22561/textwrap.py-improvement.diff
___
Python tracker
<http://bugs.python.org/issue12485>
___
___
Pytho
New submission from Tyler Romeo :
Originally from http://bugs.python.org/issue12485 but separated.
The textwrap modules uses len to determine the length of text, but in many (if
not most) fonts, the width of a character differs depending on the letter, so
it would be useful to have an option
Tyler Romeo added the comment:
OK, so here is the patch for just the new algorithm.
--
Added file:
http://bugs.python.org/file22573/textwrap.py-new-algorithm-2011-07-04_22-45-53_r71219+.diff
___
Python tracker
<http://bugs.python.org/issue12
Tyler Romeo added the comment:
Nah, they're both unrelated. I'll separate the changes and remake the patches.
(I'll keep this entry for the beautification part.)
--
___
Python tracker
<http://bugs.pyt
New submission from Tyler Romeo :
Python's textwrap module can be helpful at times, but personally I think there
are a couple of things that could be added.
First, when it comes to text wrapping, usually you're not dealing with a
monospace font where each letter is the same size.
New submission from R. Tyler Ballance :
Receiving a traceback when shutting down an interpreter with threads
spawned inside of it:
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 497, in __bootstrap
self.__bootstrap_inner()
File "/us
Tyler Laing <[EMAIL PROTECTED]> added the comment:
Same problem, even with new-style classes. Here, I'll show the function
I use to generate the graph as well.
class Vertex(object):
def __init__(self, type):
self.type = type
se
Tyler Laing <[EMAIL PROTECTED]> added the comment:
Whoops, sorry, correction, when there are 100 vertexes and 500 edges.
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
New submission from Tyler Laing <[EMAIL PROTECTED]>:
With the following code:
class Vertex:
def __init__(self, type):
self.type = type
self.color=-1
self.edges=[]
class Edge:
def __init__(self,
60 matches
Mail list logo