[issue14356] Distutils2 ignores site-local configuration

2012-03-20 Thread Alex Grönholm
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

[issue14357] Distutils2 does not work with virtualenv

2012-03-22 Thread Alex Grönholm
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

[issue14544] Limit "global" keyword name conflicts in language spec to those enforced by CPython

2012-04-10 Thread Alex Gaynor
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

[issue4130] Intel icc 9.1 does not support __int128_t used by ctypes

2012-04-13 Thread Alex Leach
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

[issue4130] Intel icc 9.1 does not support __int128_t used by ctypes

2012-04-15 Thread Alex Leach
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

[issue4130] Intel icc 9.1 does not support __int128_t used by ctypes

2012-04-15 Thread Alex Leach
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

[issue4130] Intel icc 9.1 does not support __int128_t used by ctypes

2012-04-16 Thread Alex Leach
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

[issue36999] Expose the coroutine object in asyncio task objects

2019-05-21 Thread Alex Grönholm
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

[issue36999] Expose the coroutine object in asyncio task objects

2019-05-21 Thread Alex Grönholm
Alex Grönholm added the comment: I'll look into making a PR. -- ___ Python tracker <https://bugs.python.org/issue36999> ___ ___ Python-bugs-list m

[issue36999] Expose the coroutine object in asyncio task objects

2019-05-30 Thread Alex Grönholm
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

[issue37210] Pure Python pickle module should not depend on _pickle.PickleBuffer

2019-06-09 Thread Alex Willmer
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

[issue37210] Pure Python pickle module should not depend on _pickle.PickleBuffer

2019-06-09 Thread Alex Willmer
Alex Willmer added the comment: Arggh, typo. I mean maximizing *your* convenience is paramount. -- ___ Python tracker <https://bugs.python.org/issue37

[issue37210] Pure Python pickle module should not depend on _pickle.PickleBuffer

2019-06-09 Thread Alex Willmer
Alex Willmer added the comment: Attempting a PR -- ___ Python tracker <https://bugs.python.org/issue37210> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37218] Default hmac.new() digestmod has not been removed from documentation

2019-06-10 Thread Alex Willmer
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

[issue37218] Default hmac.new() digestmod has not been removed from documentation

2019-06-10 Thread Alex Willmer
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

[issue37218] Default hmac.new() digestmod has not been removed from documentation

2019-06-10 Thread Alex Willmer
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

[issue37210] Pure Python pickle module should not depend on _pickle.PickleBuffer

2019-06-11 Thread Alex Willmer
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

[issue37210] Pure Python pickle module should not depend on _pickle.PickleBuffer

2019-06-11 Thread Alex Willmer
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

[issue37461] email.parser.Parser hang

2019-07-14 Thread Alex Gaynor
Change by Alex Gaynor : -- nosy: +alex ___ Python tracker <https://bugs.python.org/issue37461> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30749] Non-atomic and unusual (wrong) rename behavior under OS X, Python 2.7.13

2017-06-24 Thread Alex Groce
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

[issue30749] Non-atomic and unusual (wrong) rename behavior under OS X

2017-06-25 Thread Alex Groce
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

[issue30749] Non-atomic and unusual (wrong) rename behavior under OS X

2017-06-25 Thread Alex Groce
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

[issue30749] Non-atomic and unusual (wrong) rename behavior under OS X

2017-06-26 Thread Alex Groce
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"

[issue30749] Non-atomic and unusual (wrong) rename behavior under OS X

2017-06-26 Thread Alex Groce
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

[issue30319] Change socket.close() to ignore ECONNRESET

2017-07-04 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: -alex ___ Python tracker <http://bugs.python.org/issue30319> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30879] os.listdir(bytes) gives a list of bytes, but os.listdir(buffer) gives a list of unicodes

2017-07-08 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue30879> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30909] ServerProxy should not make requests with malformed XML

2017-07-12 Thread Alex Corcoles
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

[issue7727] xmlrpc library returns string which contain null ( \x00 )

2017-07-15 Thread Alex Corcoles
Changes by Alex Corcoles : -- nosy: +Alex Corcoles ___ Python tracker <http://bugs.python.org/issue7727> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7727] xmlrpc library returns string which contain null ( \x00 )

2017-07-15 Thread Alex Corcoles
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

[issue30951] Documentation error in inspect module

2017-07-17 Thread Alex Vig
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

[issue31039] Python an android must use ashmem instead of shmem

2017-07-25 Thread Alex Davies
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

[issue31039] Python on android must use ashmem instead of shmem

2017-07-25 Thread 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

[issue28414] SSL match_hostname fails for internationalized domain names

2017-08-06 Thread Alex Gaynor
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

[issue28414] SSL match_hostname fails for internationalized domain names

2017-08-06 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +dstufft, janssen ___ Python tracker <http://bugs.python.org/issue28414> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31209] MappingProxyType can not be pickled

2017-08-14 Thread Alex Hayes
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

[issue31209] MappingProxyType can not be pickled

2017-08-22 Thread Alex Hayes
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

[issue31209] MappingProxyType can not be pickled

2017-08-28 Thread Alex Hayes
Alex Hayes added the comment: Closing issue - thanks rhettinger -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue29707] os.path.ismount() always returns false for mount --bind on same filesystem

2017-08-31 Thread Alex Richman
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

[issue28938] match_hostname treats SAN IP address as DNS name and fails to check CN then

2017-09-05 Thread Alex Gaynor
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

[issue25115] SSL_set_verify_depth not exposed by the ssl module

2017-09-06 Thread Alex Gaynor
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

[issue29824] Hostname validation in SSL match_hostname()

2017-09-06 Thread Alex Gaynor
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

[issue27815] Make SSL suppress_ragged_eofs default more secure

2017-09-08 Thread Alex Gaynor
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

[issue25115] SSL_set_verify_depth not exposed by the ssl module

2017-09-12 Thread Alex Gaynor
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

[issue31453] ssl.PROTOCOL_TLS only select TLSv1.2

2017-09-13 Thread Alex Gaynor
Alex Gaynor added the comment: What operating system are you on? -- nosy: +Alex Gaynor ___ Python tracker <https://bugs.python.org/issue31453> ___ ___ Python-bug

[issue23606] ctypes.util.find_library("c") no longer makes sense

2017-03-10 Thread Alex Gaynor
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

[issue23606] ctypes.util.find_library("c") no longer makes sense

2017-03-10 Thread Alex Gaynor
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

[issue29810] Rename ssl.Purpose.{CLIENT,SERVER}_AUTH

2017-03-14 Thread Alex Gaynor
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

[issue29810] Rename ssl.Purpose.{CLIENT,SERVER}_AUTH

2017-03-14 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +christian.heimes, dstufft, janssen ___ Python tracker <http://bugs.python.org/issue29810> ___ ___ Python-bugs-list mailin

[issue29810] Rename ssl.Purpose.{CLIENT,SERVER}_AUTH

2017-03-14 Thread Alex Gaynor
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

[issue29810] Rename ssl.Purpose.{CLIENT,SERVER}_AUTH

2017-03-14 Thread Alex Gaynor
Alex Gaynor added the comment: Sounds good to me! -- ___ Python tracker <http://bugs.python.org/issue29810> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29873] Need a look for return value checking [_elementtree.c]

2017-03-21 Thread Alex CHEN
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

[issue29874] Need a look for return value checking [selectmodule.c]

2017-03-21 Thread Alex CHEN
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

[issue29874] Need a look for return value checking [selectmodule.c]

2017-03-21 Thread Alex CHEN
Changes by Alex CHEN : -- type: -> crash ___ Python tracker <http://bugs.python.org/issue29874> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue29876] Check for null return value [_elementtree.c : subelement]

2017-03-21 Thread Alex CHEN
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

[issue30001] CPython contribution docs reference missing /issuetracker page

2017-04-06 Thread Alex Jordan
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

[issue18617] AIA chasing for missing intermediate certificates on TLS connections

2017-05-17 Thread Alex Gaynor
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

[issue30420] Clarify kwarg handing for subprocess convenience APIs

2017-05-20 Thread Alex Gaynor
Changes by Alex Gaynor : -- pull_requests: +1781 ___ Python tracker <http://bugs.python.org/issue30420> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9883] minidom: AttributeError: DocumentFragment instance has no attribute 'writexml'

2017-05-22 Thread Alex Perry
Changes by Alex Perry : -- pull_requests: +1814 ___ Python tracker <http://bugs.python.org/issue9883> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30432] FileInput doesn't accept PathLike objects for file names

2017-05-22 Thread Alex Perry
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

[issue30434] multiprocessing AuthenticationError "digest sent was rejected"

2017-05-22 Thread Alex Perry
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

[issue27269] ipaddress: Wrong behavior with ::ffff:1.2.3.4 style IPs

2017-05-22 Thread Alex Perry
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

[issue27269] ipaddress: Wrong behavior with ::ffff:1.2.3.4 style IPs

2017-05-22 Thread Alex Perry
Changes by Alex Perry : -- pull_requests: +1831 ___ Python tracker <http://bugs.python.org/issue27269> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9883] minidom: AttributeError: DocumentFragment instance has no attribute 'writexml'

2017-05-22 Thread Alex Perry
Changes by Alex Perry : -- pull_requests: +1834 ___ Python tracker <http://bugs.python.org/issue9883> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30511] shutil.make_archive should not need to chdir (alternatively: make shutil.make_archive thread-safe)

2017-05-30 Thread Alex Gaynor
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

[issue30511] shutil.make_archive should not need to chdir (alternatively: make shutil.make_archive thread-safe)

2017-05-30 Thread Alex Gaynor
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

[issue30511] shutil.make_archive should not need to chdir (alternatively: make shutil.make_archive thread-safe)

2017-05-30 Thread Alex Gaynor
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

[issue30525] Expose SCTs on TLS connections

2017-05-31 Thread Alex Gaynor
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

[issue36410] Proposal to make strip/lstrip/rstrip more explicit

2019-03-23 Thread Alex Grigoryev
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

[issue36410] Proposal to make strip/lstrip/rstrip more explicit

2019-03-23 Thread Alex Grigoryev
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

[issue29883] asyncio: Windows Proactor Event Loop UDP Support

2019-04-04 Thread Alex Chandel
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

[issue22377] %Z in strptime doesn't match EST and others

2019-04-08 Thread Alex LordThorsen
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

[issue22377] %Z in strptime doesn't match EST and others

2019-04-10 Thread Alex LordThorsen
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

[issue12178] csv writer doesn't escape escapechar

2019-05-09 Thread Alex Shpilkin
Change by Alex Shpilkin : -- nosy: +Alex Shpilkin ___ Python tracker <https://bugs.python.org/issue12178> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32819] match_hostname() error reporting bug

2018-02-24 Thread Alex Gaynor
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

[issue32819] match_hostname() error reporting bug

2018-02-24 Thread Alex Gaynor
Alex Gaynor added the comment: (Didn't mean to update status) -- status: open -> pending ___ Python tracker <https://bugs.python.org/issue32819> ___ _

[issue29613] Support for SameSite Cookies

2018-04-07 Thread Alex Gaynor
Change by Alex Gaynor : -- keywords: +patch pull_requests: +6118 ___ Python tracker <https://bugs.python.org/issue29613> ___ ___ Python-bugs-list mailin

[issue29613] Support for SameSite Cookies

2018-04-07 Thread Alex Gaynor
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

[issue29613] Support for SameSite Cookies

2018-04-07 Thread Alex Gaynor
Change by Alex Gaynor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue29613] Support for SameSite Cookies

2018-04-08 Thread Alex Gaynor
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

[issue19993] Pool.imap doesn't work as advertised

2018-04-12 Thread Alex Garel
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.

[issue991266] Cookie.py does not correctly quote Morsels

2018-04-19 Thread Alex Gaynor
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

[issue991266] Cookie.py does not correctly quote Morsels

2018-04-19 Thread Alex Gaynor
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

[issue33351] Support compiling with clang-cl on Windows

2018-04-25 Thread Alex Walters
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

[issue33351] Support compiling with clang-cl on Windows

2018-04-25 Thread Alex Walters
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

[issue27546] Integrate tkinter and asyncio (and async)

2018-05-14 Thread Alex Walters
Change by Alex Walters : -- nosy: +tritium ___ Python tracker <https://bugs.python.org/issue27546> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23239] SSL match_hostname does not accept IP Address

2017-09-27 Thread Alex Gaynor
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

[issue2506] Add mechanism to disable optimizations

2017-10-11 Thread Alex Gaynor
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 &

[issue14465] xml.etree.ElementTree: add feature to prettify XML output

2017-10-14 Thread Alex Dzyoba
Change by Alex Dzyoba : -- nosy: +alexdzyoba ___ Python tracker <https://bugs.python.org/issue14465> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14465] xml.etree.ElementTree: add feature to prettify XML output

2017-10-17 Thread Alex Dzyoba
Change by Alex Dzyoba : -- pull_requests: +3990 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue14465> ___ ___ Python-bugs-list mai

[issue32060] Should an ABC fail if no abstract methods are defined?

2017-11-17 Thread Alex Corcoles
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

[issue32060] Should an ABC fail if no abstract methods are defined?

2017-11-17 Thread Alex Corcoles
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

[issue33598] ActiveState Recipes links in docs, and the apparent closure of Recipes

2018-05-22 Thread Alex Walters
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

[issue33598] ActiveState Recipes links in docs, and the apparent closure of Recipes

2018-05-25 Thread Alex Walters
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

[issue33661] urllib may leak sensitive HTTP headers to a third-party web site

2018-05-27 Thread Alex Gaynor
Change by Alex Gaynor : -- nosy: +orsenthil ___ Python tracker <https://bugs.python.org/issue33661> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34270] Add names to asyncio tasks

2018-07-29 Thread Alex Grönholm
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:

[issue34363] dataclasses.asdict() mishandles dataclass instance attributes that are instances of subclassed typing.NamedTuple

2018-08-08 Thread Alex DeLorenzo
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

[issue34270] Add names to asyncio tasks

2018-08-09 Thread Alex Grönholm
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

[issue34270] Add names to asyncio tasks

2018-08-09 Thread Alex Grönholm
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

[issue34270] Add names to asyncio tasks

2018-08-09 Thread Alex Grönholm
Alex Grönholm added the comment: Ok, I understand. But is the conversion a bad thing then? -- ___ Python tracker <https://bugs.python.org/issue34270> ___ ___

[issue34270] Add names to asyncio tasks

2018-08-09 Thread Alex Grönholm
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 >

<    5   6   7   8   9   10   11   12   13   14   >