New submission from ryan <[EMAIL PROTECTED]>:
Hello!
First of all, i'm not a programmer. I'm running Windows XP Pro. For the
past two/three weeks, every once in a while, my machine runs extremely
slow, and the only strange thing i see in the task manager is a
python.exe. When i s
New submission from ryan <[EMAIL PROTECTED]>:
Hello!
First of all, I'm nor a programmer.
Running WinXPpro.
Python.exe runs, using 112,000k mem, according to task manager.
This problem started about 3 weeks ago, have had machine for 3 years
without issues like this.
Please help m
ryan <[EMAIL PROTECTED]> added the comment:
Dear Mr Peterson:
The FAQ did help somewhat...i figured that it was some 3rd party app, yet i
have not downloaded any new programming recently, and it seems that python.exe
runs when it wants to, unrelated to a unique program that i use rarel
New submission from Ryan :
When using the SysLogHandler
(https://docs.python.org/3/library/logging.handlers.html#logging.handlers.SysLogHandler)
the supported facilities appear to be lagging the RFC (5454 ?), or at least
what is being supported in other mainstream languages. I Specifically
Ryan added the comment:
Thank you, this looks good. I'm pinned to 3.6 so while it won't work for me
currently, maybe it will in a few years.
For clarity and because I can't edit my original message, the RFC is 5424 (I
had mistakenly said 5454 but y
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
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
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:
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:
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
>>
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 :
--
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 :
Added file: https://bugs.python.org/file47667/minimal_file.py
___
Python tracker
<https://bugs.python.org/issue34029>
___
___
Python-bugs-list mailin
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
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:
This is not fixed. The documentation may be more correct now, but the behavior
still does not match Python 2 as purported.
The default bufsize changed in 3.3.1 is incorrect, at least when tested in
3.4.0 and 3.4.1.
Here is a test for systems with cat available
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
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:
UnicodeDecodeError
--
components: Tests
files: results
hgrepos: 308
messages: 242840
nosy: petrosr2
priority: normal
severity: normal
status: open
title: test_mailcap fails
type: crash
versions: Python 2.7
Added file: http://bugs.python.org/file39330/results
ryan added the comment:
running command over PuTTY on Ubuntu 3.13, python 2.7.6
$ ./python -m test test_mailcap
[1/1] test_mailcap
test test_mailcap failed -- Traceback (most recent call last):
File "/home/petrosr2/Documents/opensource/cpy/Lib/test/test_mailcap.py", lin
Ryan Fox added the comment:
If you change the class member 'x' to a different name like 'y', then cv
doesn't include 'x', but does include an unbound 'y'.
In both cases, the function isn't referring to a global variable, just the
class me
New submission from Ryan Freckleton:
This is a patch to implement a product() builtin function. It works
behaves similarly to reduce(operator.mul,...) but is implemented in C.
Tests and documentation are included in this patch.
--
components: Documentation, Library (Lib), Tests
files
New submission from Ryan Twitchell :
Use of importlib's import_module function with modules belonging to a library
can cause some modules to be imported twice, if such a module is referenced
from sibling modules, and from __init__ in the package. I suspect this is a
bug, or at best a nuan
Ryan Twitchell added the comment:
Confirmed that this patch fixes the behavior shown in my original example, with
3.2.
--
___
Python tracker
<http://bugs.python.org/issue13
New submission from Ryan Hollis :
Mac OSX Snow Leopard, Python 2.7,
The moment I paste anything into the editor window, it crashes. Also IDLE
crashes within a minute or two of opening, wether or not I actually do anything
with it after opening it.
uninstalled and reinstalled, didnt help
Changes by Ryan Seto :
--
nosy: -MrWerewolf
___
Python tracker
<http://bugs.python.org/issue7511>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Ryan Kelly :
According to the docs here:
http://docs.python.org/c-api/gcsupport.html
Any object that uses PyObject_GC_Track in its constructor must call
PyObject_GC_UnTrack in its deallocator. The CThunkObject in _ctypes does the
former but not the later. Attached
Changes by Ryan Kelly :
--
nosy: +rfk
___
Python tracker
<http://bugs.python.org/issue11682>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Changes by Ryan Kelly :
--
nosy: +rfk
___
Python tracker
<http://bugs.python.org/issue11816>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
New submission from Ryan Kelly :
Both file.truncate() and StringIO.truncate() accept an optional "size"
parameter to truncate the file to a specific size. SpooledTemporaryFile should
accept a similar parameter and pass it on.
The only tricky part is that truncate can potentially in
Ryan Kelly added the comment:
I went looking for places to update the documentation but the description of
SpooledTemporaryFile doesn't go into any detail of its methods, so I haven't
added anything. New patch fixes some whitespace issues.
I'd like to argue that this
Changes by Ryan Kelly :
Removed file:
http://bugs.python.org/file19027/spooledtemporaryfile_truncate.patch
___
Python tracker
<http://bugs.python.org/issue9957>
___
___
Ryan Seto added the comment:
I came across this issue while trying to install mercurial using easy_install.
I applied the vcvars4.diff to my distutils and this solved the problem.
Environment:
Python 2.6.6 (64 bit)
setuptools-0.6c11.tar.gz
installed using the following instructions:
http
Changes by Ryan Tucker :
--
nosy: +Ryan.Tucker
___
Python tracker
<http://bugs.python.org/issue1589>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ryan Coyner :
--
nosy: +rcoyner
___
Python tracker
<http://bugs.python.org/issue8728>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ryan Kelly added the comment:
Not sure if it's caused by the same thing, but I just got a segfault on the
same line in my own program. Running python 2.7.1.
I will try to dig out some more useful info but it's been a long time since I
chased a segfault...
--
nosy: +
Ryan Kelly added the comment:
Please remind me how to obtain an appropriate coredump (as I said, it's been a
*long* time...)
Doing "print bp" shows an out-of-bounds address as for the original submitter.
--
___
Python
Ryan Kelly added the comment:
attaching core dump from a freshly-compiled python 2.7.1 at with "-O0 -g" in
CFLAGS.
The code that is segfaulting is using pycrypto and sqlite3, so it may be that a
bug in one of these is trampling on something. No idea how to investigate an
Ryan Kelly added the comment:
Thanks for the help, I have tracked this down to a bug in PyCrypto. It was
increfing an object once but decrefing it twice.
Sorry for the noise.
--
___
Python tracker
<http://bugs.python.org/issue5
New submission from Ryan Kelly :
The docs for HTTPConnection.set_tunnel(host,port) are ambiguous. They simply
say "Set the host and the port for HTTP Connect Tunnelling". But should I
specify the address of the server *through* which I want to tunnel, or the
address of the *endpoi
Ryan Kelly added the comment:
Sorry, "endpoint" is just a noun that seemed to fit for me, I've no idea if
there is a standard term for this. Perhaps "origin server" if you follow the
terminology from the RFC?
By way of example, suppose I'm running a proxy o
Changes by Ryan Kelly :
--
nosy: +rfk
___
Python tracker
<http://bugs.python.org/issue10399>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
New submission from Thomas Ryan :
In 3.1.3, 3.1.2, maybe earlier...
xml.sax.parseString(string, handler, error_handler=handler.ErrorHandler())
Source code requires bytes, not a string as implied by function name and by the
documentation.
Exception thrown for strings.
Since the name includes
Ryan Arana added the comment:
Changed all occurrences of :class:`MatchObjects` to :ref:`match-objects` in
/Doc/library/re.rst
These changes were made to rev 78277.
--
keywords: +patch
nosy: +rarana
Added file: http://bugs.python.org/file16274/MatchObjectLinksFix.diff
Ryan Coyner added the comment:
Patch attached. Unit test and documentation included.
COMMITMSG:
Adds a new fixer to lib2to3 which replaces the deprecated builtin "file" with
"open".
--
keywords: +patch
nosy: +rcoyner
Added file: http://bugs.python.org/file1
Ryan Coyner added the comment:
You don't want to do c_size_t = c_void_p because that will prevent type
checking. We want c_size_t to be integers; setting it to c_void_p will accept
other values. The lines that define c_size_t are doing a sizeof check to
determine how many bits th
Ryan Coyner added the comment:
Okay, bug confirmed:
>>> m = email.message_from_string('Content-Disposition: inline; filename*0="foo
>>> \\"test"; filename*1="\\"bar"')
>>> m.get_filename()
'foo "tes
Ryan Arana added the comment:
Added .. class:: MatchObject and .. class:: RegexObject directives.
--
Added file: http://bugs.python.org/file16427/MatchObjectLinksFix.diff
___
Python tracker
<http://bugs.python.org/issue6
Ryan Coyner added the comment:
I thought the whole point was that file[1] was removed in 3.0[2]? Or, are you
saying that if somebody overloaded file with def file(...)? If that is the case
would it be reasonable to check like this?
>>> file in list(__builtins__.__dict__.value
Changes by Ryan Arana :
Removed file: http://bugs.python.org/file16274/MatchObjectLinksFix.diff
___
Python tracker
<http://bugs.python.org/issue6538>
___
___
Python-bug
Ryan Arana added the comment:
I tried to format the methods of the class(es) as they are formatted in other
files, which is why I added the whitespace.
I can go back and remove that if that's what would be preferred.
--
___
Python tracker
Ryan Coyner added the comment:
This patch and its tests still work. Any particular reason why it hasn't been
adopted yet?
--
nosy: +rcoyner
___
Python tracker
<http://bugs.python.org/i
Ryan Freckleton added the comment:
I've included a unified diff that explicitly states the behavior of &,
<, and > for escape/unescape in the documentation. It's based on
msandler's patch.
--
nosy: +ryan.freckleton
Added file: http://bugs.python.org/fil
Changes by Ryan Freckleton:
--
components: +Documentation
versions: +Python 2.6
_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1411695>
_
___
Pyth
New submission from Ryan Stutsman:
In current trunk (60097). Return from fork is not int but pid_t.
Treating this as an int causes total breakage on systems with 64-bit pids.
--
components: Library (Lib)
messages: 61926
nosy: stutsman
severity: normal
status: open
title: Return from
Ryan Stutsman added the comment:
Yeah; I shuold be able to provide one. I just hacked 2.4.4 to work so I
think I could provide a fix easily. The version I put together here is
rough, so I'll try to create a cleaner solution tonight or this weekend.
HiStar does (http://www.scs.stanfor
Ryan Stutsman added the comment:
> IIUC, HiStar is available in a 32-bit version,
> too, yet it may still use a 64-bit pid_t (Ryan, can
> you confirm whether that's the case?).
Great point. pid_t is always 64-bit on HiStar.
__
Tracker <[EMAIL
Ryan Stutsman added the comment:
Actually the current trunk of as of this morning (60484) is still broken
in a couple of ways. First, converting the pid_t using PyInt is a
problem and second the waitpids aren't corrected. This would cause
waits on invalid
New submission from Ryan Sturmer <[EMAIL PROTECTED]>:
Using the attached module, There's an asymmetry between fget and fset in
my properties. fget works fine, but fset isn't getting called. I'm
fairly sure I'm creating the property correctly. Try the following
Ryan Freckleton <[EMAIL PROTECTED]> added the comment:
Here's a patch including docstring and NEWS update for this backport.
--
keywords: +patch
nosy: +ryan.freckleton
Added file: http://bugs.python.org/file9859/patch.diff
__
Tracker <[E
New submission from Ryan Kelly :
On win32, ctypes.util.find_library uses os.path.exists() to check for
potential library files. This means it is quite happy to return a
directory instead of a file, if one happens to exist with the
appropriate name somewhere in the search path. Can this please
Ryan Freckleton added the comment:
PJE seems to have borrowed the time machine :-). Based on the code the
register function is already a decorator:
def register(typ, func=None):
if func is None:
return lambda f: register(typ, f)
registry[typ] = func
Ryan Freckleton added the comment:
I think that registering existing functions is an important use case, so
I vote for keeping the non-decorator version of register.
Another thing that we may want to document is that [simple]generic
doesn't dispatch based on registered abstract base cl
New submission from Lie Ryan :
I've been experimenting with namedtuple, it seems that string formatting
doesn't recognize namedtuple as mapping.
from collections import namedtuple
Nt = namedtuple('Nt', ['x', 'y'])
nt = Nt(12, 32)
print 'one = %(x)
Changes by Lie Ryan :
--
components: +Interpreter Core
versions: +Python 2.6
___
Python tracker
<http://bugs.python.org/issue5205>
___
___
Python-bugs-list mailin
Change by Ryan May :
--
nosy: +Ryan May
___
Python tracker
<https://bugs.python.org/issue37980>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Ryan Hiebert :
--
nosy: +ryanhiebert
___
Python tracker
<https://bugs.python.org/issue29988>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Ryan Hiebert :
--
nosy: +ryanhiebert
___
Python tracker
<https://bugs.python.org/issue31387>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Ryan Hiebert :
--
nosy: +ryanhiebert
___
Python tracker
<https://bugs.python.org/issue30491>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Ryan Govostes :
argparse supports consuming multiple command-line arguments with nargs=2, etc.
It converts them to the type given in the argument's type parameter.
argparse does not provide a good solution when the input arguments should be
different data types. F
Change by Ryan May :
--
nosy: +Ryan May
___
Python tracker
<https://bugs.python.org/issue33725>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Ryan Govostes :
The documentation for the io.BufferedRWPair class gives this warning:
> BufferedRWPair does not attempt to synchronize accesses to its underlying raw
> streams. You should not pass it the same object as reader and writer; use
> BufferedRandom in
Ryan Govostes added the comment:
The origin of this warning involves interleaving read and write operations, and
was added here: https://bugs.python.org/issue12213
I'm not sure if it applies to sockets, pipes, etc. though.
The pySerial documentation advises using io.BufferedRWPair
Change by Ryan Hiebert :
--
nosy: +ryanhiebert
___
Python tracker
<https://bugs.python.org/issue29687>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ryan Hiebert added the comment:
Thank you, Christian. It sounds like you believe that we should view the
`_get_socket` method as a public interface? That at least makes it possible to
use a proxy socket through an appropriate mechanism, which solves my use-case
Change by Ryan Hiebert :
--
nosy: +ryanhiebert
___
Python tracker
<https://bugs.python.org/issue43532>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Ryan McCampbell :
Until 3.8 the curses window class was not directly available in code, but now
it is available as `_curses.window`. This is not explicitly stated in the
documentation (although it is consistent with how the method signatures are
written). It is useful to
New submission from Ryan Tarpine :
Functions registered with unittest.addModuleCleanup are not called unless the
user defines tearDownModule in their test module.
This behavior is unexpected because functions registered with
TestCase.addClassCleanup are called even the user doesn't d
Ryan Hileman added the comment:
I just ran into this. GetTickCount64() is a bad choice even without improving
the Windows timer resolution, as every mutex wait will have 16ms of jitter.
Here are some lock.acquire(timeout=0.001) times measured with
time.perf_counter():
elapsed=21.215ms
Change by Ryan Hileman :
--
versions: +Python 3.10, Python 3.11, Python 3.9
___
Python tracker
<https://bugs.python.org/issue41299>
___
___
Python-bugs-list m
New submission from Ryan Hileman :
Related to https://bugs.python.org/issue41299#msg395220
Presumably `time.monotonic()` on Windows historically used GetTickCount64()
because QueryPerformanceCounter() could fail. However, that hasn't been the
case since Windows XP:
Change by Ryan Hileman :
--
keywords: +patch
pull_requests: +25157
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/26568
___
Python tracker
<https://bugs.python.org/issu
Ryan Hileman added the comment:
Ok, I filed a PR for this. I used pytime's interface to avoid duplicating the
QueryPerformanceFrequency() code.
I found a StackOverflow answer that says QueryPerformance functions will only
fail if you pass in an unaligned pointer: https://stackoverflow.
Ryan Hileman added the comment:
I found these two references:
-
https://stackoverflow.com/questions/35601880/windows-timing-drift-of-performancecounter-c
- https://bugs.python.org/issue10278#msg143209
Which suggest QueryPerformanceCounter() may be bad because it can drift.
However, these
Ryan Hileman added the comment:
Great information, thanks!
> Windows 10 also provides QueryInterruptTimePrecise(), which is a hybrid
> solution. It uses the performance counter to interpolate a timestamp between
> interrupts. I'd prefer to use this for time.monotonic() inst
Ryan Hileman added the comment:
I think a lot of that is based on very outdated information. It's worth reading
this article:
https://docs.microsoft.com/en-us/windows/win32/sysinfo/acquiring-high-resolution-time-stamps
I will repeat Microsoft's current recommendation (from th
Ryan Hileman added the comment:
> The monotonic clock should thus be based on QueryUnbiasedInterruptTime
My primary complaint here is that Windows is the only major platform with a low
resolution monotonic clock. Using QueryUnbiasedInterruptTime() on older OS
versions wouldn't entir
Ryan Hileman added the comment:
I agree with not throwing fatal errors, but that check is unlikely to actually
be hit, and you removed the startup checks covering the underlying clocks here:
https://github.com/python/cpython/commit/ae6cd7cfdab0599139002c526953d907696d9eef
I think if the
Ryan Hileman added the comment:
Perhaps the simplest initial fix would be to move that check down to
PyThread__init_thread() in the same file. I'm not sure what the cpython
convention for that kind of init error is, would it just be the same
Py_FatalError block or is there a better pa
Ryan Hileman added the comment:
> It shouldn't behave drastically different just because the user closed the
> laptop lid for an hour
I talked to someone who's been helping with the Go time APIs and it seems like
that holds pretty well for interactive timeouts, but ma
Ryan Hileman added the comment:
> Do you think that pytime.c has the bug? I don't think so.
No, a misaligned stack would be an issue in the caller or compiler, not
pytime.c. I have hit misaligned stack in practice, but it should be rare enough
to check on init only.
> In the
Change by Ryan Rudes :
--
components: Tkinter
nosy: Ryan-Rudes
priority: normal
severity: normal
status: open
title: Add multimap() function similar to map(), but with multiprocessing
functionality to the multiprocessing module
type: enhancement
versions: Python 3.10, Python 3.11
Change by Ryan Rudes :
--
keywords: +patch
pull_requests: +25347
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/26762
___
Python tracker
<https://bugs.python.org/issu
Change by Ryan Rudes :
--
components: +Library (Lib) -Tkinter
___
Python tracker
<https://bugs.python.org/issue44437>
___
___
Python-bugs-list mailing list
Unsub
Ryan Ozawa added the comment:
Hi all,
This is my first issue so feedback is welcome.
Following @vstinner 's suggestions:
> * os.rename() can fail if source and destination are on two different
file systems
> * Use shutil.move() to support move to a different directory
And fr
Change by Ryan Ozawa :
--
pull_requests: +25912
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/27376
___
Python tracker
<https://bugs.python.org/issu
New submission from Ryan Pecor :
After making a class using the @property decorator to implement a getter, using
tab completion that matches the getter function name executes the function.
See below for example (line numbers added, indicates when the user
presses the tab key):
1
Ryan Pecor added the comment:
I forgot to mention that I also added "~~~" to either side of the printed
string every time it printed to help differentiate the printed string from
commands that I typed into the interpreter.
--
___
Pyth
Ryan Pecor added the comment:
It looks to me like the issue is caused by the eval() in line 155 of the
rlcompleter.py file
(https://github.com/python/cpython/blob/bb3e0c240bc60fe08d332ff5955d54197f79751c/Lib/rlcompleter.py#L155)
which runs the function in order to see if it runs or raises
1 - 100 of 425 matches
Mail list logo