[issue16877] Odd behavior of ~ in os.path.abspath and os.path.realpath

2013-01-06 Thread Ian Shields
Ian Shields added the comment: David, Tilde expansion is different to globbing. Globbing in Python doesn't automatically do tilde expansion either. >>> glob.glob("~") [] Looking at the documentation, I don't think it would be practical to add documentation to e

[issue16877] Odd behavior of ~ in os.path.abspath and os.path.realpath

2013-01-06 Thread Ian Shields
Ian Shields added the comment: I think that's an excellent resolution to the problem. Thank you. -- ___ Python tracker <http://bugs.python.org/issue16877> ___ ___

[issue17091] thread.lock.acquire docstring bug

2013-02-03 Thread Ian Cordasco
Ian Cordasco added the comment: Was this already taken care of? http://docs.python.org/2/library/thread.html?highlight=thread.lock#thread.lock.acquire and http://docs.python.org/3.3/library/_thread.html?highlight=thread.lock#_thread.lock.acquire don't make any mention of returning

[issue17091] thread.lock.acquire docstring bug

2013-02-03 Thread Ian Cordasco
Ian Cordasco added the comment: Thanks. I couldn't find it in the source but I just found Modules/_threadmodule.c I tested the method from the interpreter to confirm the changes I was making to the docstring. Attached is a diff that covers the change. -- Added file:

[issue12779] Update packaging documentation

2013-02-04 Thread Ian Cordasco
Changes by Ian Cordasco : -- nosy: +icordasc, larry ___ Python tracker <http://bugs.python.org/issue12779> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6761] Class calling

2013-02-04 Thread Ian Cordasco
Changes by Ian Cordasco : -- nosy: +icordasc ___ Python tracker <http://bugs.python.org/issue6761> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17124] import subprocess hangs for ~25 seconds, 700+ files in dir - py 2.7.3, & 2.6.6

2013-02-04 Thread Ian Cordasco
Ian Cordasco added the comment: As a further note, on python 2.6, I just touched a file called time.py, and in the interpreter imported subprocess. It didn't hang because the file was empty but it did generate a pyc file. This is almost certainly the root of your problem. I doubt this

[issue17124] import subprocess hangs for ~25 seconds, 700+ files in dir - py 2.7.3, & 2.6.6

2013-02-04 Thread Ian Cordasco
Ian Cordasco added the comment: Could you give us the contents of your time.py file? I wonder if there's something in that file that is causing the import to hang. It's the only reason I can think of as to why the time.pyc file shows up. Also, if you want to check before-hand,

[issue17124] import subprocess hangs for ~25 seconds, time.py file in dir - py 2.7.3, & 2.6.6

2013-02-04 Thread Ian Cordasco
Ian Cordasco added the comment: Dave, at some point during the import of subprocess the time module is apparently imported. Because of how imports work, it is importing your local copy instead of the standard library version. I would wager money that if you ran time python time.py (on your

[issue13655] Python SSL stack doesn't have a default CA Store

2013-02-05 Thread Ian Cordasco
Ian Cordasco added the comment: Éric's suggestion is also implemented in python-requests if I remember correctly. It allows for user-specified PEM files and tries to find the operating system bundle. This would be a wonderful inclusion in the standard library. -- nosy: +ico

[issue19514] Merge duplicated _Py_IDENTIFIER identifiers in C code

2013-11-07 Thread Ian Cordasco
Changes by Ian Cordasco : -- nosy: +icordasc ___ Python tracker <http://bugs.python.org/issue19514> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10510] distutils upload/register should use CRLF in HTTP requests

2014-06-20 Thread Ian Cordasco
Ian Cordasco added the comment: Bumping this once more. -- ___ Python tracker <http://bugs.python.org/issue10510> ___ ___ Python-bugs-list mailing list Unsub

[issue10721] Remove HTTP 0.9 server support

2014-06-26 Thread Ian Cordasco
Changes by Ian Cordasco : -- nosy: +icordasc ___ Python tracker <http://bugs.python.org/issue10721> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17849] Missing size argument in readline() method for httplib's class LineAndFileWrapper

2014-06-30 Thread Ian Cordasco
Changes by Ian Cordasco : -- nosy: +icordasc ___ Python tracker <http://bugs.python.org/issue17849> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21308] PEP 466: backport ssl changes

2014-07-24 Thread Ian Cordasco
Changes by Ian Cordasco : -- nosy: +icordasc ___ Python tracker <http://bugs.python.org/issue21308> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3566] httplib persistent connections violate MUST in RFC2616 sec 8.1.4.

2014-07-25 Thread Ian Cordasco
Changes by Ian Cordasco : -- nosy: +icordasc ___ Python tracker <http://bugs.python.org/issue3566> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21039] pathlib strips trailing slash

2014-08-08 Thread Ian Cordasco
Changes by Ian Cordasco : -- nosy: +icordasc ___ Python tracker <http://bugs.python.org/issue21039> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19494] urllib2.HTTPBasicAuthHandler (or urllib.request.HTTPBasicAuthHandler) doesn't work with GitHub API v3 and similar

2014-09-01 Thread Ian Cordasco
Changes by Ian Cordasco : -- nosy: +icordasc ___ Python tracker <http://bugs.python.org/issue19494> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19494] urllib2.HTTPBasicAuthHandler (or urllib.request.HTTPBasicAuthHandler) doesn't work with GitHub API v3 and similar

2014-09-01 Thread Ian Cordasco
Ian Cordasco added the comment: > However, one sticking point is whether that optimization may also have > adverse effects in terms of security (since we would always be sending auth > headers, even when the server doesn't ask for it...). Antoine's concern has always bee

[issue14130] memoryview: add multi-dimensional indexing and slicing

2014-02-07 Thread Ian Beaver
Ian Beaver added the comment: If there is any way to get this implemented, it is needed. For one, the docs on memoryview make no mention that indexing and slicing doesn't work with multi-dimensional data which led me to believe it was supported until I tried using it. A second reas

[issue14130] memoryview: add multi-dimensional indexing and slicing

2014-02-10 Thread Ian Beaver
Ian Beaver added the comment: Its not multi-dimensional slicing to get a subset of objects as in Numpy, but more the ability to slice a buffer containing a multi-dimensional array as raw bytes. Buffer objects in Python2.7 are dimensionality naive so it works fine. You were correct that I

[issue1230540] sys.excepthook doesn't work in threads

2009-08-03 Thread Ian Beaver
Ian Beaver added the comment: I found that the workaround suggested doesn't work when you have a subclass of threading.Thread and you want to catch everything in the module that contains the class to a common log. Say you have a module with a socket server that spawns a thread on accep

[issue1230540] sys.excepthook doesn't work in threads

2009-08-03 Thread Ian Beaver
Ian Beaver added the comment: Instead of using decorators, this is a slightly simpler modification to the proposed workaround that allows for any subclassed run method to also be caught. def installThreadExcepthook(): """ Workaround for sys.excepthook thread bu

[issue3786] _curses, _curses_panel & _multiprocessing can't be build in 2.6b3 w/ SunStudio 12

2009-09-22 Thread Ian Donaldson
Ian Donaldson added the comment: For those not desiring the use of the chgat function and wishing to avoid all the fun suggested in the last post (like me), and just get a _cursesmodule built on Solaris 9 or 10... I enclose a simple patch. -- nosy: +iandekit Added file: http

[issue3876] multiprocessing does not compile on systems which do not define sem_timedwait

2009-09-22 Thread Ian Donaldson
Ian Donaldson added the comment: Similarly, compile fails on Solaris 9 due to lack of sem_timedwait() so here is a patch for that. Solaris 10 was the first Solaris to have this function so the patch adapts for that case. -- nosy: +iandekit Added file: http://bugs.python.org/file14952

[issue3876] multiprocessing does not compile on systems which do not define sem_timedwait

2009-09-22 Thread Ian Donaldson
Ian Donaldson added the comment: Similar to aix-patch, I enclose what I did for compilation on Solaris 9, using macros from Solaris 10's headers. These differ slightly to the aix ones, but I don't know if the difference matters. (alignment related) -- Added

[issue6974] test_posix getcwd test leaves tmp dir

2009-09-22 Thread Ian Donaldson
New submission from Ian Donaldson : whilst debugging the getcwd test on Solaris 9 I noticed that the rmtree() failed, as on Solaris rmdir(2) returns EINVAL if cwd is the named directory. Fix is to reorder the rmtree and chdir, see attached patch. -- components: Tests files: EKIT.PATCH4

[issue6976] getcwd hangs and leaks mem on Solaris <= 9 in very long file name case

2009-09-22 Thread Ian Donaldson
New submission from Ian Donaldson : test_posix hung on Solaris 9 ... traced to getcwd test hanging. This in turn was traced to the very long filename case... It seems posixmodule was modified (since py2.4.3 at least) to retry getcwd with a bigger buffer if ERANGE occurs. However on Solaris

[issue5114] 2.5.4.3 and 2.6.2 / test_threading hangs

2009-09-23 Thread Ian Donaldson
Ian Donaldson added the comment: FWIW it hangs on Solaris 9 also (sparc + x86) -- nosy: +iandekit ___ Python tracker <http://bugs.python.org/issue5114> ___ ___

[issue5819] Add PYTHONPREFIXES environment variable

2009-04-23 Thread Ian Bicking
Ian Bicking added the comment: This has a similar purpose to virtualenv, but using an environmental variable. An earlier package, workingenv, also used an environmental variable, and this led to a set of problems. The biggest problem is that the environmental variable is inherited by

[issue5819] Add PYTHONPREFIXES environment variable

2009-04-23 Thread Ian Bicking
Ian Bicking added the comment: Also with respect to the patch, for consistency there needs to be changes to distutils to make use of this variable. PYTHONUSERBASE included changes so that you can install based on that variable. -- ___ Python

[issue6148] Help well execute code it is called on

2009-05-29 Thread Ian Miers
New submission from Ian Miers : when calling help() from the python interpreter on a function whose default argument is provided by another function ( e.g. def foo(bar=baz() ) : ), help will call baz(). This can cause problems because baz() can alter statefull data like a file or

[issue9216] FIPS support for hashlib

2017-01-17 Thread Ian Cordasco
Ian Cordasco added the comment: So I see the argument on both sides of this discussion. Having those optional arguments for all the functions seems like an obvious blocker. If a submodule is a blocker, what if we provide a context-manager to signal this? -- nosy: +icordasc

[issue27187] Relax __all__ location requirement in PEP 8

2016-06-02 Thread Ian Lee
Changes by Ian Lee : -- nosy: +IanLee1521 ___ Python tracker <http://bugs.python.org/issue27187> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27187] Relax __all__ location requirement in PEP 8

2016-06-02 Thread Ian Lee
Ian Lee added the comment: I think that it should be updated to specify that all dunders ('__all__', '__version__', '__author__', etc) should be placed after the module docstring and before any imports. See issue-27187-patch1.txt for a possible update

[issue27187] Relax __all__ location requirement in PEP 8

2016-06-02 Thread Ian Lee
Ian Lee added the comment: I might also suggest that the entire "Version bookkeeping" section could be removed in this case, as it would be covered by my newly added dunder section. -- ___ Python tracker <http://bugs.python.o

[issue27187] Relax __all__ location requirement in PEP 8

2016-06-02 Thread Ian Lee
Changes by Ian Lee : Added file: http://bugs.python.org/file43134/issue-27187-patch2.txt ___ Python tracker <http://bugs.python.org/issue27187> ___ ___ Python-bugs-list m

[issue23061] Update pep8 to specify explicitly 'module level' imports at top of file

2016-06-02 Thread Ian Lee
Ian Lee added the comment: Are there any other concerns with the patch that I would be able to clean up? -- nosy: +barry ___ Python tracker <http://bugs.python.org/issue23

[issue27187] Relax __all__ location requirement in PEP 8

2016-06-02 Thread Ian Lee
Ian Lee added the comment: I added a comment on a pull request related to this that shows some of the cases that we probably don't want to allow: https://github.com/PyCQA/pycodestyle/pull/523#issuecomment-223464775 -- ___ Python tracker

[issue27191] Add formatting around methods in PEP 8

2016-06-02 Thread Ian Lee
New submission from Ian Lee: Noticed a couple methods in the text that aren't backtick quoted. -- assignee: docs@python components: Documentation files: rst-formatting.txt messages: 267015 nosy: IanLee1521, barry, docs@python priority: normal severity: normal status: open title

[issue27187] Relax __all__ location requirement in PEP 8

2016-06-07 Thread Ian Lee
Ian Lee added the comment: Good catch. I'm uploading a new patch that addresses ``from __future__`` imports issue explicitly. -- ___ Python tracker <http://bugs.python.org/is

[issue27187] Relax __all__ location requirement in PEP 8

2016-06-07 Thread Ian Lee
Changes by Ian Lee : Added file: http://bugs.python.org/file43296/issue-27187-patch3.txt ___ Python tracker <http://bugs.python.org/issue27187> ___ ___ Python-bugs-list m

[issue27568] "HTTPoxy", use of HTTP_PROXY flag supplied by attacker in CGI scripts

2016-07-29 Thread Ian Cordasco
Changes by Ian Cordasco : -- nosy: +icordasc ___ Python tracker <http://bugs.python.org/issue27568> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27649] multiprocessing on Windows does not properly manage class attributes

2016-07-29 Thread Ian Cordasco
New submission from Ian Cordasco: In trying to add support for multiprocessing on Windows in Flake8, I found that the behaviour of the module is significantly different than on Unix. If you have a class that has class-level attributes on Unix, and you change them, put the class into a Queue

[issue27649] multiprocessing on Windows does not properly manage class attributes

2016-07-29 Thread Ian Cordasco
Ian Cordasco added the comment: Why did you remove Python 3.3? It's still affected by this behaviour. -- ___ Python tracker <http://bugs.python.org/is

[issue17697] Incorrect stacktrace from pdb

2013-04-11 Thread Ian Kelly
Ian Kelly added the comment: The bug also occurs using 32-bit Python 3.3.1 on Windows 7. -- nosy: +ikelly ___ Python tracker <http://bugs.python.org/issue17

[issue12458] Tracebacks should contain the first line of continuation lines

2013-04-29 Thread Ian Cordasco
Changes by Ian Cordasco : -- nosy: +icordasc ___ Python tracker <http://bugs.python.org/issue12458> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17994] Change necessary in platform.py to support IronPython

2013-05-16 Thread Ian Cordasco
New submission from Ian Cordasco: Stemming from a StackOverflow question[1] and a conversation with Marc-Andre Lemburg via email, I'm filing this issue without any easy way of confirming it myself. It seems that the logic in platform.python_implementation() has been obsoleted by a c

[issue19494] urllib2.HTTPBasicAuthHandler (or urllib.request.HTTPBasicAuthHandler) doesn't work with GitHub API v3 and similar

2014-10-09 Thread Ian Cordasco
Ian Cordasco added the comment: This behaviour is allowed by the RFC but not encouraged. There's a difference between MUST, SHOULD, and MAY Sending this pre-emptively could well cause unexpected errors for users. Changing the default even in 3.5 will make writing compatible code diff

[issue22911] Segfault on recursive itertools.chain.from_iterable

2014-11-21 Thread Ian Kelly
New submission from Ian Kelly: I expect this should result in a recursion depth exceeded error, not a segmentation fault. $ cat test.py import itertools l = [] it = itertools.chain.from_iterable(l) l.append(it) next(it) $ python3 test.py Segmentation fault (core dumped) -- components

[issue23061] Update pep8 to specify explicitly 'module level' imports at top of file

2014-12-15 Thread Ian Lee
New submission from Ian Lee: Minor update pep8 to specify explicitly that "Imports at top of file" refers specifically to module level imports, per input from Nick Coghlan @ https://github.com/jcrocholl/pep8/pull/304#issuecomment-66939162 -- assignee: docs@python

[issue23061] Update pep8 to specify explicitly 'module level' imports at top of file

2014-12-21 Thread Ian Lee
Ian Lee added the comment: So one concern that was brought up on GitHub was the fact that currently this is not actually followed universally in the Python standard library. In particular there are 636 errors in the standard library ``python pep8.py --select E402 --statistics /usr/lib

[issue23061] Update pep8 to specify explicitly 'module level' imports at top of file

2014-12-21 Thread Ian Lee
Ian Lee added the comment: I should add that I would be happy to patch the standard libraries to be compliant w.r.t. the imports at top of the files. -- ___ Python tracker <http://bugs.python.org/issue23

[issue23155] unittest: object has no attribute '_removed_tests'

2015-01-04 Thread Ian Cordasco
Changes by Ian Cordasco : -- nosy: +icordasc ___ Python tracker <http://bugs.python.org/issue23155> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23155] unittest: object has no attribute '_removed_tests'

2015-01-04 Thread Ian Cordasco
Ian Cordasco added the comment: Keep in mind, this could also be a problem with NetBSD's distribution of python. -- ___ Python tracker <http://bugs.python.org/is

[issue23182] Update grammar tests to use new style

2015-01-07 Thread Ian Lee
New submission from Ian Lee: Per Guido's suggestion on the p...@python.org mailing list, I'm creating this issue to update the argument annotation tests at cpython/Lib/test/test_grammar.py to use the new style wording Guido requested on GitHub [1] that I proposed and was merged int

[issue23182] Update grammar tests to use new style for annotated function definitions

2015-01-07 Thread Ian Lee
Changes by Ian Lee : -- title: Update grammar tests to use new style -> Update grammar tests to use new style for annotated function definitions ___ Python tracker <http://bugs.python.org/issu

[issue23460] Decimals do not obey ':g' exponential notation formatting rules

2015-02-13 Thread Ian Kelly
New submission from Ian Kelly: >>> '{:g}'.format(D('0.01')) '0.01' Formatted with '{:e}', the exponent would be -6, so per the formatting rules described under the 'g' specifier at https://docs.python.org/3/library/string.h

[issue23481] SSL module should not offer RC4 based cipher suites for clients by default

2015-02-18 Thread Ian Cordasco
Ian Cordasco added the comment: It's clearly no longer acceptable to include RC4 when the IETF has felt it necessary to publish an RFC prohibiting its usage. -- nosy: +icordasc ___ Python tracker <http://bugs.python.org/is

[issue24363] httplib fails to handle semivalid HTTP headers

2015-06-02 Thread Ian Cordasco
Ian Cordasco added the comment: FWIW, the proper section to reference now is 3.2 in RFC 7230 (https://tools.ietf.org/html/rfc7230#section-3.2) -- nosy: +icordasc ___ Python tracker <http://bugs.python.org/issue24

[issue24363] httplib fails to handle semivalid HTTP headers

2015-06-02 Thread Ian Cordasco
Ian Cordasco added the comment: Also I'm marking this as affecting 3.3, 3.4, and 3.5. I haven't tested against 3.5, but it definitely fails on 3.4. I hope to be able to test against 3.5.0b2 tonight -- versions: +Python 3.3, Python 3.4,

[issue24667] OrderedDict.popitem() raises KeyError

2015-07-19 Thread Ian Cordasco
Changes by Ian Cordasco : -- nosy: +icordasc ___ Python tracker <http://bugs.python.org/issue24667> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25787] Add an explanation what happens with subprocess parent and child processes when signals are sent

2015-12-09 Thread Ian Macartney
Ian Macartney added the comment: I don't have much experience with what should and shouldn't be in the python docs, however I was recently bitten by a subtlety in signal/subprocess that might be worth documenting. Anything written to stdout in a signal handler could end up in the s

[issue24658] open().write() fails on 2 GB+ data (OS X)

2015-12-22 Thread Ian Carroll
Ian Carroll added the comment: Write still fails on 3.5.1 and OS X 10.11.2. I'm no dev, so can someone explain how to use the patch while it's under review? -- nosy: +Ian Carroll ___ Python tracker <http://bugs.python.o

[issue25675] doc for BaseEventLoop.run_in_executor() says its a coroutine, but it is not

2016-01-27 Thread Ian Kelly
Ian Kelly added the comment: The asyncio docs also have this note, so this is technically not a bug: Note: In this documentation, some methods are documented as coroutines, even if they are plain Python functions returning a Future. This is intentional to have a freedom of tweaking the

[issue26221] asynco run_in_executor swallows StopIteration

2016-01-27 Thread Ian Kelly
New submission from Ian Kelly: I was playing around with this class for adapting regular iterators to async iterators using BaseEventLoop.run_in_executor: import asyncio class AsyncIteratorWrapper: def __init__(self, iterable, loop=None, executor=None): self._iterator = iter

[issue26221] asynco run_in_executor swallows StopIteration

2016-01-27 Thread Ian Kelly
Ian Kelly added the comment: The idea is that the wrapped iterator is something potentially blocking, like a database cursor that doesn't natively support asyncio. Usage would be something like this: async def get_data(): cursor.execute('select * from stuff') a

[issue26221] asynco run_in_executor swallows StopIteration

2016-01-27 Thread Ian Kelly
Ian Kelly added the comment: Fair enough. I think there should be some documentation though to the effect that coroutines aren't robust to passing StopIteration across coroutine boundaries. It's particularly surprising with PEP-492 coroutines, since those aren't even iterators

[issue26221] asynco run_in_executor swallows StopIteration

2016-01-31 Thread Ian Kelly
Ian Kelly added the comment: The place I'd expect to find it is in https://docs.python.org/3/library/asyncio-task.html#coroutines, in the list of "things a coroutine can do". The first two bullets in the list say that any exceptions raised will be propagated. Maybe there s

[issue26221] awaiting asyncio.Future swallows StopIteration

2016-02-20 Thread Ian Kelly
Ian Kelly added the comment: Chris Angelico suggested on python-list that another possibly useful thing to do would be to add a "from __future__ import generator_stop" to asyncio/futures.py. This would at least have the effect of causing "await future" to raise a Run

[issue26763] Update PEP-8 regarding binary operators

2016-04-15 Thread Ian Lee
New submission from Ian Lee: Following up from discussion on python-ideas [1] about updating PEP-8 regarding wrapping lines before rather than after binary operators. -- files: wrap-before-binary-operator.patch keywords: patch messages: 263453 nosy: IanLee1521, gvanrossum priority

[issue26763] Update PEP-8 regarding binary operators

2016-04-15 Thread Ian Lee
Ian Lee added the comment: Discussion link missing from msg263453: https://mail.python.org/pipermail/python-ideas/2016-April/039774.html -- ___ Python tracker <http://bugs.python.org/issue26

[issue26763] Update PEP-8 regarding binary operators

2016-04-15 Thread Ian Lee
Ian Lee added the comment: Link to GitHub branch with the patch as a commit [1]. [1] https://github.com/python/peps/compare/master...IanLee1521:issue26763 -- ___ Python tracker <http://bugs.python.org/issue26

[issue26763] Update PEP-8 regarding binary operators

2016-04-15 Thread Ian Lee
Ian Lee added the comment: > Aren't there many other examples in the PEP that need to be adjusted, since > we're changing the style not just for 'and' and 'or' but for all binary > operators? Admittedly I'd only looked in that one section last

[issue26977] Unnecessary line in statistics.pvariance

2016-05-08 Thread Ian Foote
New submission from Ian Foote: In statistics.pvariance, the sum of squares helper function (_ss) is called twice and the first return value is unused: https://github.com/python/cpython/blob/9043c80b0daaddb5bff1e37432d503910506727f/Lib/statistics.py#L596 -- components: Library (Lib

[issue23476] SSL cert verify fail for "www.verisign.com"

2015-03-01 Thread Ian Cordasco
Ian Cordasco added the comment: So it seems like https://rt.openssl.org/Ticket/Display.html?user=guest&pass=guest&id=3621 includes a fix that we may be able to update Python to use (safely) by default. If we don't then this will continue to be an issue. Other referen

[issue23639] Not documented special names

2015-03-13 Thread Ian Lee
Changes by Ian Lee : -- nosy: +IanLee1521 ___ Python tracker <http://bugs.python.org/issue23639> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23794] http package should support HTTP/2

2015-03-27 Thread Ian Cordasco
Changes by Ian Cordasco : -- nosy: +icordasc ___ Python tracker <http://bugs.python.org/issue23794> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23794] http package should support HTTP/2

2015-03-27 Thread Ian Cordasco
Changes by Ian Cordasco : -- nosy: +Lukasa ___ Python tracker <http://bugs.python.org/issue23794> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23989] Add recommendation to use requests to the documentation, per summit

2015-04-17 Thread Ian Cordasco
Changes by Ian Cordasco : -- nosy: +icordasc ___ Python tracker <http://bugs.python.org/issue23989> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24107] Add support for retrieving the certificate chain

2015-05-01 Thread Ian Cordasco
Changes by Ian Cordasco : -- nosy: +icordasc ___ Python tracker <http://bugs.python.org/issue24107> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28546] Better explain setting pdb breakpoints

2016-10-28 Thread Ian Kelling
New submission from Ian Kelling: https://docs.python.org/3.7/library/pdb.html: "The typical usage to break into the debugger from a running program is to insert import pdb; pdb.set_trace() at the location you want to break into the debugger." A plain read of this says: insert c

[issue3495] site module doc typo

2008-08-02 Thread Ian Stokes-Rees
New submission from Ian Stokes-Rees <[EMAIL PROTECTED]>: http://docs.python.org/lib/module-site.html | sed -e "s/2.3/2.5/g" -- assignee: georg.brandl components: Documentation messages: 70647 nosy: georg.brandl, ijstokes severity: normal status: open title: site module d

[issue35786] get_lock() method is not present for Values created using multiprocessing.Manager()

2020-07-06 Thread Ian Jacob Bertolacci
Ian Jacob Bertolacci added the comment: What's being done about this? I would say this is less "misleading documentation" and more "incorrect implementation" There is also not an obvious temporary work-around. -- nosy: +IanBertolacci _

[issue41883] ctypes pointee goes out of scope, then pointer in struct dangles and crashes

2020-09-28 Thread Ian M. Hoffman
New submission from Ian M. Hoffman : A description of the problem, complete example code for reproducing it, and a work-around are available on SO at the link: https://stackoverflow.com/questions/64083376/python-memory-corruption-after-successful-return-from-a-ctypes-foreign-function In

[issue41883] ctypes pointee goes out of scope, then pointer in struct dangles and crashes

2020-09-29 Thread Ian M. Hoffman
Ian M. Hoffman added the comment: You are correct. After further review, I found an older ctypes issue #12836 which was then enshrined in a workaround in the numpy.ndarray.ctypes interface to vanilla ctypes. https://numpy.org/doc/stable/reference/generated/numpy.ndarray.ctypes.html Numpy

[issue41883] ctypes pointee goes out of scope, then pointer in struct dangles and crashes

2020-09-30 Thread Ian M. Hoffman
Ian M. Hoffman added the comment: I agree with you. When I wrote "desired behavior" I intended it to mean "my selfishly desired outcome of not loading my struct with a dangling pointer." This issue seems to have descended into workarounds that treat the symptoms; I&#x

[issue35236] urllib.request.urlopen throws on some valid FTP files

2018-11-13 Thread Ian Liu Rodrigues
New submission from Ian Liu Rodrigues : Some FTP clients will not allow changing to a directory if the path does not ends with a slash. For example, try out this in a public FTP: from ftplib import FTP ftp = FTP('ftp.unicamp.br') ftp.login() ftp.cwd('pub/libreoffice') #

[issue38869] Unexpectedly variable result

2019-11-20 Thread Ian Carr-de Avelon
New submission from Ian Carr-de Avelon : I can't understand why the result of changes() in the example file changes. I get: [[6.90642211e-310] [1.01702662e-316] [1.58101007e-322]] [[0.] [0.] [0.]] with an Ubuntu 14 system that has had a lot of changes made. I've checked the sa

[issue16225] list.remove in for loop

2012-10-14 Thread Ian Carr-de Avelon
New submission from Ian Carr-de Avelon: I'm new to Python and I've hit what appears to me to be a bug, but may be a "feature", so a tutorial bug. I tried to loop through the items in a list, test each and remove those which fail the test. Simplifying to illustrate: >&g

<    1   2