Matt Pruitt added the comment:
Also ran into this issue while building Python in an isolated environment.
Realized that libffi is installing into the $EPREFIX/lib64 directory of our
build environment.
Despite pkg-config returning the correct directory for linking libffi, it took
New submission from Matt Tuttle :
Running pip install ANYTHING results in an SSL failure on Windows 10 1803
because SHA-1 certificates are untrusted.
--
components: Installation, Windows
messages: 323945
nosy: mtuttle, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
Matt Tuttle added the comment:
It was a firewall issue that affected pip and conda in the same way.
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/i
Matt Tuttle added the comment:
Thanks Steve, you were right it is a firewall issue that impacted both pip and
conda simultaneously. ☹
--
___
Python tracker
<https://bugs.python.org/issue34
Matt Tuttle added the comment:
Yep. You are right it is a firewall issue.
--
___
Python tracker
<https://bugs.python.org/issue34473>
___
___
Python-bugs-list m
Change by Matt Wilber :
--
components: Library (Lib)
nosy: mwilbz
priority: normal
severity: normal
status: open
title: functools.cached_property does not maintain the wrapped method's
__isabstractmethod__
versions: Python 3.8
___
Python tr
Change by Matt Wilber :
--
keywords: +patch
pull_requests: +9266
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue34995>
___
___
Py
Matt Wilber added the comment:
This allows a developer to add a @cached_property to a method with the
@abstractmethod decorator, without breaking the check for abstract methods on
ABC instantiation. That is, if you tried to instantiate an ABC with a method
that had a method decorated with
Matt Wilber added the comment:
I agree, a comment can serve the same purpose. But for the same reasons it's
useful to express typing hints in Python with real syntax, and the reasons it's
useful to have the abc module in the first place, I think it is useful to be
able to a
Matt Wilber added the comment:
To add some more context, the existing Python documentation is a little
misleading in this situation:
https://docs.python.org/3/library/abc.html#abc.abstractmethod
It shows that labeling a method with
@property
@abstractmethod
ought to be done in the order
Changes by Matt Wilkie :
--
nosy: +Matt.Wilkie
___
Python tracker
<http://bugs.python.org/issue13123>
___
___
Python-bugs-list mailing list
Unsubscribe:
Matt Wilkie added the comment:
I confirm this is happening with 3.2.4 from an installer generated in 2.7.4
(64bit Win7, 32bit python):
https://pypi.python.org/pypi/leo/4.11.devel-build-5802
--
nosy: +Matt.Wilkie
___
Python tracker
<h
Matt Joiner added the comment:
This sounds excellent Nick.
--
___
Python tracker
<http://bugs.python.org/issue4331>
___
___
Python-bugs-list mailing list
Unsub
New submission from Matt Perry:
Distutils attempts "r.read()" instead of "request.read()" when showing an
upload error message.
--
assignee: eric.araujo
components: Distutils
files: disutils_error_message.diff
keywords: patch
messages: 191088
nosy: eric.araujo, tar
Matt Hickford added the comment:
( Upstreamed from Pip https://github.com/pypa/pip/issues/942 )
There are lot of Python users on Windows. If they succeed in installing a
package manager (a struggle), this is typically their first experience with it
$ pip install numpy
blah blah blah
Changes by Matt Joiner :
--
nosy: +anacrolix
___
Python tracker
<http://bugs.python.org/issue9148>
___
___
Python-bugs-list mailing list
Unsubscribe:
Matt McClure added the comment:
Michael Foord voidspace.org.uk> writes:
> On 2 Aug 2013, at 19:19, Antoine Pitrou pitrou.net> wrote:
> > The patch is basically ready for commit, except for a possible doc
> > addition, no?
>
> Looks to be the case, reading t
Changes by Matt McClure :
Added file:
http://bugs.python.org/file31154/11798-20130803-matthewlmcclure.patch
___
Python tracker
<http://bugs.python.org/issue11
Matt McClure added the comment:
Andrew,
I didn't understand your message. Are you asking me to change the patch
somehow? Or asking Michael to review and apply it?
Best,
Matt
--
___
Python tracker
<http://bugs.python.org/is
Matt McClure added the comment:
Andrew,
I signed the agreement as matthewlmcclure and as matthewlmcclure-gmail. Is
there any way I can merge those two user accounts?
I believe the original patch was Tom Wardill's. I just updated his patch.
--
nosy: +matthewlmc
Matt McClure added the comment:
This might fix it (untested):
diff -r d748d7020192 Lib/test/test_doctest.py
--- a/Lib/test/test_doctest.py Sat Aug 03 10:09:25 2013 -0400
+++ b/Lib/test/test_doctest.py Wed Aug 28 15:35:58 2013 -0400
@@ -2329,6 +2329,8 @@
Now, when we run the test
Changes by Matt Mackall :
--
nosy: -Matt.Mackall
___
Python tracker
<http://bugs.python.org/issue1602>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Matt B :
--
nosy: +Matt.B
___
Python tracker
<http://bugs.python.org/issue4033>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Changes by Matt Joiner :
--
nosy: +anacrolix
___
Python tracker
<http://bugs.python.org/issue1652>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Matt Barr :
--
nosy: +Matt.Barr
___
Python tracker
<http://bugs.python.org/issue10592>
___
___
Python-bugs-list mailing list
Unsubscribe:
Matt Joiner added the comment:
Did this make it into 3.3?
--
nosy: +anacrolix
___
Python tracker
<http://bugs.python.org/issue15139>
___
___
Python-bugs-list m
New submission from Matt Hillsdon :
The following example uses make_parser / parse to read a trivial XML document
by filename and then attempts to delete the file. On Win32 I can't unlink the
file because the parse does not seem to close the file handle.
import os
import tempfile
New submission from Matt Mackall:
Python's file_read uses an 'l' type to parse its args which results in a 31-bit
size limit on reads on 64-bit Windows. It should instead use an ssize_t.
Related Mercurial bug:
http://bz.selenic.com/show_bug.cgi?id=4215
--
componen
Matt Chaput added the comment:
Created patch to remove the Netrc class and its unit tests (for Python 3.5).
--
nosy: +maatt
Added file: http://bugs.python.org/file34806/remove_Netrc_class.patch
___
Python tracker
<http://bugs.python.org/issue6
Matt Chaput added the comment:
This patch is the same as my previous one, except instead of removing Netrc
usage from the ftplib.test() function, it replaces it with the netrc.netrc
object. Note that there are no existing tests for the ftplib.test() function.
Also did some very minor cleanups
Matt Chaput added the comment:
Simple patch to remove the underscore in tarfile.rst.
--
keywords: +patch
nosy: +maatt
Added file: http://bugs.python.org/file34824/issue21198.patch
___
Python tracker
<http://bugs.python.org/issue21
Matt Chaput added the comment:
The patch looks good to me.
--
nosy: +maatt
___
Python tracker
<http://bugs.python.org/issue21146>
___
___
Python-bugs-list mailin
Matt Chaput added the comment:
Patch on top of dbudinova's that attempts to replace the concatenation of
strings with a verbose regex.
--
nosy: +maatt
Added file: http://bugs.python.org/file34827/issue20491_verbose.patch
___
Python tracker
Changes by Matt Chaput :
Removed file: http://bugs.python.org/file34824/issue21198.patch
___
Python tracker
<http://bugs.python.org/issue21198>
___
___
Python-bugs-list m
Matt Chaput added the comment:
Oops! Yes, I accidentally included a bunch of other crap.
--
___
Python tracker
<http://bugs.python.org/issue21198>
___
___
Pytho
Matt Mackall added the comment:
Actually, no, all the size_t types are 64-bit on Windows 64:
https://en.wikipedia.org/wiki/64-bit_computing#64-bit_data_models
To confirm this, I found someone nearby with a 64-bit Windows and he had no
trouble allocating a 3G string with a = b'a' *
New submission from Matt Bachmann:
I noticed an issue passing in unicode to os.path.relpath.
Specifically that in some cases when passing in unicode I would get back
unicode and others I would get back a string. Below I demonstrate the issue. I
also attached a patch.
Is this an issue or am I
Matt Bachmann added the comment:
Can you help me understand why not?
If I give it two unicode strings it sometimes gives me back a unicode and
sometimes gives me back a string.
In python3 this does what I expect.
In python27 I now have to check the type I get back because I cannot be sure
Matt Bachmann added the comment:
There is a difference! '.' is a bytes string and u'.' is a unicode one!
I found this problem because I work on a project that supports both python2 and
python3.
In python3 I pass in unicode I get back unicode. In python2.7 I pass in unico
Matt Bachmann added the comment:
Perhaps this is the bug I should be filing but here is why this comes up for
me.
I get different output from this function if I pass in two types.
On my machine:
os.path.relpath(u'test_srcl.txt', u'.') returns u'test_src.txt'
o
Matt Bachmann added the comment:
Looking into the project im working on I discovered why relpath was acting
strangely.
It is because the project mocks get_cwd but not get_cwdu. Your request helped
me track that down :-)
So that is not an issue. However, the issue described in the original
Matt Jones added the comment:
Andrew, below is a revision of your comment with a few corrections made by a
native english speaker.
Function :c:func:`Py_SetProgramName` should be called before
:c:func:`Py_Initialize` to inform the interpreter about paths to Python
run
Matt Selsky added the comment:
I tested this patch again python 2.7.3 on Solaris 9 and the math module now
builds correctly. Thanks!
Let me know if you need any output.
--
___
Python tracker
<http://bugs.python.org/issue9
Matt Joiner added the comment:
I look forward to your feedback Ezio.
--
___
Python tracker
<http://bugs.python.org/issue14373>
___
___
Python-bugs-list mailin
New submission from Matt Hickford:
Python should ship with a full-featured package manager. Why?
1. Most programmers would rather use a reliable maintained library for a common
task than roll their own code. Then the programmer can get on with solving
their unique problems. This assumes the
Matt Hickford added the comment:
Please could you share a link to a previous discussion about packaging?
I'm interested in user experience 'Python should ship with first class
package management like other languages' rather than technical details
'Python should ship with d
Matt Joiner added the comment:
What's preventing this from being committed and closed?
--
___
Python tracker
<http://bugs.python.org/issue4331>
___
___
Pytho
New submission from Matt Dodge:
Upgraded to OS X Mavericks (not sure if this is what caused it or not).
Running Python 2.7.5 (v2.7.5:ab05e7dd2788, May 13 2013, 13:18:45)
Python will seg fault when trying to evaluate the expression bool('False')
To reproduce, from terminal, lau
Changes by Matt Joiner :
--
nosy: -anacrolix
___
Python tracker
<http://bugs.python.org/issue4331>
___
___
Python-bugs-list mailing list
Unsubscribe:
Matt Hickford added the comment:
For comparison, Ruby ships with a package manager, Gem. If a user tries to
install a package with C extensions, they are given this user-friendly message:
> Please update your PATH to include build tools or download the DevKit from
> 'http://rubyin
New submission from Matt Bachmann:
Howdy!
I encountered this error when accidently passing in mixed types to reldir
>>> import os
>>> os.path.relpath('/Users/bachmann', b'.')
Traceback (most recent call last):
File "", line 1, in
F
Changes by Matt Bachmann :
--
keywords: +patch
Added file: http://bugs.python.org/file35805/error_message.patch
___
Python tracker
<http://bugs.python.org/issue21
Changes by Matt Bachmann :
Removed file: http://bugs.python.org/file35805/error_message.patch
___
Python tracker
<http://bugs.python.org/issue21883>
___
___
Python-bug
Matt Bachmann added the comment:
Includes change and tests.
The test is similar so I just broke out the logic
--
Added file: http://bugs.python.org/file35806/error_message.patch
___
Python tracker
<http://bugs.python.org/issue21
Matt Behrens added the comment:
Here is a 3.5 fix based on Lars Gustäbel's, with test.
--
nosy: +zigg
versions: +Python 3.5
Added file: http://bugs.python.org/file36096/issue21987_py3.5_with_test.patch
___
Python tracker
<http://bugs.py
New submission from Matt Goodman:
The flags that you need to compile against libpythonXX.lib are hidden inside of
the distutils.msvccompiler class. This is ok if you want to use distutils to
compile extensions against the binary, but other build systems need to run
initialize() to get access
Matt Riedemann added the comment:
For what it's worth, I'm building openstack docs on master (icehouse-3) for
ceilometer, nova, cinder, heat, glance, keystone, and neutron (plus the
clients) using sphinx 1.2.1 without this problem (unless I'm just not aware of
it?). Anyway
Matt Chaput added the comment:
IIRC the root issue turned out to be that when you execute any multiprocessing
statements at the module/script level on Windows, you need to put it under if
__name__ == "__main__", otherwise it will cause infinite spawning.
I think this is mentio
New submission from Matt Kraai :
pyconfig.h defines _POSIX_C_SOURCE to 200112L, which prevents QNX's
sys/types.h from defining uint_t. Samba 4 uses this type, so it fails
to compile if Python.h is included first (cf.
https://bugzilla.samba.org/show_bug.cgi?id=6842).
The attached patch
Matt Kraai added the comment:
Here's an updated patch. The first time I forgot to regenerate
pyconfig.h.in.
--
Added file: http://bugs.python.org/file15203/define-_QNX_SOURCE.patch
___
Python tracker
<http://bugs.python.org/i
Matt Giuca added the comment:
Thanks Ezio.
I've updated the patch to incorporate your suggestions.
Note that I too have only tested it on Linux, but I tested both
posixpath and ntpath (and there is no OS-specific code, except for the
filenames themselves).
I'm not sure if using
Matt Giuca added the comment:
Note that, irrespective of the changes to the library itself, the
documentation is out of date since it still uses the old
"string/unicode" nomenclature, rather than the new "bytes/string". I
have provided a separate documentation patch which
New submission from Matt Mendell :
File sqlite3.h missing from Python-3.0.1.
setup.py looks for this file.
Is this intentional?
--
components: None
messages: 83831
nosy: mendell
severity: normal
status: open
title: sqlite3.h missing
type: compile error
versions: Python 3.0
Matt Giuca added the comment:
I've attached a patch which renames encodestring to encodebytes (keeping
encodestring around as an alias). Updated test and documentation.
I also renamed decodestring to decodebytes, because it also refuses to
accept a string (only a bytes). I have an altern
Matt Giuca added the comment:
Now, base64.encodestring and decodestring seem a bit weird because the
Base64 encoded string is also required to be a bytes.
It seems to me that once something is Base64-encoded, it's considered to
be ASCII text, not just some byte string, and therefore it s
Matt Giuca added the comment:
OK since the patches I submitted are now eight months old, I just did an
update and re-applied them. I am submitting new patch files which don't
change anything, but are patches against revision 71822 (should be much
easier to apply).
I'd still like
Matt Giuca added the comment:
Full method renaming patch.
--
Added file: http://bugs.python.org/file13756/doc+bytesmethods.patch
___
Python tracker
<http://bugs.python.org/issue3
New submission from Matt Giuca :
In the Python 2.x branch, os.path.normpath will sometimes return a str
even if given a unicode. This is not an issue in the Python 3.0 branch.
This happens specifically when it throws away all string data and
constructs its own:
>>> os.path.n
Changes by Matt Giuca :
--
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue5827>
___
___
Python-bugs-list mailing list
Unsubscri
Matt Giuca added the comment:
I agree with that -- too big a change to make now.
But can we please get the documentation patch accepted? It's been
waiting here for eight months with corrections to clearly-incorrect
documentation.
--
___
P
Matt Giuca added the comment:
The issue of urllib.quote was discussed at extreme length in issue 3300,
which was specific to Python 3.
http://bugs.python.org/issue3300
In the end, I rewrote the entire family of urllib.quote and unquote
functions; they're now Unicode compliant and a
New submission from Matt Giuca :
urllib.parse.quote_plus will ignore its encoding and errors arguments if
its input string has a space in it.
Intended behaviour:
>>> urllib.parse.quote_plus("\xa2\xd8 \xff", encoding='latin-1')
'%A2%D8+%FF'
Observed behav
Matt Kern added the comment:
Ping. Anything I can do?
--
___
Python tracker
<http://bugs.python.org/issue1615158>
___
___
Python-bugs-list mailing list
Unsub
New submission from Matt Kubilus :
Rstrip has unexpected behavior with some strings. Example:
-
>>> "proxa.py".rstrip(".py")
'proxa'
>>> "proxy.py".rstrip(".py")
'prox'
-
Tested with Python 2.6.1
--
New submission from Matt Giuca :
In unicodeobject.c's unicodeescape_string, in UCS2 builds, if the last
character of the string is the start of a UTF-16 surrogate pair (between
'\ud800' and '\udfff'), there is a slight overrun problem. For example:
>>> re
New submission from Matt Giuca :
I discovered this investigating a bug report that python-cjson doesn't compile
properly on Windows (http://pypi.python.org/pypi/python-cjson). Cjson's
setup.py asks distutils to compile with the flag '-DMODULE_VERSION="1.0.5&quo
Changes by Matt Giuca :
--
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue8987>
___
___
Python-bugs-list mailing list
Unsubscri
Matt Joiner added the comment:
I take it this is out for 2.7, will it be in 3.2?
--
nosy: +anacrolix
___
Python tracker
<http://bugs.python.org/issue3
New submission from Matt Gattis :
This code works in 3.1.2 but not in 2.7:
>>> import mmap
>>> m = mmap.mmap(-1,20)
>>> v = memoryview(m)
Traceback (most recent call last):
File "", line 1, in
TypeError: cannot make memory view because objec
Changes by Matt Joiner :
--
nosy: +anacrolix
___
Python tracker
<http://bugs.python.org/issue6627>
___
___
Python-bugs-list mailing list
Unsubscribe:
Matt Giuca added the comment:
Thanks for doing that, Senthil.
--
___
Python tracker
<http://bugs.python.org/issue1712522>
___
___
Python-bugs-list mailin
Matt Giuca added the comment:
>From http://mail.python.org/pipermail/python-checkins/2010-July/095350.html:
> Looking at the issue (which in itself was quite old), you could as well
> have fixed the robotparser module instead.
It isn't an issue with robotparser. The original rep
Matt Giuca added the comment:
> Well, isn't it a new feature you're adding?
You had a function which raised a confusing and unintentional KeyError when
given non-ASCII Unicode input. Now it doesn't. That's the bug fix part.
What I assume you're referring to a
Matt Giuca added the comment:
> I think everyone assumed that the parameter should be a "str" object
> and nothing else. Apparently some people used it accidentally with
> some unicode strings and it "worked" until these strings contained
> non-ASCII characters.
Matt Giuca added the comment:
OK sure, there are some other things broken, but they are mostly not dealing
with string data, but binary data (for example, zlib expects a sequence of
bytes, not characters).
Just one quick point:
> urllib.urlretrieve("file:///tmp/hé")
> U
Matt Bone added the comment:
Here's a patch for 3.2 with some simple examples. They're under the
ElementTree findall method. Maybe there should be similar examples for
Element's find/findall methods?
--
keywords: +patch
nosy: +mbone
Added file: http://bugs.pytho
Matt Giuca added the comment:
If you're going the way of option 2, I would strongly advise against relying on
the KeyError. The fact that a KeyError is raised by urllib.quote is not part of
it's specification, it's a bug/quirk in the implementation (which is now
unlikely to
Matt Fleming added the comment:
I'm not really tracking this anymore but i can certainly try to
recreate the issue sometime this week if required?
On 17 July 2010 14:37, Stefan Krah wrote:
>
> Stefan Krah added the comment:
>
> Matt, if you still follow this: Does this pro
Matt Mackall added the comment:
This change just wrecked Mercurial's release build process.
We've been building Mercurial release tarballs with a Makefile target wrapped
around sdist for most of five years, and we've never had or wanted a
MANIFEST.in file. We generate an exact
Matt Mackall added the comment:
Ok, we need a change that will work with Python 2.4 through 2.7.
--
___
Python tracker
<http://bugs.python.org/issue8688>
___
___
Matt Giuca added the comment:
OK, I finally had time to review this issue again.
Firstly, granted the original fix broke a test case, shouldn't we figure out
why it broke and fix it, rather than just revert the change and continue
relying on this tenuous assumption? Surely it's be
Matt Joiner added the comment:
This is why I stopped contributing to Python.
--
___
Python tracker
<http://bugs.python.org/issue14156>
___
___
Python-bugs-list m
Changes by Matt Joiner :
--
nosy: -anacrolix
___
Python tracker
<http://bugs.python.org/issue14156>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Matt Bogosian :
--
nosy: +posita
___
Python tracker
<http://bugs.python.org/issue23063>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Matt Bogosian:
>From (e.g)
>https://github.com/python/cpython/blob/2.7/Lib/distutils/command/check.py#L145:
{{{
try:
parser.parse(data, document)
except AttributeError as e: # <- this could happen anywhere inside
par
New submission from Matt Dodge:
When failing to pickle something (like a locally scoped class) the
documentation indicates that a PicklingError should be raised.
Doc links:
-
https://docs.python.org/3/library/pickle.html?highlight=pickle#pickle-picklable
-
https://docs.python.org/3.5
New submission from Matt Morrison:
In the Regular Expressions HOWTO
(https://docs.python.org/3/howto/regex.html#performing-matches,
Doc/howto/regex.rst), there is the following paragraph:
=
You can learn about this by interactively experimenting with the :mod:`re`
module. If you have
New submission from Matt Robenolt:
This also affects socket.getaddrinfo on macOS only, but is fine on Linux. I've
not tested on Windows to see behavior there.
Given the IP address `0177...0001`, which is a valid octal format
representing `127.0.0.1`, we can see varying re
Matt Robenolt added the comment:
Sorry, to add a data point, in C, `gethostbyname` also does the correct thing
on macOS.
See:
```
#include
#include
#include
#include
#include
#include
#include
int main(int argc, char *argv[]) {
int i;
struct hostent *lh = gethostbyname
Matt Robenolt added the comment:
And lastly, it seems that `socket.gethostbyname_ex` _does_ work correctly on
both platforms.
```
>>> socket.gethostbyname_ex('0177...0001')
('0177...0001', [], ['127.0.0.1'])
```
--
___
401 - 500 of 595 matches
Mail list logo