Change by Ryan Hiebert :
--
nosy: +ryanhiebert
___
Python tracker
<https://bugs.python.org/issue29988>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Ryan May :
--
nosy: +Ryan May
___
Python tracker
<https://bugs.python.org/issue37980>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Ryan McCampbell added the comment:
Oops my bad, didn't realize this was already fixed
--
___
Python tracker
<https://bugs.python.org/issue37536>
___
___
Change by Ryan McCampbell :
--
versions: +Python 3.6
___
Python tracker
<https://bugs.python.org/issue37536>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Ryan McCampbell :
--
components: +ctypes
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue37536>
___
___
Python-bugs-list mai
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
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
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
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
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
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
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
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
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
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
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
>>
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
Ryan added the comment:
Hi Steven,
> PermissionError: [WinError 5] 拒绝访问。: 'L:\\Temp'
to EN
> PermissionError: [WinError 5] Access denied.: 'L:\\Temp'
--
___
Python tracker
<https
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
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
Change by Ryan Ware :
--
nosy: +ware
___
Python tracker
<https://bugs.python.org/issue35907>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by Ryan Ware :
--
nosy: +ware
___
Python tracker
<https://bugs.python.org/issue35906>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by Ryan Ware :
--
nosy: +ware
___
Python tracker
<https://bugs.python.org/issue30458>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Change by Matthew Ryan :
--
nosy: +mryan1539
___
Python tracker
<https://bugs.python.org/issue28494>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
Change by Ryan Zoeller :
--
nosy: +rtzoeller
___
Python tracker
<https://bugs.python.org/issue26660>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
Change by Ryan :
Added file: https://bugs.python.org/file47667/minimal_file.py
___
Python tracker
<https://bugs.python.org/issue34029>
___
___
Python-bugs-list mailin
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
Change by Ryan :
--
nosy: +serhiy.storchaka
___
Python tracker
<https://bugs.python.org/issue34029>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Ryan Govostes :
--
keywords: +patch
pull_requests: +4806
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue32347>
___
___
Py
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
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
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,
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
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
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
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
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
Changes by Ryan Gonzalez :
--
pull_requests: +754
___
Python tracker
<http://bugs.python.org/issue11913>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
Changes by Ryan Hiebert :
--
nosy: +ryanhiebert
___
Python tracker
<http://bugs.python.org/issue11339>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
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
Changes by Ryan Gonzalez :
--
nosy: +Ryan.Gonzalez
___
Python tracker
<http://bugs.python.org/issue2786>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
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
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
Changes by Ryan May :
--
nosy: +Ryan May
___
Python tracker
<http://bugs.python.org/issue26647>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ryan May :
--
nosy: +Ryan May
___
Python tracker
<http://bugs.python.org/issue26110>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ryan May :
--
nosy: +Ryan May
___
Python tracker
<http://bugs.python.org/issue26219>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
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
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
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
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
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
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
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
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,
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
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
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
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
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
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
Changes by Ryan Hiebert :
--
nosy: +ryanhiebert
___
Python tracker
<http://bugs.python.org/issue24941>
___
___
Python-bugs-list mailing list
Unsubscribe:
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:
> >
>
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
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
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
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
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
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
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
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
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
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
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
101 - 200 of 425 matches
Mail list logo