George King added the comment:
Thanks to both of you for your feedback. I will take a stab at updating the
patch with Victor's suggestions as soon as I can.
--
___
Python tracker
<http://bugs.python.org/is
George King added the comment:
Attached is a new patch, which does not settrace/gettrace and instead offers
new settraceinst/gettraceinst per Victor's recommendation.
I did not implement the proposed behavior of raising an exception if the old
APIs are used when the inst_tracing flag i
George King added the comment:
I'm not sure exactly, but the way I see it (for code coverage), we want to
trace transitions between basic blocks. So I would define it as: each entry
into a BB is traced, with a tuple of (previous_offset, current_offset). This
way when a function call s
New submission from George Shuklin:
I found that Python provides 'find()' and 'in' methods for strings, but lacking
same functionality for lists.
Because strings and lists are very similar, it's reasonable to expect same
function available for both.
Here long and
New submission from George Ge:
The readme.txt file in the PCBuild folder in Python 2.7.11 and 2.7.12 sources
both contain instructions on how to configure to build a different OpenSSL
version using PCbuild\prepare_ssl.py, but this file is missing on both versions.
--
components
George Ge added the comment:
I see. Would it be possible to have a version of prepare_ssl.py written in 2.7
for the official source releases?
--
___
Python tracker
<http://bugs.python.org/issue27
George King added the comment:
The documentation for atexit.register clearly states that a SystemExit raised
inside of the registered function is a special case:
'''
If an exception is raised during execution of the exit handlers, a traceback is
printed (unless SystemExit is
New submission from George Schizas:
Python on Windows can now can understand that it's on Windows 8.1 and Windows
Server 2012 R2, but platform.py hasn't been updated, and claims it's on
"post2012Server":
>>> import platform
>>> print(platfor
George Jenkins added the comment:
Reviewer please :)
(or, advice on how I can get this to proceed, thx)
--
___
Python tracker
<http://bugs.python.org/issue1182
George Jenkins added the comment:
Thanks for the response.
In terms of python API changes - I exposed the 'name' attribute on
UnboundLocalError and NameError exceptions.
(This can be seen (& is verified) by the changes to test_exceptions.py
exceptions test cases in the patch
George Jenkins added the comment:
Bump on this one please
--
___
Python tracker
<http://bugs.python.org/issue1182143>
___
___
Python-bugs-list mailing list
Unsub
New submission from George Prekas:
Under Windows, if I do FreeConsole and then subprocess.call with redirected
stdin or stdout or stderr, then subprocess.call fails. The only solution is
either DO NOT redirect any handle OR to redirect ALL of them. The problem lies
in function _get_handles at
New submission from Damien George:
The following code fails with a ValueError (but I expect it to succeed):
>>> bytearray([128]).remove(128)
Tested with Python 2.7.11 and 3.5.1. Probably it's a case of comparing a char
(signed byte) with an unsigned value.
--
component
George Jenkins added the comment:
Hi, I attempted a solution for this a while back
Attached is a (git diff based) patch for review
Changes can also been seen at:
https://bitbucket.org/bloomberg/cpython/pull-request/2/http-bugspythonorg-issue1182143-add-name/diff
(but note the changes in Misc
George Jenkins added the comment:
Add patch generated via mercurial
--
Added file: http://bugs.python.org/file38872/Issue1182143_1hg.patch
___
Python tracker
<http://bugs.python.org/issue1182
George Jenkins added the comment:
Heh, just noticed this issue passed its 10 year anniversary!
If someone has time to review my patch, that would be much appreciated. Thanks!
--
___
Python tracker
<http://bugs.python.org/issue1182
New submission from George London:
An extra apostrophe made the grammar of a method description ambiguous. The
attached patch removes the apostrophe.
--
assignee: docs@python
components: Documentation
files: mywork.patch
keywords: patch
messages: 274429
nosy: docs@python, gjlondon
George Slavin added the comment:
I can reproduce this issue with Python 2.7.12 and Python 3.5.2 on a Arch linux
VM using the python script provided, but I think this is an error in the code.
The repro is tied to the time.sleep call in the try block. If I do
time.sleep(1), I can reproduce
George Slavin added the comment:
Thanks for the reply! I've managed to reproduce the issue without using
ctypes, so we can exclude ctypes as the cause of the problem :)
The bug only occurs for me after hundreds of iterations of the script, so it is
very intermittent.
>From my res
George Slavin added the comment:
In case anyone else sees this thread, here's my trimmed down script to repro
the issue:
#!/usr/bin/env python2
import threading as mt
import signal
import time
import os
def sigusr2_handler(signum, frame):
raise RuntimeError('caug
George Slavin added the comment:
The docs say the sleep call will end if a signal is caught, so once the
main thread wakes, it won't go back to sleep.
On Sep 6, 2016 12:35 AM, "Andre Merzky" wrote:
>
> Andre Merzky added the comment:
>
> Hi George,
>
> >
George Slavin added the comment:
I have a patch that checks for KeyboardInterrupt during builtin operations.
This allows sum, max, min, list, dict, set, and tuple calls to be interrupted
when they are working on infinite iterators.
I've attached the patch, and a test I wrote to show tha
George Slavin added the comment:
I've attached the test for this patch (I couldn't figure out how to upload two
files with one comment).
--
Added file: http://bugs.python.org/file44747/test_sig_int_builtins.py
___
Python trac
New submission from George Fagin:
After a Turtle.stamp() command, turtle click notifications enabled via
Turtle.onclick() are blocked until subsequent turtle commands are issued.
Examples of the functions that re-enable click notifications include undo(),
fd(0), left(0), etc. I've ver
George Fagin added the comment:
When you say "left click always moves the turtle" I fear my explanation was not
clear enough. A left click always moves the turtle in my version as well. What
changes when stamp is activated is that OnClick events are not issued when you
click on
George Fagin added the comment:
Now you've got it. Clicking on the turtle results in an event message - at
which point I spin the turtle and issue the message to make it clear that the
message arrived. However, if you try doing that after a 'Turtle.stamp()' the
message never
New submission from George,Y:
I need to know the IP address on the other side of a broken TCP/IP connection.
"socket.getpeername()" fails to do the job sometimes because the connection has
been closed, and Windows Error 10038 tells the connection is no longer a socket
so that
New submission from George Fischhof:
Hi There,
I used configparser.ConfigParser.write() to update a config file.
And I found that my config wa duplicated.
The file was opened with mode 'r+'
I figured out that write (I mean the write method of configparser) writes at
actual file po
Changes by George Fischhof :
--
title: Addition to Documentation of configparser.ConfigParser.write()
documentaion -> Addition to Documentation of configparser.ConfigParser.write()
___
Python tracker
<http://bugs.python.org/issu
New submission from Feștilă George Cătălin :
My simple notepad code with QtWidgets.QPlainTextEdit() give me a crash dump on
Linux Fedora 30 with python3
Python 3.7.4 (default, Jul 9 2019, 16:32:37)
[GCC 9.1.1 20190503 (Red Hat 9.1.1-1)] on linux
[mythcat@desk pyqt5_examples]$ uname -a
Linux
Feștilă George Cătălin added the comment:
No. I don't have a reproducer script for this issue with Linux OS.
The mytext is a class from another script named my_notepad.
The problem comes with time when I use the menu to change the syntax value, as
you can see:
self.syntax = m
Change by George-Cristian Bîrzan :
--
nosy: +gc2
___
Python tracker
<https://bugs.python.org/issue36384>
___
___
Python-bugs-list mailing list
Unsubscribe:
George-Cristian Bîrzan added the comment:
The timeline there is wrong. This issue's creation time isn't the disclosure
time, it's when the bug was introduced. The disclosure was on 30th of May, when
I emailed secur...@python.org and Christian Heimes commented here and made
htt
George-Cristian Bîrzan added the comment:
I think the only thing I'd improve would be to mention that this issue is the
one that introduced the bug, otherwise it looks a bit weird.
--
___
Python tracker
<https://bugs.python.org/is
Jurj Andrei George added the comment:
I would also like to have yaml in the stdlib.
I reckon it would make sense to at least discuss yaml given that toml is on its
way in the stdlib.
By the time a toml parser gets added, yaml will be the only major data
serialization language to not be
New submission from Feștilă George Cătălin :
The pip install module crash with this error:
Could not install packages due to an EnvironmentError: [Errno 2] No such file or
directory: 'c:\\python364\\lib\\site-packages\\traits-4.6.0.dist-info\\METADATA
'
You are using pip version 18.
Feștilă George Cătălin added the comment:
I delete two folders of traits
Using the pip-review --auto this is the output of traits:
copying traits\util\tests\__init__.py -> build\lib.win-amd64-3.6\traits\util\t
ests
running build_ext
building 'traits.ctraits' extension
c
George-Cristian Bîrzan added the comment:
I posted on python dev that this would slow exception checking considerably so
that is a concern. As for possible bugs, this has been working in the 2 branch
for a while now, so I don't think that is the biggest issue.
As for possible use
George-Cristian Bîrzan added the comment:
I have a patch, with tests, but no Internet on my computer so going out, will
post it when I get back/my Internet comes back
--
___
Python tracker
<http://bugs.python.org/issue12
George-Cristian Bîrzan added the comment:
As promissed the patch. It doesn't break any tests, and it passes the ones I
added. I have a pybench one as well, which even though trivial, does point to
the fact that there is a degradation in performance, but not sure it's worth
po
George-Cristian Bîrzan added the comment:
This patch introduced a regression. Before, parse_args would take a tuple as an
argument, and in _get_values it was converted to a list via list comprehension,
which meant it was working with tuples too. In the current version, that raises
an
201 - 241 of 241 matches
Mail list logo