[issue29988] with statements are not ensuring that __exit__ is called if __enter__ succeeds

2019-09-07 Thread Ryan Hiebert
Change by Ryan Hiebert : -- nosy: +ryanhiebert ___ Python tracker <https://bugs.python.org/issue29988> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37980] regression when passing numpy bools to sorted(..., reverse=r)

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

[issue37650] TemporaryDirectory objects should LOCK_SH to avoid being deleted by systemd-tmpfiles

2019-07-22 Thread Ryan Gonzalez
New submission from Ryan Gonzalez : If e.g. a tar archive is extracted that has dates from several months ago, if systemd-tmpfiles runs to clean up data, then it may delete that data while the directory is still being used. This can be avoided by holding a LOCK_SH on the directory while it&#

[issue37536] ctypes.create_string_buffer fails on windows with non-BMP characters

2019-07-09 Thread Ryan McCampbell
Ryan McCampbell added the comment: Oops my bad, didn't realize this was already fixed -- ___ Python tracker <https://bugs.python.org/issue37536> ___ ___

[issue37536] ctypes.create_string_buffer fails on windows with non-BMP characters

2019-07-09 Thread Ryan McCampbell
Change by Ryan McCampbell : -- versions: +Python 3.6 ___ Python tracker <https://bugs.python.org/issue37536> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37536] ctypes.create_string_buffer fails on windows with non-BMP characters

2019-07-09 Thread Ryan McCampbell
Change by Ryan McCampbell : -- components: +ctypes type: -> behavior ___ Python tracker <https://bugs.python.org/issue37536> ___ ___ Python-bugs-list mai

[issue37536] ctypes.create_string_buffer fails on windows with non-BMP characters

2019-07-09 Thread Ryan McCampbell
New submission from Ryan McCampbell : The ctypes.create_string_buffer function uses the length of the string to create the buffer if no size is provided. Since windows wide chars are UTF-16 the buffer may actually need to be larger to store surrogate pairs. This code crashes on windows

[issue37429] Python hangs on fork when a logger is in use in a background thread

2019-06-27 Thread Ryan Petrello
Ryan Petrello added the comment: Actually, I think I *am* seeing this on 3.7: (gdb) bt #0 0x7f130d530adb in futex_abstimed_wait (cancel=true, private=, abstime=0x0, expected=0, futex=0x142c6d0) at ../nptl/sysdeps/unix/sysv/linux/sem_waitcommon.c:43 #1 do_futex_wait (sem=sem@entry

[issue37429] Python hangs on fork when a logger is in use in a background thread

2019-06-27 Thread Ryan Petrello
Ryan Petrello added the comment: Also, for what it's worth, I'm *not* able to reproduce this hang in Python 3.7.0. -- ___ Python tracker <https://bugs.python.o

[issue37429] Python hangs on fork when a logger is in use in a background thread

2019-06-27 Thread Ryan Petrello
Ryan Petrello added the comment: Here's the stack of one the hung child processes under py2.7: (gdb) py-bt #4 Waiting for a lock (e.g. GIL) #5 Waiting for a lock (e.g. GIL) #7 Frame 0x7f346a925430, for file /usr/lib64/python2.7/Queue.py, line 118, in put (self=, maxsize=0, all_tasks

[issue37429] Python hangs on fork when a logger is in use in a background thread

2019-06-27 Thread Ryan Petrello
Ryan Petrello added the comment: This issue seems _very_ similar to https://bugs.python.org/issue6721, but I wasn't able to encounter the exact stack I've been seeing on my end. Specifically, when I run the reproducer script in this issue (hang.py) for a few minutes, hung child

[issue37429] Python hangs on fork when a logger is in use in a background thread

2019-06-27 Thread Ryan Petrello
New submission from Ryan Petrello : It's possible to cause Python child processes to encountered a deadlock and hang on fork by: 1) Spawning one or more threads in a parent process 2) Have one of those threads emit log lines 3) Have the main thread use os.fork() 4) In the child

[issue35495] argparse does not honor default argument for nargs=argparse.REMAINDER argument

2019-05-27 Thread Ryan Govostes
Ryan Govostes added the comment: Thanks Michael for all of the examples. After reading them all, I concur that "it can be hard to conceptualize what the exact behavior should be." A documentation change is warranted, at the least. However the argparse documentation, while great

[issue35495] argparse does not honor default argument for nargs=argparse.REMAINDER argument

2019-05-07 Thread Ryan Govostes
Ryan Govostes added the comment: Just don’t run the last line which is just an echoing of the output of parser.parse_args() repeated. The Namespace type would need to be imported if you really wanted to but there’s no point. On Tuesday, May 7, 2019, Michael Blahay wrote: > > Michael

[issue36823] shutil.copytree copies directories and files but fails with that same directory with '[Errno 1] Operation not permitted')

2019-05-07 Thread Ryan Avery
Ryan Avery added the comment: I'm actually not sure what the expected behavior would be, because I can use the os module to copy, rename, and remove files and folders in this mounted File Share. Before encountering this error, I would expect shutil to do the same. But since this error com

[issue36823] shutil.copytree copies directories and files but fails with that same directory with '[Errno 1] Operation not permitted')

2019-05-06 Thread Ryan Avery
New submission from Ryan Avery : I am trying to use shutil.copytree on an Azure VM that has Azure FileStorage mounted with SMB 3.0. When I run the following to copy directories from one location on my Azure File Storage to another location on my File Storage, the whole directory

[issue36646] os.listdir() got permission error in Python3.6 but it's fine in Python2.7

2019-04-17 Thread Ryan
Ryan added the comment: PS D:\workspace> python Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import os >>

[issue36646] os.listdir() got permission error in Python3.6 but it's fine in Python2.7

2019-04-17 Thread Ryan
Ryan added the comment: I ran "python3" because I rename the execute file for distincting with python2 exe. PS D:\workspace> (get-command python3).source C:\Python36_64\python3.exe There is no problem for my dev environment, it's an obviously different output for the sam

[issue36646] os.listdir() got permission error in Python3.6 but it's fine in Python2.7

2019-04-16 Thread Ryan
Ryan added the comment: Hi Steven, > PermissionError: [WinError 5] 拒绝访问。: 'L:\\Temp' to EN > PermissionError: [WinError 5] Access denied.: 'L:\\Temp' -- ___ Python tracker <https

[issue36646] os.listdir() got permission error in Python3.6 but it's fine in Python2.7

2019-04-16 Thread Ryan
Ryan added the comment: Hi Steven, Thanks for your reply, I paste the output I executed just now as below. You can see that the both version of Python are running in the same shell with the same permission. And the frequency of this problem is always happen. BTW, the network disk is an

[issue36646] os.listdir() got permission error in Python3.6 but it's fine in Python2.7

2019-04-16 Thread Ryan
New submission from Ryan : My script need scan a netdisk directory to get the content of it. I use os.listdir() method for an easy implement, then I got permission error when executing in Python 3.x, but the same code is working fine in Python 2.7,I attached a screenshot for explaining the

[issue35907] Unnecessary URL scheme exists to allow file:// reading file in urllib

2019-04-09 Thread Ryan Ware
Change by Ryan Ware : -- nosy: +ware ___ Python tracker <https://bugs.python.org/issue35907> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue35906] Header Injection in urllib

2019-04-09 Thread Ryan Ware
Change by Ryan Ware : -- nosy: +ware ___ Python tracker <https://bugs.python.org/issue35906> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue30458] [CVE-2019-9740][security] CRLF Injection in httplib

2019-04-09 Thread Ryan Ware
Change by Ryan Ware : -- nosy: +ware ___ Python tracker <https://bugs.python.org/issue30458> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue28494] is_zipfile false positives

2019-01-30 Thread Matthew Ryan
Change by Matthew Ryan : -- nosy: +mryan1539 ___ Python tracker <https://bugs.python.org/issue28494> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35495] argparse does not honor default argument for nargs=argparse.REMAINDER argument

2018-12-14 Thread Ryan Govostes
Change by Ryan Govostes : -- versions: +Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7 ___ Python tracker <https://bugs.python.org/issue35

[issue35495] argparse does not honor default argument for nargs=argparse.REMAINDER argument

2018-12-14 Thread Ryan Govostes
New submission from Ryan Govostes : import argparse parser = argparse.ArgumentParser() parser.add_argument('things', nargs=argparse.REMAINDER, default=['nothing']) parser.parse_args([]) >>> Namespace(things=[]) Since there were no unparsed arguments remaini

[issue35474] mimetypes.guess_all_extensions potentially mutates list

2018-12-12 Thread Ryan McCampbell
New submission from Ryan McCampbell : The mimetypes.guess_all_extensions function is defined as: def guess_all_extensions(self, type, strict=True): type = type.lower() extensions = self.types_map_inv[True].get(type, []) if not strict: for ext in self.types_map_inv[False

[issue31956] Add start and stop parameters to the array.index()

2018-11-29 Thread Ryan G.
Ryan G. added the comment: This functionality is useful to me. Is this issue still alive? If not, how can I help? -- nosy: +Ryan G. ___ Python tracker <https://bugs.python.org/issue31

[issue26660] tempfile.TemporaryDirectory() cleanup exception if nonwriteable or non-searchable files or directories created

2018-11-19 Thread Ryan Zoeller
Change by Ryan Zoeller : -- nosy: +rtzoeller ___ Python tracker <https://bugs.python.org/issue26660> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24303] OSError 17 due to _multiprocessing/semaphore.c assuming a one-to-one Pid -> process mapping.

2018-10-30 Thread Ryan Petrello
Ryan Petrello added the comment: Any chance this patch was every applied to Python3? It looks to me like 3.6 has the old code: https://github.com/python/cpython/blob/3.6/Modules/_multiprocessing/semaphore.c#L448 -- nosy: +ryan.petrello

[issue31405] shutil.which doesn't find files without PATHEXT extension on Windows

2018-09-26 Thread Ryan McCampbell
Ryan McCampbell added the comment: This is how windows looks up commands, as well as the built in "where" command. (Note that windows doesn't actually distinguish between "executable" files and just plain old files, so this could be confusing for UNIX users... a tex

[issue34029] tkinter.filedialog.askdirectory() crashing before dialog opens when importing pywinauto

2018-07-03 Thread Ryan
Ryan added the comment: Okay so I'm an idiot and forgot that I'd commented out the pywinauto import in one of my project files, which is how I found out that was the issue in the first place. Crash is still occurring after a pywinauto reinstall. -- status: clos

[issue34029] tkinter.filedialog.askdirectory() crashing before dialog opens when importing pywinauto

2018-07-03 Thread Ryan
Ryan added the comment: It seems reinstalling pywinauto has fixed this issue for now - I have no idea what could have caused it in the first place though. -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.p

[issue34029] tkinter.filedialog.askdirectory() crashing before dialog opens when importing pywinauto

2018-07-03 Thread Ryan
Change by Ryan : Added file: https://bugs.python.org/file47667/minimal_file.py ___ Python tracker <https://bugs.python.org/issue34029> ___ ___ Python-bugs-list mailin

[issue34029] tkinter.filedialog.askdirectory() crashing before dialog opens when importing pywinauto

2018-07-03 Thread Ryan
Change by Ryan : -- title: tkinter.filedialog.askdirectory() crashing before dialog opens -> tkinter.filedialog.askdirectory() crashing before dialog opens when importing pywinauto ___ Python tracker <https://bugs.python.org/issu

[issue34029] tkinter.filedialog.askdirectory() crashing before dialog opens

2018-07-03 Thread Ryan
Change by Ryan : -- nosy: +serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue34029> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34029] tkinter.filedialog.askdirectory() crashing before dialog opens

2018-07-03 Thread Ryan
New submission from Ryan : I'm creating a GUI application that needs to give the user the option to change a folder that's used for saving data. I managed to track it down to the import of pywinauto to the application. All other filedialogs seem to work, it's only askdirector

[issue32347] System Integrity Protection breaks shutil.copystat()

2017-12-17 Thread Ryan Govostes
Change by Ryan Govostes : -- keywords: +patch pull_requests: +4806 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32347> ___ ___ Py

[issue32347] System Integrity Protection breaks shutil.copystat()

2017-12-16 Thread Ryan Govostes
New submission from Ryan Govostes : On macOS, shutil.copystat() uses chflags() to try to copy filesystem flags from the source to destination. In recent years, Apple introduced System Integrity Protection, which prevents modification of system files. These files have the non-standard

[issue31705] test_sha256 from test_socket fails on ppc64le arch

2017-10-13 Thread Ryan C. Decker
Ryan C. Decker added the comment: I seem to be having this issue on CentOS 7.4 but running on x86_64 instead of ppc64le. I have attached an strace using version 4.17 (the lastest version from scl) created as follows: strace -s 128 -e trace=%network -o trace ./python -m test -v test_socket -m

[issue31405] shutil.which doesn't find files without PATHEXT extension on Windows

2017-09-09 Thread Ryan McCampbell
New submission from Ryan McCampbell: On windows, shutil.which does not match the semantics of built-in command lookup. If you pass the name of a script like foo.py and the PATHEXT variable doesn't include .py it will search for foo.py.exe, foo.py.bat, foo.py.cmd, etc. but not foo.py,

[issue31242] Add SSLContext.set_verify_callback()

2017-08-20 Thread Ryan Finnie
New submission from Ryan Finnie: At the moment, SSLContext.verify_mode() allows for three modes when dealing with Purpose.CLIENT_AUTH / server_side=True: - CERT_NONE (server does not request client certificate, client does not provide it) - CERT_OPTIONAL (server requests client certificate

[issue30469] Inconsistent Execution of Generic Descriptor Attributes

2017-05-24 Thread Ryan Morshead
Ryan Morshead added the comment: Is there a reason that `call_method` is not used in `slot_tp_descr_get` -- ___ Python tracker <http://bugs.python.org/issue30

[issue30469] Inconsistent Execution of Generic Descriptor Attributes

2017-05-24 Thread Ryan Morshead
New submission from Ryan Morshead: When the `__get__`, `__set__`, or `__delete__` attribute of a descriptor is not a method, and is instead a generic callable, the first argument of that callable is inconsistent: class Callable(object): def __call__(self, first, *args, **kwargs

[issue30376] Curses documentation refers to incorrect type

2017-05-15 Thread Ryan Jarvis
New submission from Ryan Jarvis: Currently the Python curses documentation refers to `WindowObject` multiple times in the documentation. The actual type signature is `_curses.curses window`. WindowObject does not exist. Seen at 16.11.1. Textbox objects and curses.initscr() for both

[issue11913] sdist refuses README.rst

2017-03-28 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: FWIW, I opened a PR for this: https://github.com/python/cpython/pull/563 -- nosy: +refi64 ___ Python tracker <http://bugs.python.org/issue11

[issue11913] sdist refuses README.rst

2017-03-27 Thread Ryan Gonzalez
Changes by Ryan Gonzalez : -- pull_requests: +754 ___ Python tracker <http://bugs.python.org/issue11913> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29104] Left bracket remains in format string result when '\' preceeds it

2017-03-15 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: Serhiy: if you want, you can give me your email and I'll submit a PR for you. If you want to do it yourself, just: Download hub: https://hub.github.com/ git clone python/cpython cpython-git cd cpython-git git fork curl https://raw.githubuserconten

[issue29527] Travis: doc job is broken

2017-02-10 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: Trying to fix this in https://github.com/python/cpython/pull/9...but... Currently there are approx *pause for effect* 6,245 warnings! Out of those, around 6,243 are 'reference target not found' warnings, spanning over 290 files: /media/ryan/stuff/c

[issue11339] annotation for class being defined

2017-01-12 Thread Ryan Hiebert
Changes by Ryan Hiebert : -- nosy: +ryanhiebert ___ Python tracker <http://bugs.python.org/issue11339> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28982] multiprocessing.Queue.get(block=True, timeout=0) always raises queue.Empty

2016-12-17 Thread Ryan Brindley
Ryan Brindley added the comment: I've updated the PR to also include raising a ValueError for timeout values < 0. This behavior mimics that of queue.Queue (noting here again that queue.Queue handles timeout = 0). -- ___ Python tracke

[issue28982] multiprocessing.Queue.get(block=True, timeout=0) always raises queue.Empty

2016-12-16 Thread Ryan Brindley
Ryan Brindley added the comment: In addition, queue.Queue supports timeout value of 0 and its documentation says "non-negative number". -- ___ Python tracker <http://bugs.python.o

[issue28982] multiprocessing.Queue.get(block=True, timeout=0) always raises queue.Empty

2016-12-16 Thread Ryan Brindley
Ryan Brindley added the comment: So, the code handles timeout = 0 on systems where time.time() returns an int. Look at the following snippet and consider 2 assumptions: (1) time.time() returns an int, and (2) self._rlock.acquire call takes less than a second if block

[issue28982] multiprocessing.Queue.get(block=True, timeout=0) always raises queue.Empty

2016-12-15 Thread Ryan Brindley
New submission from Ryan Brindley: Hey dev team, According to the following test, `q.get(True, 0)` always raises queue.Empty. from multiprocessing import Queue q = Queue() q.put('foo') q.get(True, 0) # raises Empty This result throws me off as I was expecting a similar res

[issue28960] Small typo in Thread.join docs

2016-12-14 Thread Ryan
Ryan added the comment: Removing the comma instead of the double-dash -- Added file: http://bugs.python.org/file45898/fixdoc2.patch ___ Python tracker <http://bugs.python.org/issue28

[issue28960] Small typo in Thread.join docs

2016-12-13 Thread Ryan
New submission from Ryan: There is a '--' before a ',' that doesn't make sense here: https://docs.python.org/3/library/threading.html#threading.Thread.join -- assignee: docs@python components: Documentation files: fixdoc.patch keywords: patch messages: 283101

[issue2786] Names in function call exception should have class names, if they're methods

2016-10-25 Thread Ryan Gonzalez
Changes by Ryan Gonzalez : -- nosy: +Ryan.Gonzalez ___ Python tracker <http://bugs.python.org/issue2786> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28536] Show the qualified name when a call fails

2016-10-25 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: HAHA, I lied. :D Attached is what I have so far. -- keywords: +patch Added file: http://bugs.python.org/file45225/0001-Make-failed-calls-to-methods-show-the-fully-qualifie.patch ___ Python tracker <h

[issue28536] Show the qualified name when a call fails

2016-10-25 Thread Ryan Gonzalez
New submission from Ryan Gonzalez: e.g. make this: class X: def __init__(self): pass X(1) print something like this: TypeError: X.__init__() takes 1 positional argument but 2 were given instead of: TypeError: __init__() takes 1 positional argument but 2 were given I'm tryi

[issue28489] Fix comment in tokenizer.c

2016-10-20 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: Ugh, hit Submit too soon. I meant to say the patch that has 20:13 as the date (I should've probably given them different names...). -- ___ Python tracker <http://bugs.python.org/is

[issue28489] Fix comment in tokenizer.c

2016-10-20 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: @eric.smith How's this instead? -- Added file: http://bugs.python.org/file45160/0001-Fix-comment-in-tokenizer.c.patch ___ Python tracker <http://bugs.python.org/is

[issue28489] Fix comment in tokenizer.c

2016-10-20 Thread Ryan Gonzalez
New submission from Ryan Gonzalez: Attached is a little fix for a comment in tokenizer.c. I noticed that it was never updated for the inclusion of f-strings. -- assignee: docs@python components: Documentation files: 0001-Fix-comment-in-tokenizer.c.patch keywords: patch messages: 279056

[issue28466] SIGALRM fails to interrupt time.sleep() call on Python 3.6

2016-10-17 Thread Ryan Petrello
New submission from Ryan Petrello: I may have found a bug in SIGALRM handling in Python3.5. I've not been able to reproduce the same issue in Python2.7 or 3.4. Here's a simple example that illustrates the issue (which I'm able to reproduce on OS X 10.11.3 El Capitan a

[issue28466] SIGALRM fails to interrupt time.sleep() call on Python 3.5

2016-10-17 Thread Ryan Petrello
Changes by Ryan Petrello : -- title: SIGALRM fails to interrupt time.sleep() call on Python 3.6 -> SIGALRM fails to interrupt time.sleep() call on Python 3.5 ___ Python tracker <http://bugs.python.org/issu

[issue26647] ceval: use Wordcode, 16-bit bytecode

2016-09-13 Thread Ryan May
Changes by Ryan May : -- nosy: +Ryan May ___ Python tracker <http://bugs.python.org/issue26647> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26110] Speedup method calls 1.2x

2016-09-13 Thread Ryan May
Changes by Ryan May : -- nosy: +Ryan May ___ Python tracker <http://bugs.python.org/issue26110> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26219] implement per-opcode cache in ceval

2016-09-13 Thread Ryan May
Changes by Ryan May : -- nosy: +Ryan May ___ Python tracker <http://bugs.python.org/issue26219> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27172] Add skip_bound_arg argument to inspect.Signature.from_callable()

2016-06-23 Thread Ryan Petrello
Ryan Petrello added the comment: Nick, That seems reasonable to me :) I've updated my library to just use inspect.getfullargspec for Py3. Thanks for taking the time to walk through this with me! -- ___ Python tracker <http://bugs.py

[issue27172] Add skip_bound_arg argument to inspect.Signature.from_callable()

2016-06-22 Thread Ryan Petrello
Ryan Petrello added the comment: Nick, My main reasoning for not using it is that it's marked as deprecated in the docstring, and I want to avoid relying on it if disappears in the future :) Warnings or not, the shim that I wrote doesn't use any deprecated code, so that's

[issue27345] GzipFile's readinto() reads gzip data instead of file data.

2016-06-22 Thread Ryan Birmingham
Ryan Birmingham added the comment: It seems to work as expected in python 3.5 (and at least up, presumably). I'll close it. Thank you. -- status: open -> closed ___ Python tracker <http://bugs.python.org

[issue27172] Add skip_bound_arg argument to inspect.Signature.from_callable()

2016-06-22 Thread Ryan Petrello
Ryan Petrello added the comment: Nick, My use case is an issue of backwards compatibility and multiple Python version support for a library that makes prolific use of the legacy argspec (args, varargs, varkw, defaults) namedtuple, *including* the bound self argument behavior. argspec and

[issue27172] Add skip_bound_arg argument to inspect.Signature.from_callable()

2016-06-20 Thread Ryan Petrello
Ryan Petrello added the comment: Yury/Nick, Any word on this? I know it's minor, but I'd love to see this make it into Python3.6. -- ___ Python tracker <http://bugs.python.o

[issue27345] GzipFile's readinto() reads gzip data instead of file data.

2016-06-18 Thread Ryan Birmingham
New submission from Ryan Birmingham: In cases where libraries try to call readinto(), the results are unexpected (the gzip data). Shouldn't it instead raise UnsupportedOperation for readinto() (and truncate())? -- components: IO files: gzip_readinto.patch keywords: patch mes

[issue27172] Add skip_bound_arg argument to inspect.Signature.from_callable()

2016-06-01 Thread Ryan Petrello
Changes by Ryan Petrello : Added file: http://bugs.python.org/file43090/signature-from-callable-skip-bound-arg.patch ___ Python tracker <http://bugs.python.org/issue27

[issue27172] Add skip_bound_arg argument to inspect.Signature.from_callable()

2016-06-01 Thread Ryan Petrello
Changes by Ryan Petrello : Added file: http://bugs.python.org/file43089/signature-from-callable-skip-bound-arg.patch ___ Python tracker <http://bugs.python.org/issue27

[issue27172] Add skip_bound_arg argument to inspect.Signature.from_callable()

2016-06-01 Thread Ryan Petrello
Changes by Ryan Petrello : Added file: http://bugs.python.org/file43087/signature-from-callable-skip-bound-arg.patch ___ Python tracker <http://bugs.python.org/issue27

[issue26735] os.urandom(2500) fails on Solaris 11.3

2016-04-12 Thread Matthew Ryan
Matthew Ryan added the comment: Yes, I've verified that: * the issue existed in the default branch as of this morning. * the patch applies cleanly against both 3.5 and default, and addresses the issue in both branches. -- ___ Python tracker

[issue26735] os.urandom(2500) fails on Solaris 11.3

2016-04-12 Thread Matthew Ryan
Matthew Ryan added the comment: The new patch looks fine; I used __sun__ rather than sun out of habit (C standard requires system specific macros be in the reserved namespace), but either will work. I found the original problem through debugging with GDB, so I know getrandom() was being called

[issue26735] os.urandom(2500) fails on Solaris 11.3

2016-04-11 Thread Matthew Ryan
New submission from Matthew Ryan: On Solaris 11.3 (intel tested, but I assume issue is on SPARC as well), I found the following fails: import os os.urandom(2500) The above throws OSError: [Errno 22] Invalid argument. It turns out that the Solaris version of getrandom() is limited to

[issue26577] inspect.getclosurevars returns incorrect variable when using class member with the same name as other variable

2016-03-19 Thread Ryan Fox
New submission from Ryan Fox: If a variable 'x' exists in the global or local scope, and a function (also defined in the same scope as 'x', or lower) refers only to a member named 'x' of an object, inspect.getclosurevars will include a reference to the variable,

[issue26368] grammatical error in documentation

2016-02-15 Thread Ryan Stuart
New submission from Ryan Stuart: The note for 18.5.5.1. Stream functions is missing a word. It should read "Note The top-level functions in this module are meant **as** convenience wrappers only; there’s really nothing special there, and if they don’t do exactly what you want, feel fr

[issue25957] sockaddr_l2 lacks CID, address type (AF_BLUETOOTH sockets)

2015-12-28 Thread Mike Ryan
Mike Ryan added the comment: AF_BLUETOOTH also lacks support for hci_channel in sockaddr_hci for BTPROTO_HCI sockets: https://git.kernel.org/cgit/bluetooth/bluez.git/tree/lib/hci.h?h=5.37#n2340 This feature has been present in BlueZ since 2010: https://git.kernel.org/cgit/bluetooth/bluez.git

[issue25957] sockaddr_l2 lacks CID, address type (AF_BLUETOOTH sockets)

2015-12-26 Thread Mike Ryan
New submission from Mike Ryan: The AF_BLUETOOTH socket type lacks support for specifying CID and address type in sockaddr_l2. These structure members have been present since 2009 and 2012 respectively: https://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=3de95535 https://git.kernel.org

[issue25546] python 3.5 installation problem; Error 0x80240017: Failed to execute MSU package

2015-11-03 Thread Ryan Franklin
New submission from Ryan Franklin: Python 3.5 will not install on my Windows 7 Pro machine. The observed failure is : Error 0x80240017: Failed to execute MSU package. This appears to be an open problem with Python 3.5. The same does not have any problems with the Python 3.4.1 installations

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-11-01 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: Are there no binaries? Pretty sure it isn't your device. I'd think a compiler issue. What are you using, and what version? You have insane determination! :D On November 1, 2015 8:34:21 AM CST, Cyd Haselton wrote: > >Cyd Haselton added the

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-08-26 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: I don't think so. I believe that switch is just to enable writing gdb extensions in Python. On August 26, 2015 9:34:29 AM CDT, Cyd Haselton wrote: > >Cyd Haselton added the comment: > >UPDATE: >Still working on the test_hash issue; not

[issue24941] Add classproperty as builtin class

2015-08-26 Thread Ryan Hiebert
Changes by Ryan Hiebert : -- nosy: +ryanhiebert ___ Python tracker <http://bugs.python.org/issue24941> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-08-22 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: After typing 'run', enter 'bt' and post the results. On Sat, Aug 22, 2015 at 3:06 PM, Cyd Haselton wrote: > > Cyd Haselton added the comment: > > On August 22, 2015 2:47:42 PM CDT, Ryan Gonzalez > wrote: > > >

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-08-22 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: I'm assuming gdb still doesn't work? On August 22, 2015 1:06:41 PM CDT, Cyd Haselton wrote: > >Cyd Haselton added the comment: > >Update: >I found this bug report (https://bugs.python.org/issue23786) and >re-compiled python w

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-08-21 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: Bus error is basically unaligned memory access. ... ...do you feel like trying to get a backtrace from GDB again? :) (The last time likely didn't end well because the machine stack got somehow corrupted.) On Fri, Aug 21, 2015 at 2:04 PM, Cyd Haselton

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-08-21 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: On August 21, 2015 9:25:10 AM CDT, Cyd Haselton wrote: > >Cyd Haselton added the comment: > >Question for Ryan Gonzalez: >Given this information... > >On August 20, 2015 8:03:13 PM CDT, Russell Keith-Magee > wrote: >> >>R

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-08-17 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: Wait, did you compile this with Clang? On August 17, 2015 9:24:50 AM CDT, Cyd Haselton wrote: > >Cyd Haselton added the comment: > >Result: > >(gdb) bt >#0 0xb6a63cc8 in ?? () >#1 0xb6a5feb0 in ?? () >Backtrace stopped: previous fr

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-08-15 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: What if you run: bt ? On August 15, 2015 7:32:37 PM CDT, Cyd Haselton wrote: > >Cyd Haselton added the comment: > >I thought porting gdb would be the difficult part of getting debug >info. I was so wrong. > >Here is what I have

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-08-12 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: Doesn't Python still have debug symbols? The system ones don't matter too much. On August 12, 2015 6:21:23 AM CDT, Cyd Haselton wrote: > >Cyd Haselton added the comment: > >After struggling to get helpful output from gdb it is lookin

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-07-25 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: So...I have *no* clue why _struct can't be found. Can you use gdb to get the segfault backtrace like you did before? On July 25, 2015 6:56:10 AM CDT, Cyd Haselton wrote: > >Cyd Haselton added the comment: > >I assume so; I'm using wha

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-06-30 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: On June 30, 2015 8:14:34 AM CDT, Cyd Haselton wrote: > >Cyd Haselton added the comment: > >Your question about -fPIE brings up a question: How should the >differences between Android 5 and previous versions be handled in >regards to this is

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-06-29 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: You compiled with -fPIE and GCC, right? I know the Android Clang seems broken. On June 29, 2015 7:09:25 AM CDT, Cyd Haselton wrote: > >Cyd Haselton added the comment: > >FYI, Figured out that running ./configure with --with-pydebug does NOT >def

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-06-05 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: On June 5, 2015 6:22:07 AM CDT, Cyd Haselton wrote: > >Cyd Haselton added the comment: > >Will do...if by "try the tests now" you mean "run 'make tests'" Pretty much. >...but it may be about a week or two as a) I&#

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-06-04 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: Fixes for readline and _crypt done. -- Added file: http://bugs.python.org/file39629/lib_fixes.patch ___ Python tracker <http://bugs.python.org/issue23

<    1   2   3   4   5   >