Colin 't Hart added the comment:
1. This module is scheduled to be removed by Python 3.13 (although I
preseonally am of the opinion that it is a useful module and would like to see
it brought up-to-date).
2. Is reset() even necessary anymore? Can't the same results be achieved
Change by Colin Watson :
--
keywords: +patch
pull_requests: +29507
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/31357
___
Python tracker
<https://bugs.python.org/issu
New submission from Colin Watson :
In https://bugs.debian.org/1005803, Matthew Vernon reports that the library
documentation for sys.excepthook doesn't mention the detail that that
sys.excepthook isn't called for uncaught SystemExit exceptions, although
help(sys) does mention this.
Change by Alexei Colin :
--
versions: +Python 3.8
___
Python tracker
<https://bugs.python.org/issue43743>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alexei Colin :
--
versions: +Python 3.10 -Python 3.8
___
Python tracker
<https://bugs.python.org/issue43743>
___
___
Python-bugs-list mailing list
Unsub
Alexei Colin added the comment:
Can confirm that this BlockingIOError happens on GPFS (alpine) on Summit
supercomputer, tested with Python 3.8 and 3.10a7.
I found that it happens only for file sizes above 65536. Minimal example:
This filesize works:
$ rm -f srcfile dstfile &&
Colin Caprani added the comment:
In case it helps, I have the same problem. Running python 3.8.8 on Windows 10,
and any MWE doesn't work, e.g.:
from tkinter import filedialog
from tkinter import *
root = Tk()
root.filename = filedialog.askopenfilename(initialdir = "/",title
Change by Colin Watson :
--
keywords: +patch
pull_requests: +22682
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/23822
___
Python tracker
<https://bugs.python.org/issu
New submission from Colin Watson :
In Python 2, it was possible to use `except` with a nested tuple, and
occasionally natural. For example, `zope.formlib.interfaces.InputErrors` is a
tuple of several exception classes, and one might reasonably think to do
something like this (this is real
Change by Colin :
Added file: https://bugs.python.org/file49549/test.py
___
Python tracker
<https://bugs.python.org/issue42188>
___
___
Python-bugs-list mailin
Change by Colin :
Removed file: https://bugs.python.org/file49547/test.py
___
Python tracker
<https://bugs.python.org/issue42188>
___
___
Python-bugs-list mailin
New submission from Colin :
The docstring on Forkserver.ensure_running states that a child process will use
the forkserver process started by its parent:
"""
Make sure that a fork server is running.
This can be called from any process. Note that usually a child
process will
New submission from Colin :
As expected, Python 3.9.0 cannot be installed on Windows 7.
Running the installer displays a message clearly stating this.
However, running the installer in passive mode (/passive) is expected to
display errors that might occur. As stated in
https
Colin Watson added the comment:
Here's a reasonably minimal reproduction recipe reduced from real code in the
Launchpad test suite that doesn't require compiling a separate C extension. It
fails on Ubuntu 18.04 with the gir1.2-gtk-3.0, python3-gi, and xvfb packages
installed.
Colin Watson added the comment:
FWIW I just ran into what I believe to be this bug with the Launchpad test
suite on Python 3.6.9. The output shows some normal test output followed by:
No entry for terminal type "unknown";
using dumb terminal settings.
bind: Invalid command `enabl
Colin added the comment:
I personally find it easier to understand if inheritance is the default
behaviour, instead of having to explicitly disable a feature that's seems
primarily designed for non-herited dataclasses.
But whatever suits best the community :-)
Thanks for the quick
New submission from Colin :
Hi,
When using inheritance with dataclass, "standard" instance methods that are
provided with a default behavior thanks to dataclass are not overridable using
inheritance.
Please see the sample below (or the attached file):
import d
Colin Dick added the comment:
No, the first example is expected,
BUT the middle two work
HENCE the last should NOT have a problem either...
No?
Because the middle two work,
so should the last complete without any errors.
There were no code changes,
Therefore the problem is with python
On Wed
New submission from Colin Dick :
-m switch revisited - see issue 27487
Win 10 64bit
python 3.6.3 & 3.7.3
initially running code using py 3.6.3 with this command
python -m vixsd.py
produced
C:\Python36\python.exe: Error while finding module specification for 'vixsd.py'
(Attribut
New submission from Colin McPhail :
The library documentation for nntplib.NNTP.starttls() says that it takes a
keyword parameter called ssl_context. The source code referenced via the link
at the top of the nntplib documentation shows the keyword is actually called
context. The result is a
Colin McCabe added the comment:
When installing Python 3.6.3 from source on openSUSE Leap 42.2, this bug still
occurs. Python cannot find the readline module, until you symlink
$prefix/lib/python3.6/lib-dynload to $prefix/lib64/python3.6/lib-dynload.
--
nosy: +cmccabe
versions
Colin Dunklau added the comment:
Hi Yury, perhaps I've misinterpreted PEP 492, and I can't claim to understand
how the parser works and thus how the changes in
https://github.com/python/cpython/pull/1669 affect things, but it seems to me
that async and await are truly reserved word
New submission from Colin Dunklau :
I see that code making async/await real keywords has been merged, but it looks
like Doc/reference/lexical_analysis.rst doesn't have those added
https://github.com/python/cpython/blob/4a2d00c/Doc/reference/lexical_analysis.rst#keywords
Is
Colin David Chen added the comment:
Ah, you're correct. The behavior is consistent if you use strings in both
invocations. The Path conversion strips the final '\\'. Doc examples do use the
names of directories rather than a Path object.
I will close the issue. Thanks for the
Changes by Colin David Chen :
--
title: os.walk generator vs -> os.walk generator giving inconsistent results
___
Python tracker
<http://bugs.python.org/issu
New submission from Colin David Chen:
os.walk in 3.6rc1 (Windows) appears to generate different output depending on
its invocation.
In the first invocation, I use the generator to yield one result at a time:
source = "C:\\cdchen_data\\downloads\\python-xlib-0.18\\"
texasranger = os
New submission from Colin Morris:
Small example:
import argparse
parser =
argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter)
parser.add_argument('--no-foo', dest='foo', action='store_false',
help="Suppress foo")
New submission from Colin Davidson:
On windows 7, if a Python app is run (under python 2.7.6) and the invoking
filename is capitalized differently from the source file itself, a subsequent
attempt to use the multiprocessing module to "fork" a process will fail in the
"forkin
Colin Williams added the comment:
I've updated the patch to consolidate some duplicated code. Unfortunately, I
wasn't able to move anything to setUpClass without messing even more with the
internals. I haven't had a chance to refine the code further based on
xdegaye'
New submission from Colin Williams:
This one is pretty involved. The tests might reach into the guts of the
modules a bit too much, I'd be open to less invasive suggestions.
--
files: bdb.patch
keywords: patch
messages: 201481
nosy: Colin.Williams
priority: normal
severity: n
New submission from Colin Williams:
Full coverage on this module
--
files: nturl2path.patch
keywords: patch
messages: 201197
nosy: Colin.Williams
priority: normal
severity: normal
status: open
title: nturl2path test coverage
Added file: http://bugs.python.org/file32345/nturl2path.patch
Colin Williams added the comment:
Alright, I'll wait until that one gets committed, and then add in my changes.
I think between the two of us we'll get close to 100%
--
___
Python tracker
<http://bugs.python.o
New submission from Colin Williams:
I didn't test the stdout and stderr stuff, but I got the module up to 74%
coverage.
--
files: tabnanny.patch
keywords: patch
messages: 201194
nosy: Colin.Williams
priority: normal
severity: normal
status: open
title: tabnanny unit tests
Added
New submission from Colin Williams:
Ported the tests built into the library requiring manual verification over to
the testing framework. Those tests only provided 77% coverage, so I improved
that up to 99%. Can't get the last line because it's only reachable on older
New submission from Colin Williams:
This just increases test coverage for the datetime module by one line.
--
components: Library (Lib)
files: datetimepickling.patch
keywords: patch
messages: 13
nosy: Colin.Williams
priority: normal
severity: normal
status: open
title: Increased
New submission from Colin Watson:
Python 3.3 added the dir_fd and follow_symlinks keyword arguments to os.chown;
it also added the shutil.chown function. Unfortunately the latter, while
useful, does not support these new keyword arguments. It would be helpful if
it did
Changes by Colin Su :
--
assignee: -> docs@python
components: +Documentation -Library (Lib), email
nosy: +docs@python
___
Python tracker
<http://bugs.python.org/issue1
Colin Su added the comment:
Confirmed with David, we work on this together on sprints.
This is not a bug, if you do "set_payload" directly by yourself, you need to
encode the payload by yourself because set_payload() doesn't encode payload if
'Content-Transfer
Changes by Colin Su :
--
versions: +Python 2.7, Python 3.2, Python 3.3, Python 3.4 -Python 2.4
___
Python tracker
<http://bugs.python.org/issue1525919>
___
___
Colin Su added the comment:
TESTFN will be in format "@test_{pid}_tmp" instead of "@test" right now.
So it's not easy to have exactly the same name "@test_{pid}_tmp" in case if you
put "@test_{X}_tmp" (for X in range(1,10)) so many files int
Colin Su added the comment:
started working on it :)
--
___
Python tracker
<http://bugs.python.org/issue15716>
___
___
Python-bugs-list mailing list
Unsubscribe:
Colin Su added the comment:
s/properly/proper (typo)
--
___
Python tracker
<http://bugs.python.org/issue15716>
___
___
Python-bugs-list mailing list
Unsubscribe:
Colin Su added the comment:
Could anyone provide some properly command line usage for this issue?
ex. python -P "path_1:path_2:path_3"
I think this point need to be discussed :D
--
___
Python tracker
<http://bugs.python.o
Changes by Colin Su :
--
nosy: +littleq0903
___
Python tracker
<http://bugs.python.org/issue15716>
___
___
Python-bugs-list mailing list
Unsubscribe:
Colin Su added the comment:
On which platform?
--
nosy: +littleq0903
___
Python tracker
<http://bugs.python.org/issue15786>
___
___
Python-bugs-list mailin
Colin Marc added the comment:
Ah ok, just curious. Thanks!
--
___
Python tracker
<http://bugs.python.org/issue14204>
___
___
Python-bugs-list mailing list
Unsub
Colin Marc added the comment:
Just noticed this is missing from "What's new in Python 3.3":
http://docs.python.org/dev/whatsnew/3.3.html.
Should I submit a patch for that?
--
___
Python tracker
<http://bugs.pyt
Changes by Colin Marc :
--
nosy: +colinmarc
___
Python tracker
<http://bugs.python.org/issue13344>
___
___
Python-bugs-list mailing list
Unsubscribe:
Colin Marc added the comment:
More updates to the patch.
--
Added file: http://bugs.python.org/file24797/npn_patch_py3.diff
___
Python tracker
<http://bugs.python.org/issue14
Colin Marc added the comment:
Updated patch.
--
Added file: http://bugs.python.org/file24786/npn_patch_py3.diff
___
Python tracker
<http://bugs.python.org/issue14
Colin Marc added the comment:
Here's the OpenSSL code I referenced for my implementation. It's an excerpt of
ssl/lib_ssl.c, starting at line 1514.
--
Added file: http://bugs.python.org/file24778/npn_openssl_ref.c
___
Python trac
Colin Marc added the comment:
Oops, I had my vim configured wrong and left a few tab characters in there.
Here's another updated patch =)
--
Added file: http://bugs.python.org/file24777/npn_patch_py3.diff
___
Python tracker
<http://bugs.py
Colin Marc added the comment:
Here's an updated patch against 3.3.
--
Added file: http://bugs.python.org/file24775/npn_patch_py3.diff
___
Python tracker
<http://bugs.python.org/is
Colin Marc added the comment:
Re the IETF draft: I'm not sure. However, I didn't actually have to implement
the specification at all - that was all handled by OpenSSL. My patch just calls
the appropriate SSL_CTX_* methods.
Thanks for the tip. I'm still interested in this g
Colin Marc added the comment:
If I ported it to 3.3 or 3.4, would it then be backported to 2.7? Or is there
zero chance of that either? If so, why? I apologize, I'm new to the process.
--
___
Python tracker
<http://bugs.python.org/is
New submission from Colin Marc :
Recent versions of OpenSSL (1.0.1 and greater) support a new extension to
SSL/TLS called Next Protocol Negotiation, defined here:
http://tools.ietf.org/html/draft-agl-tls-nextprotoneg-02.
The extension allows servers and clients to advertise which protocols
New submission from Colin Watson :
The file-like object returned by TarFile.extractfile can't be wrapped in an
io.TextIOWrapper (which would be rather convenient in some cases to get
something that reads str rather than bytes).
The attached patch demonstrates the problem by way of a test
Colin Watson added the comment:
Yes, the same symptoms are still present.
I'd argue that it generally isn't an error in practice for applications, and
thus the net effect of this exception is negative; it's extraordinarily rare
for a crash to be preferable to running witho
Colin Hawkett added the comment:
Apologies for raising it in the tracker against your advice. My thinking was
that you were suggesting discussions about 3.x content shouldn't be in the
tracker, and I wanted to argue that it is a bug and should be fixed i
Colin Hawkett added the comment:
#8819 was closed as duplicate. That issue linked a description of the problem
on stack overflow
http://stackoverflow.com/questions/2904274/globals-and-locals-in-python-exec. I
would like to argue that this is a bug, and should be fixed in 2.6+. The
Colin Hawkett added the comment:
Agreed, this is the same issue. I'll make my argument that this is a bug
(intentional or otherwise) on that issue.
--
___
Python tracker
<http://bugs.python.org/i
New submission from Colin Hawkett :
A discussion on stack overflow -
http://stackoverflow.com/questions/2904274/globals-and-locals-in-python-exec -
has led to the conclusion that the variable lookup behaviour within code run
using exec() is not behaving as expected. Variable lookup inside a
Colin Alston added the comment:
I also hit upon this issue and IMHO returning False in a "permission
denied" scenario is less than obvious behaviour.
It also means I have no way to catch this edge case in my own code
immediately, I have to implement far larger logic to check no
Colin Stewart added the comment:
Adding second patch.
--
Added file: http://bugs.python.org/file14702/expatreader.py.patch2
___
Python tracker
<http://bugs.python.org/issue6
Colin Stewart added the comment:
I'm not familiar with the inner workings of the expat integration with
Python, so the attached patches need careful review.
The first patch (expatreader.py.patch) is the minimum to resolve this
issue. The second patch (expatreader.py.patch2) also expose
New submission from Colin Stewart :
The documentation for the xml.sax.handler.property_xml_string SAX
property states that it should be "data type: String". However when
retrieving this value in Python 3.1 it returns a bytes object instead.
This makes handling the returned value very
New submission from Colin J. Williams :
Shift operators. It would be good if "<<" and ">>" could be included
in the index.
Incidentally, the usage seems counter-intuitive.
One would expect ">>" to be a shift to the right and
"<<&quo
Colin Watson added the comment:
Is there anything more I can do to move this along? Thanks.
--
___
Python tracker
<http://bugs.python.org/issue1652>
___
___
Pytho
New submission from Colin J. Williams <[EMAIL PROTECTED]>:
Versions 2.5, 2.6 and 3.0 contain a Version Checker in the Tools directory.
This appears to no longer serve a useful purpose.
Perhaps it can be dropped from the distribution.
Colin W
--
components: Tests
Colin Watson <[EMAIL PROTECTED]> added the comment:
2.6 is fine if that's what the release process dictates; I don't want it
to be lost, that's all.
__
Tracker <[EMAIL PROTECTED]>
<ht
Colin Watson added the comment:
To be quite honest I can't think of any incompatibilities that wouldn't
have the basic result of improving matters. I put the migration stuff in
my bug report in case somebody else could, because I don't want the bug
fix to stall on that.
My pref
Colin Walters added the comment:
Patch to add Unicode support.
Note: this patch recodes shlex.py from iso-8859-1 to utf-8, so it has
mixed encodings.
--
nosy: +cgwalters
Added file: http://bugs.python.org/file9025/shlex-unicode.patch
__
Tracker <[EM
New submission from Colin Watson:
On Unix, Python sets SIGPIPE to SIG_IGN on startup, because it prefers
to check every write and raise an IOError exception rather than taking
SIGPIPE. This is all well and good for Python itself. However,
non-Python Unix subprocesses generally expect to have
73 matches
Mail list logo