Alex Grönholm added the comment:
>> Ignoring site-local configuration
>What do you mean? sitecustomize is executed, for example.
Whatever, but it only looks for the paths in the included sysconfig.cfg. If the
system Python uses a different sort of path in site.py, distutils2 won
Alex Grönholm added the comment:
Kubuntu 11.10, 64-bit. No ~/.pydistutils.cfg. What other info do you need?
--
___
Python tracker
<http://bugs.python.org/issue14
Alex Gaynor added the comment:
This shouldn't be a problem for PyPy, in fact I'm almost positive that we
implement this already (since Django has a test that uses this "feature").
If/when the spec is changed please make sure there are tests for all these
cases so we *k
Alex Leach added the comment:
Patch included for Modules/_ctyles/libffi/src/x86/ffi64.c. I've added some
include guards around anything necessary to compile with the Intel compiler.
This patch is needed to compile the _ctypes module with icc on current Python
releases (just success
Changes by Alex Leach :
Added file: http://bugs.python.org/file25221/ffi64.c.patch
___
Python tracker
<http://bugs.python.org/issue4130>
___
___
Python-bugs-list mailin
Alex Leach added the comment:
Submitting a working patch upstream would make sense.. Just found, downloaded
and tried compiling libffi-3.0.11. The developers have made some changes
towards a solution, but compilation fails with the same error:-
libtool: compile: icc -DHAVE_CONFIG_H -I. -I
Alex Leach added the comment:
Thanks for the assurance. I found it strange because compilation only fails
when building shared binaries. My static build of Python-2.7.3, with icc seems
to work fine, except for this libffi issue.
Turns out I needed dejagnu to run the tests in libffi's
New submission from Alex Grönholm :
Both curio and trio expose the coroutine object belonging to a task as the
"coro" attribute. Asyncio exposes this as "_coro" (as does uvloop) but it would
be nice to have at least a read-only attribute exposing this as part of the
public
Alex Grönholm added the comment:
I'll look into making a PR.
--
___
Python tracker
<https://bugs.python.org/issue36999>
___
___
Python-bugs-list m
Change by Alex Grönholm :
--
keywords: +patch
pull_requests: +13568
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/13680
___
Python tracker
<https://bugs.python.org/issu
Alex Willmer added the comment:
I noticed this because I was experimenting with pickle.py from the 3.8 branch
to support protocol 5 in https://github.com/moreati/pikl (and later to
https://pypi.org/project/zodbpickle/).
However I want to make it clear, if CPython maintainers wish to keep
Alex Willmer added the comment:
Arggh, typo. I mean maximizing *your* convenience is paramount.
--
___
Python tracker
<https://bugs.python.org/issue37
Alex Willmer added the comment:
Attempting a PR
--
___
Python tracker
<https://bugs.python.org/issue37210>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Alex Willmer :
Until Python 3.8 hmc.new() defaulted the digestmod argument to 'hmac-md5'. This
was deperecated, to be removed in Python 3.8. In Python 3.8.0b1 it is gone, e.g.
Python 3.8.0b1 (default, Jun 6 2019, 03:44:52)
[GCC 7.4.0] on linux
Type "he
Alex Willmer added the comment:
Scratch the part about documented signature, it's still `hmac.new(...
digestmod=None)`, the check happens in the body of the function
--
___
Python tracker
<https://bugs.python.org/is
Change by Alex Willmer :
--
keywords: +patch
pull_requests: +13814
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/13947
___
Python tracker
<https://bugs.python.org/issu
Alex Willmer added the comment:
I don't think I can do this. My WIP code is in
https://github.com/moreati/cpython/pull/new/bpo-37210, and associated make test
output is attached.
Principal blockers
- `_pickle.PickleBuffer.raw()` can return a contiguous buffer from either a
c_conti
Alex Willmer added the comment:
> it is probably not possible to write a pure Python PickleBuffer
Fair enough
> a usable pure Python Pickler, but without support for the PickleBuffer class.
That makes sense. However, for third party packages (e.g. zodbpickle, pikl)
wanting a pure
Change by Alex Gaynor :
--
nosy: +alex
___
Python tracker
<https://bugs.python.org/issue37461>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Alex Groce:
Attached file causes a failed rename, which is fine. However, after the failed
rename, the directory structure has changed (and the error reported is not very
helpful). Behavior does not match Linux or Windows behavior.
Discovered using random testing to
Alex Groce added the comment:
Checked, and this is a problem on Python 3 as well as 2.7.
--
title: Non-atomic and unusual (wrong) rename behavior under OS X, Python 2.7.13
-> Non-atomic and unusual (wrong) rename behavior under OS X
versions: -Python
Alex Groce added the comment:
Tested on latest Mac OS; mv at command line does the right thing, have not
checked a C rename yet.
--
___
Python tracker
<http://bugs.python.org/issue30
Alex Groce added the comment:
#include
#include
#include
#include
int main () {
system("rm -rf testingdir");
mkdir("testingdir",S_IRWXU);
mkdir("testingdir/a",S_IRWXU);
mkdir("testingdir/a/a",S_IRWXU);
mkdir("testingdir/a/a/a"
Alex Groce added the comment:
Looks to be OS X rename, not Python
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
Changes by Alex Gaynor :
--
nosy: -alex
___
Python tracker
<http://bugs.python.org/issue30319>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Alex Gaynor :
--
nosy: +alex
___
Python tracker
<http://bugs.python.org/issue30879>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Alex Corcoles:
https://docs.python.org/3.7/library/xmlrpc.client.html says:
"""
When passing strings, characters special to XML such as <, >, and & will be
automatically escaped. However, it’s the caller’s responsibility to ensure that
the string i
Changes by Alex Corcoles :
--
nosy: +Alex Corcoles
___
Python tracker
<http://bugs.python.org/issue7727>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Alex Corcoles :
--
versions: +Python 3.5, Python 3.6, Python 3.7
___
Python tracker
<http://bugs.python.org/issue7727>
___
___
Python-bugs-list mailin
New submission from Alex Vig:
The documentation for co_names in the inspect module is:
"tuple of names of local variables"
Local variable names are however in co_varnames while co_names contains global
variable names. This description should read:
"tuple of names of g
New submission from Alex Davies:
```
ERROR! Unexpected Exception: This platform lacks a functioning sem_open
implementation, therefore, the required synchronization primitives
needed will not function, see issue 3770.
```
--
components: Build
messages: 299130
nosy: Alex Davies
Changes by Alex Davies :
--
title: Python an android must use ashmem instead of shmem -> Python on android
must use ashmem instead of shmem
___
Python tracker
<http://bugs.python.org/issu
Alex Gaynor added the comment:
This came up on m.d.s.p. today:
https://groups.google.com/d/msg/mozilla.dev.security.policy/K3sk5ZMv2DE/fx6c3WWFBgAJ
I haven't dug in deeply, but it sounds like we handle IDNs in CNs and SANs
differently?
I think we should look for a way to solve that spe
Changes by Alex Gaynor :
--
nosy: +dstufft, janssen
___
Python tracker
<http://bugs.python.org/issue28414>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Alex Hayes:
I imagine that this is by design (likely because it can't be implemented)
however I wanted to check if this was the case.
Instances of types.MappingProxyType can't be pickled.
For example;
```
import pickle
from types import MappingProx
Alex Hayes added the comment:
Some background. I'm not actually trying to pickle MappingProxyType, I'm using
the schematics [1] library and recently it broke support for pickle [2] and the
cause of that is because they are using MappingProxyType [3] internally (when
they used t
Alex Hayes added the comment:
Closing issue - thanks rhettinger
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<http://bugs.python.or
Alex Richman added the comment:
Can confirm, ran into this issue. It's because os.path.ismount() works by
checking if the path's parent is on a different device (e.g. st_dev is the same
for 'path/' and 'path/..'), which obviously it is for a bind mount on the sam
Alex Gaynor added the comment:
+1 Christian, we should not be expanding our usage of CNs at all.
--
status: pending -> open
___
Python tracker
<http://bugs.python.org/issu
Alex Gaynor added the comment:
+1 on making sure we have a concrete use case before expanding the API
--
nosy: +Alex Gaynor
___
Python tracker
<http://bugs.python.org/issue25
Alex Gaynor added the comment:
An additional problem in (2) is that a cert for *.google _is_ legal if the CA
can prove that a single organization controls the entire TLD:
https://crt.sh/?id=7668286
--
nosy: +Alex Gaynor
___
Python tracker
<h
Alex Gaynor added the comment:
Mmmm, my understanding is that ignoring TCP-FIN/RST-without-TLS-closenotify is
pretty common for a lot of different clients.
We should probably survey the landscape, see what both browsers and non-browse
clients (e.g. curl) do before making a decision
Alex Gaynor added the comment:
For the use case of "I want to trust this CA, but I don't want to trust any of
it's sub CAs" I think there's a simpler solution than expanding our API:
Create your own cross-sign of the root you want, and add a pathLenConstraint: 0
Alex Gaynor added the comment:
What operating system are you on?
--
nosy: +Alex Gaynor
___
Python tracker
<https://bugs.python.org/issue31453>
___
___
Python-bug
Alex Gaynor added the comment:
An FYI for the future, it would have been very helpful if this had been
documented in the whats-changed file for 3.5.
--
nosy: +alex
___
Python tracker
<http://bugs.python.org/issue23
Alex Gaynor added the comment:
Yeah, this got me (happy to explain what I was trying to do in more detail, if
it'd be helpful), took me longer to understand why my tests passed on
{26,27,33,34} but failed on 35 since the public "what's changed" docs page is
where I we
New submission from Alex Gaynor:
The names are super misleading. First, they're written in a way that's the
opposite of how people think about these things (CLIENT_AUTH -> server socket;
SERVER_AUTH -> client socket). Second, they're misleading, you can have TL
Changes by Alex Gaynor :
--
nosy: +christian.heimes, dstufft, janssen
___
Python tracker
<http://bugs.python.org/issue29810>
___
___
Python-bugs-list mailin
Alex Gaynor added the comment:
Ah, so instead of PROTOCOL_SSLv23 using PROTOCOL_TLS_CLIENT and deprecating the
Purpose bits entirely? That sounds good to me!
--
___
Python tracker
<http://bugs.python.org/issue29
Alex Gaynor added the comment:
Sounds good to me!
--
___
Python tracker
<http://bugs.python.org/issue29810>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Alex CHEN:
In file _elementtree.c
our static code scanner has reported this case, but I don't sure that could be
any problem, may you have a look?
static PyObject*
element_getattr(ElementObject* self, char* name)
{
PyObject* res;
/* handle common attri
New submission from Alex CHEN:
In file selectmodule.c
our static code scanner has reported the following case, function set2list is
liable to return NULL (if PyTuple_New failed), would any chance the NULL
pointer be dereferenced (Py_DECREF(fdlist) after set2list) or it would just
raise
Changes by Alex CHEN :
--
type: -> crash
___
Python tracker
<http://bugs.python.org/issue29874>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Alex CHEN:
In file _elementtree.c
our static code scanner has reported this case, I think there is a bit similar
to http://bugs.python.org/issue29874 (returns NULL when NoMemory)
static PyObject*
subelement(PyObject* self, PyObject* args, PyObject* kw)
{
PyObject* elem
Alex Jordan added the comment:
Filed https://github.com/python/devguide/issues/156.
Sorry for the noise! I just assumed everything went through bpo. Guess not :)
--
___
Python tracker
<http://bugs.python.org/issue30
Alex Gaynor added the comment:
Just discussed with Christian, and we're both in favor of adding AIA chasing
support to the stdlib ssl.
--
nosy: +alex, janssen
___
Python tracker
<http://bugs.python.org/is
Changes by Alex Gaynor :
--
pull_requests: +1781
___
Python tracker
<http://bugs.python.org/issue30420>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Alex Perry :
--
pull_requests: +1814
___
Python tracker
<http://bugs.python.org/issue9883>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Perry added the comment:
You seem to be skipping a step, this is nothing to do with FileInput:
>>> [n for n in Path('.')]
Traceback (most recent call last):
File "", line 1, in
TypeError: 'PosixPath' object is not iterable
>>> [n
Alex Perry added the comment:
The docstring for the class points out that the `multiprocessing.Manager()`
function creates started instances of the SyncManager class. You should
probably follow that advice, it calls start() for you.
--
nosy: +arp11
Alex Perry added the comment:
https://github.com/python/cpython/commit/5cc274262a99e5633177fc540261abbbecbbc51c
... seems to implement the principle in this bug, but I'm not convinced this is
a good idea.
--
nosy: +arp11
___
Python tracker
Changes by Alex Perry :
--
pull_requests: +1831
___
Python tracker
<http://bugs.python.org/issue27269>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Alex Perry :
--
pull_requests: +1834
___
Python tracker
<http://bugs.python.org/issue9883>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Alex Gaynor:
Currently shutil.make_archive uses os.chdir, however there's no need for that.
Everything that's done could be equally accomplished with path manipulation:
https://github.com/python/cpython/blob/master/Lib/shutil.py#L773-L779
We should switch to
Alex Gaynor added the comment:
None of those functions are a public API, so changing them shouldn't be a
problem IMO.
--
___
Python tracker
<http://bugs.python.org/is
Alex Gaynor added the comment:
Ugh, except via |register_archive_format|. |register_archive_format| could wrap
callables passed to it to maintain the current behavior.
--
___
Python tracker
<http://bugs.python.org/issue30
New submission from Alex Gaynor:
CT (https://www.certificate-transparency.org/) is starting to become a thing!
It'd be great if we exposed SCTs (whether from TLS extensions, OCSP, or
embedded in the certificate) for TLS connections. This would allow higher level
protocols to begin acti
New submission from Alex Grigoryev :
These methods have confusing implicit behavior. I propose to make it explicit,
either strip the exact sequence or chars or leave the string as is.
In [1]: 'mailto:ma...@gmail.com'.lstrip('mailto')
Out[1]: ':ma...@gmail.com'
I
Alex Grigoryev added the comment:
https://docs.python.org/2/library/string.html#string.lstrip
(https://link.getmailspring.com/link/4c83e422-2f29-440a-8ce3-0ae8b13f5...@getmailspring.com/0?redirect=https%3A%2F%2Fdocs.python.org%2F2%2Flibrary%2Fstring.html%23string.lstrip&recip
Alex Chandel added the comment:
Could this be merged? UDP and pipes are critical for non-trivial asyncio
programs on Windows, and this should be merged before the 3.8 feature window
closes.
--
nosy: +Alex Chandel
___
Python tracker
<ht
Alex LordThorsen added the comment:
This behavior is currently unchanged and the docs still state that `EST` is an
acceptable value.
```
>>> datetime.strptime("2019-01-28 18:54:45 EST", "%Y-%m-%d %H:%M:%S %Z")
Traceback (most recent call last):
File "&qu
Alex LordThorsen added the comment:
It's been a while since I've committed a patch. Do I still upload a diff file
here or should I open a PR for the doc changes on github?
--
___
Python tracker
<https://bugs.python.o
Change by Alex Shpilkin :
--
nosy: +Alex Shpilkin
___
Python tracker
<https://bugs.python.org/issue12178>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Gaynor added the comment:
Can confirm, no browsers do partial (or multiple) wildcards and the CABF rules
don't allow public CAs to issue them.
--
status: pending -> open
___
Python tracker
<https://bugs.python.org
Alex Gaynor added the comment:
(Didn't mean to update status)
--
status: open -> pending
___
Python tracker
<https://bugs.python.org/issue32819>
___
_
Change by Alex Gaynor :
--
keywords: +patch
pull_requests: +6118
___
Python tracker
<https://bugs.python.org/issue29613>
___
___
Python-bugs-list mailin
Alex Gaynor added the comment:
New changeset c87eb09d2e3783b0b5dc0d7cb304050cbcc86ad3 by Alex Gaynor in branch
'master':
bpo-29613: Added support for SameSite cookies (GH-6413)
https://github.com/python/cpython/commit/c87eb09d2e3783b0b5dc0d7cb304050cbcc86ad3
--
n
Change by Alex Gaynor :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Alex Gaynor added the comment:
Good catch.
--
versions: +Python 3.8 -Python 3.7
___
Python tracker
<https://bugs.python.org/issue29613>
___
___
Python-bugs-list m
Alex Garel added the comment:
Hello, I think this is a really important feature, it hits me hard those days.
It would also solve https://bugs.python.org/issue19173 in a nice way.
--
nosy: +alex-garel
___
Python tracker
<https://bugs.python.
Alex Gaynor added the comment:
Berker your patch looks good to me.
Convert it to a PR and then merge?
--
nosy: +alex
___
Python tracker
<https://bugs.python.org/issue991
Alex Gaynor added the comment:
None of the above :-) I'd expect the last one, but with quoting.
You should not be able to set fields in a cookie by injection.
--
___
Python tracker
<https://bugs.python.org/iss
Alex Walters added the comment:
Is this the same as the clang/llvm C1 that you can enable from inside Visual
Studio?
--
nosy: +tritium
___
Python tracker
<https://bugs.python.org/issue33
Alex Walters added the comment:
When supporting platforms comes up, there's a usual list of questions,
especially for windows. I can remember two of them off the top of my head:
* Are you suggesting that CPython's build system move away from MSVC as the
platform compiler for Windo
Change by Alex Walters :
--
nosy: +tritium
___
Python tracker
<https://bugs.python.org/issue27546>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alex Gaynor added the comment:
I'd be in favor of backporting this to the 2.x - encouraging reliance on the
nonsense behaviour of putting IPAddresses in DNS Names or relying on CN over
SAN is bad, and we shouldn't encourage it.
--
nosy: +A
Alex Gaynor added the comment:
If anyone has needed a workaround in the past 9 years and hasn't yet found one:
https://github.com/pyca/cryptography/pull/3968/commits/3b585f803891e750d0ca5861b5a29e16b779bc16
--
nosy: +alex
___
Python tracker
&
Change by Alex Dzyoba :
--
nosy: +alexdzyoba
___
Python tracker
<https://bugs.python.org/issue14465>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alex Dzyoba :
--
pull_requests: +3990
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue14465>
___
___
Python-bugs-list mai
New submission from Alex Corcoles :
Hi,
$ python3
Python 3.5.3 (default, Jan 19 2017, 14:11:04)
>>> import abc
>>> class Foo(abc.ABC):
... pass
...
>>> Foo()
<__main__.Foo object at 0x7f253e6dcb38>
I think declaring a class as ABC without declaring any ab
Alex Corcoles added the comment:
Are you referring to something akin to Java's marker interfaces? That is, a
class with no methods which you inherit from just for semantic meaning (e.g.
Java's serializable interface that you implement to indicate that the class is
designed for pick
New submission from Alex Walters :
ActiveState has stopped accepting new recipes on their website, and migrated
all current recipes to a Github repo. I have seen no official announcement of
a shutdown date for the code.activestate.com website, but it's future has to be
in que
Alex Walters added the comment:
All recipes are MIT licensed unless otherwise noted on the recipe itself.
However, AFAICT, all the recipes that are linked to in the docs are written by
Raymond Hettinger, so I don't think licensing will be that big of an issue. We
know where he is, w
Change by Alex Gaynor :
--
nosy: +orsenthil
___
Python tracker
<https://bugs.python.org/issue33661>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Alex Grönholm :
Having names on tasks helps tremendously when something goes wrong in a complex
asyncio application. Threads have names and even trio has the ability to name
its tasks. This would also greatly benefit PyCharm's concurrency visualization:
New submission from Alex DeLorenzo :
Example:
from typing import NamedTuple
from dataclasses import dataclass, asdict
class NamedTupleAttribute(NamedTuple):
example: bool = True
@dataclass
class Data:
attr1: bool
attr2: NamedTupleAttribute
data = Data(True, NamedTupleAttribute
Alex Grönholm added the comment:
I also couldn't figure out yet why PyUnicode_Check() was necessary in the first
place. Doesn't PyObject_Str() just increment the refcount if the argument is
already a string?
Eric, please explain why these changes shou
Alex Grönholm added the comment:
Yury, I have no objections. Furthermore, it would be nice to expose the
coroutine object publicly, like curio and trio do. It would make life simpler
for me in some cases.
--
___
Python tracker
<ht
Alex Grönholm added the comment:
Ok, I understand. But is the conversion a bad thing then?
--
___
Python tracker
<https://bugs.python.org/issue34270>
___
___
Alex Grönholm added the comment:
> It's not a bad thing, it's just that we don't do it in C Task and we do it in
> pure Python Task. Eric wants us to synchronize them so that in a very
> unlikely scenario where someone uses subclasses of str for names they will
>
901 - 1000 of 1613 matches
Mail list logo