Alan WiIliams added the comment:
Hi, I'd like to work on this issue. Based on the discussion, the main thing to
do here is to raise a deprecation warning when isdst is used?
--
nosy: +Alan.Williams
___
Python tracker
<https://bugs.py
Alan added the comment:
The big innovation with poll() is that it takes an array of descriptors like a
normal function.
https://www.geometrydash.me/
--
nosy: +alanpreston
___
Python tracker
<https://bugs.python.org/issue28
Alan Moore added the comment:
Spent some time today with IDLE and PDB, and I've ruled out any other program
on my system as the culprit:
- I can create a tkinter GUI that will respond to a binding like
and it works fine.
- In pdb, I can bind <> to a callback and it is getting
Alan Moore added the comment:
Ok, sorry to keep poking at this issue, but I think I was too hasty in blaming
firefox.
As I previously mentioned, IDLE "forgot" that Ctrl-N meant "next line" and
reverted it to "new window". I fixed that behavior by chang
Alan Moore added the comment:
An interesting note this morning, and again I don't know if this is actually an
IDLE bug; I had left IDLE running overnight and opened a new code window this
morning. Somehow IDLE "forgot" that Ctrl-N means "next line" and not "
Alan Moore added the comment:
OK, it seems that closing all my firefox windows restored correct behavior to
IDLE. I can only guess that somehow firefox was eating the Ctrl-x.
Not sure if this is a firefox issue, a window manager issue, or an IDLE issue.
If you think it's not the l
New submission from Alan Moore :
Using IDLE 3.9.1 on Arch Linux.
In IDLE I've selected the "classic unix" key set. It worked for a while, then
stopped registering key combinations for more than one key (e.g. Ctrl-x Ctrl-s).
Have tried creating a custom key set and manua
Barry Alan Scott added the comment:
Thanks Petr, I'll watch for the PEP.
FYI: I work on the assumption that if I use Py_LIMITED_API and the header
files provide an API guarded by an #if then its "offical".
--
___
Python
Barry Alan Scott added the comment:
Is there a test suite that checks that the limited API functions can all be
linked against?
--
___
Python tracker
<https://bugs.python.org/issue43
Barry Alan Scott added the comment:
Understood that changing the status quo may have problems.
Maybe you do an HTTP redirect from the old name to the new name?
Or have the installed available under both names but only advertise the new
name
Barry Alan Scott added the comment:
I was wondering what the bottom text box was for.
The usual UX for check boxes is to toggle when the text of the control is
clicked.
Because of that I avoid clicking on check boxes that I do not know if I want to
change. Hence I did not get to see the
Barry Alan Scott added the comment:
The readme page is a good 2nd best is PKG install has not option to control the
text on the INstallation type page.
My guess is that the info would need be in visible without
scrolling for people to notice it. (UX is hard
Barry Alan Scott added the comment:
>From "UNIX command-line tools" its not clear to me that that prevents
symlinks in /usr/local/bin. Maybe word it as "Add python to /usr/local/bin".
Is this documented anywhere?
I just looked at the download page https://www.python.
Barry Alan Scott added the comment:
It was not obvious that I could do that with Customise.
Indeed I installed 3.10a5 just so that I could remind myself of what the
installer did.
It would help is the Installation type page told the user why they might want
to use the Customise for
New submission from Barry Alan Scott :
The popular homebrew system installs its binaries into /usr/local/bin.
The macOS python install also defaults to /usr/local/bin where it
puts symlinks to Python like:
% ls -l /usr/local/bin/python3.10
lrwxr-xr-x 1 root 73 8 Feb 19:45:50 2021 /usr
New submission from Barry Alan Scott :
By default the python macOS installer will edit .bash_profile and .zsh_profile
to add Python to the path.
For many users this is a problem that requires the added lines to be
removed after each install.
I suggest that there is a mechanism that the user
Barry Alan Scott added the comment:
I happy with your names. I think they are better then my version.
--
___
Python tracker
<https://bugs.python.org/issue43
New submission from Barry Alan Scott :
New users of Python on Windows frequently confuse the Python installation
program with Python itself.
They also can end up with the wrong 32 or 64 bit version.
I suggest that the installation program name is changed to include "setup" in
its
New submission from Barry Alan Scott :
When using the limited API PyCMethod_New is not defined in python3.lib.
This leads to a link error.
This error is in 3.9 and 3.10a5
Discovered when I improved the PyCXX test suite.
Example output:
Link obj\simple.pyd
cl /nologo /W4 /LD /Zi /MT
Alan Robertson added the comment:
As far as I know, this only happens during shutdown. During shutdown it has
already removed the attribute as part of the teardown process. In this case
adding the attribute at the begining will do no good.
On Wed, Jan 6, 2021, at 10:30 AM, Vinay Sajip wrote
Alan Robertson added the comment:
On Wed, Jan 6, 2021, at 10:30 AM, Vinay Sajip wrote:
>
> Vinay Sajip added the comment:
>
> TBH as I said in the now-closed PR, using a NullSocket seems overkill.
> As mentioned in msg359594, it seems to make more sense to assign a
> s
Barry Alan Scott added the comment:
Ok. I'll add this to my todo list.
--
status: pending -> open
___
Python tracker
<https://bugs.python.org/i
Change by Alan Coopersmith :
--
nosy: +alanc
___
Python tracker
<https://bugs.python.org/issue42173>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alan Jenkins added the comment:
Put the other way, if you wanted to fix this bug in ThreadedChildWatcher, and
go as far as allowing cancelling Process.wait(), followed by kill() /
send_signal(), then I think you need -
* siginterrupt(SIGCHLD, 1)
* not to mind about any random C code that
Alan Jenkins added the comment:
There's one way to fix this in MultiLoopChildWatcher (but not
ThreadedChildWatcher). Make sure the waitpid() runs on the same thread that
created the subprocess. Prototype:
https://github.com/sourcejedi/cpython/c
New submission from Alan Jenkins :
## Test program ##
import asyncio
import time
import os
import signal
import sys
# This bug happens with the default, ThreadedChildWatcher
# It also happens with MultiLoopChildWatcher,
# but not the other three watcher types.
#asyncio.set_child_watcher
Alan Jenkins added the comment:
Here's a simple test case that fails on the main branch.
https://github.com/sourcejedi/cpython/commit/50184ea3b354fd775866d036ccee058ec6734927
> the patch assumes that python signal handler will be called *before* reading
> from self-pipe.
>
New submission from Alan Iwi :
It is possible to make `queue.Queue` and `queue.SimpleQueue` objects iterable
by adding simple `__iter__` and `__next__` methods. This is to suggest adding
these methods to the existing `Queue` and `SimpleQueue` so that they are
iterable by default.
```
class
Change by Alan Briolat :
--
nosy: +alan.briolat
___
Python tracker
<https://bugs.python.org/issue40815>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry Alan Scott added the comment:
Anthony,
Now that everything is opened using open_code that returns bytes its
not clear to me why this breaks for you.
Further the data must be bytes for the codings to be figured out.
Removing the b'\n' may be reasonable, but not for the reaso
Barry Alan Scott added the comment:
I have pushed the fix onto https://github.com/python/cpython/pull/19595
with an API test case and the changes to keep the debain subclassing
working.
I'm new the the work flow. Let me know if I need to change any
Change by Barry Alan Scott :
--
pull_requests: +18931
pull_request: https://github.com/python/cpython/pull/19595
___
Python tracker
<https://bugs.python.org/issue40
Barry Alan Scott added the comment:
I have the fix coded and tested.
I run out of git knowledge to update the PR branch so that I can push the fix.
I'll work on it more later in the day.
--
___
Python tracker
<https://bugs.python.org/is
Change by Barry Alan Scott :
--
pull_requests: +18895
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/19549
___
Python tracker
<https://bugs.python.org/issu
Barry Alan Scott added the comment:
Regarding test case. I will need to know what pymindeps is doing to be able to
design a suitable test case.
--
___
Python tracker
<https://bugs.python.org/issue40
Barry Alan Scott added the comment:
I need to see the code of pymindeps to understand what you are doing and how to
fix this. Can you post a URL to the source please?
Are you aware that load_module() changed in other ways that are required to fix
the bug?
You may have to change yout
Barry Alan Scott added the comment:
io.open_code() used in the patch.
--
components: -Windows
___
Python tracker
<https://bugs.python.org/issue40260>
___
___
New submission from Barry Alan Scott :
modulefinder.py does not open source files in "rb" which
prevents compile() from applying the encoding rules.
This first showed up for me on Windows with Python 3.8.
Here is my test case and the results on Windows with 3.8.
import modulefi
Alan Robertson added the comment:
Thanks for your kind explanation. I may even vaguely remember seeing this
sometime in the past. Thanks much for your time!
--
___
Python tracker
<https://bugs.python.org/issue39
New submission from Alan Robertson :
When an exception "as" variable occurs, it deletes local variables with the
same name. This is certainly surprising, and doesn't appear to be a documented
behavior (but maybe I don't know where to look). The word "bug" come
Alan Robertson added the comment:
There are a variety of different reasons this can fail, not just on MacOS. You
could give it a bad IP address of a server, etc. [That was my particular case].
The constructor should create an attribute 'socket' and initialize it to None
early on.
Alan De Smet added the comment:
Oops, used to GitHub/GitLab, where Markdown is fair game. Sorry about that. :-)
--
___
Python tracker
<https://bugs.python.org/issue37
New submission from Alan De Smet :
In Doc/library/urllib.request.rst, in the documentation for the class
`Request`, it says
```
The final two arguments are only of interest for correct handling
of third-party HTTP cookies:
```
However, three arguments follow, not two, and the last is
Alan Yorinks added the comment:
Hi Carol,
Thanks for the update. I retested on Python 3.7 and the problem
seems to have been resolved some where along the way.
BTW, I am using MicroPython on an ESP8266 remotely controlled from a
Python program on a PC. You can read about it here:
https
Alan Jenkins added the comment:
Oops. I assumed logging.raiseExceptions == True (the default) actually raises
exceptions, but it doesn't. It prints the exception to stderr and continues.
E.g. traditional UNIX daemons run with stderr connected to /dev/null. Consider
during develo
Alan Jenkins added the comment:
> [**] dnf developers did not appear to work on the correctness issue they
> found. It might be a bug in gettext.
Nitpick: sorry, I read too quickly. dnf *did* fix the specific correctness
issue, as well as setting raiseExceptions = false. It is exp
New submission from Alan Jenkins :
## Problem description
```
import os
import logging
logging.basicConfig(filename='example.log',level=logging.DEBUG)
for name in os.listdir():
logging.error('Hypothetical syntax error at line 1 of file:
{}'.format(name))
```
New submission from Alan Grgic :
The warning heading near the top of
https://docs.python.org/2/library/simplehttpserver.html contains improperly
formatted text and misspells SimpleHTTPServer as 'SimpleHTTServer'.
--
assignee: docs@python
components: Documentation
messag
Change by Alan Huang :
--
pull_requests: +11509, 11510
___
Python tracker
<https://bugs.python.org/issue35045>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Alan Huang :
--
pull_requests: +11509
___
Python tracker
<https://bugs.python.org/issue35045>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alan added the comment:
Thank you for your feedback steven.daprano and eric.smith. My first experience
with a computer was 22 years ago and started as a computer science student 13
years ago. I began in the Visual Basic programming community in 2008, so I
apologize as I am new to the Python
New submission from Alan :
Dear PythonDev,
Thank you for your tremendous work in building a simpler programming language
for all.
As an avid user of lists, I am upset that my list cannot preserve its
referential integrity in the attached pythonissue.txt file. In the following,
(EXPECTED
Alan Justino added the comment:
Issued a related PR (https://github.com/python/cpython/pull/8451) to allow
SpooledTemporaryFile to propagate `readinto` calls to TemporaryFile, BytesIO or
StringIO.
Of this ones, only StringIO will fail
Alan Justino added the comment:
It affects SpooledTemporaryFile too. Because it switches between StringIO,
BytesIO and TemporaryFile internally. Only StringIO have not this interface.
Discovered trying to `pickle.load` a remote storage file.
Please reopen.
--
nosy: +alanjds
Alan Huang added the comment:
This is an issue of cipher support, not a Python bug.
mail.mani.pt supports the following (outdated) ciphers:
RC4-SHA (0x05)
RC4-MD5 (0x04)
DES-CBC3-SHA (0x0a)
EXP1024-DES-CBC-SHA (0x62)
DES-CBC-SHA (0x09)
EXP1024-RC4-SHA (0x64)
EXP-RC2-CBC-MD5 (0x06)
EXP-RC4-MD5
Change by Alan Huang :
--
keywords: +patch
pull_requests: +7663
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue34001>
___
___
Python-
Alan Huang added the comment:
PR 8050 implements option 2a (use PY_PROTO_{MIN,MAX}IMUM_AVAILABLE).
--
___
Python tracker
<https://bugs.python.org/issue33
Change by Alan Huang :
--
keywords: +patch
pull_requests: +7658
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33995>
___
___
Python-
Alan Huang added the comment:
Strangely, LibreSSL's `ssl_clamp_version_range` function is perfectly happy to
accept minimum protocol versions lower than the lowest supported protocol
version, and likewise is happy to accept maximum protocol versions higher than
the highest supp
Change by Alan Huang :
--
components: -Documentation
versions: +Python 3.8
___
Python tracker
<https://bugs.python.org/issue33995>
___
___
Python-bugs-list m
New submission from Alan Huang :
LibreSSL has a function called `ssl_clamp_version_range` that is called before
attempting to set the minimum and maximum protocol versions in
`ssl_version_set_{min,max}`. The function disallows setting ranges that are
invalid (i.e., where minimum_version
New submission from Alan Huang :
LibreSSL's implementation of the function used to get the minimum and maximum
SSL versions supported differs from OpenSSL's.
In short, the issue is in the implementations of `SSL_CTX_new` - OpenSSL
initializes variables `ret->{min,max}_proto_
Change by Alan Du :
--
keywords: +patch
pull_requests: +5975
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33129>
___
___
Python-
Alan Du added the comment:
Err... the right link would actually be
https://github.com/alanhdu/cpython/tree/bpo-33129.
--
___
Python tracker
<https://bugs.python.org/issue33
Alan Du added the comment:
If this would be accepted, I'd be happy to contribute a patch adding a
`kwarg_only` option to `dataclass` (although it might take me a while since I'm
not super familiar with the Python development workflow). I believe I already
have the code change ne
New submission from Alan Du :
I'd like to request a new option to the `dataclasses.dataclass` decorator to
make the `__init__` keyword-only.
The two use-cases I have in mind are:
(1) Using as a dataclass big-bag-of-config. In this scenario, forcing the user
to specify the keywords is
Alan Moore added the comment:
Thank you for all your help!
On 02/09/2018 05:41 AM, Serhiy Storchaka wrote:
> Serhiy Storchaka added the comment:
>
> Thank you for your contribution Alan!
>
> --
> resolution: -> fixed
> stage: patch review -> resolv
Alan Moore added the comment:
Thanks, I'm guessing the update_idletasks() needed to be called after
changing the value of command, since the button clicks do this as part
of the method. If that's not right, let me know.
I've added the options to the list and pushed the ch
New submission from Alan Moore :
Ttk has a spinbox widget, which is a themed version of Tkinter spinbox, but
this is missing from Python's ttk implementation.
--
components: Tkinter
messages: 310198
nosy: Alan Moore
priority: normal
severity: normal
status: open
title: Add ttk::sp
Changes by Alan Pierce :
--
nosy: +alangpierce
___
Python tracker
<http://bugs.python.org/issue30392>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alan Evangelista added the comment:
s/Python 2.6/Python 2/ in last comment
--
___
Python tracker
<http://bugs.python.org/issue29777>
___
___
Python-bugs-list m
Alan Evangelista added the comment:
PA> In http://bugs.python.org/issue14910#msg204678 I suggest a subclassing
patch that might work with Py2.
This solves my particular case. I do not use any argument with action='count',
so the regression introduced by the new option does
Alan Evangelista added the comment:
Adding the feature was just a workaround suggestion, but this is a bug.
Arguments in the main parser should not "hide" an argument in a subparser in
argument abbreviation.
--
___
Python trac
New submission from Alan Evangelista:
If you have a argument named -- in a subparser and two arguments named
-- in the main parser and call the Python executable with
python --
argparse fails with:
error: ambiguous option: -- could match --,
--
This probably happens due to how the
Alan Jenkins added the comment:
Looks like this is documented elsewhere and fixed in 3.5.
https://fossies.org/diffs/Python/3.4.3_vs_3.5.0/Doc/library/xml.sax.reader.rst-diff.html
--
status: open -> closed
___
Python tracker
<http://bugs.pyth
New submission from Alan Jenkins:
python3-3.4.3-5.fc23-x86_64
So far I spelunked here. Starting from
<https://github.com/kurtmckee/feedparser/issues/30>. I experimented with using
setCharacterStream() instead of setByteStream()
setCharacterStream() is shown in documentation but exer
Alan Mislove added the comment:
Thanks for the quick reply, Serhiy!
You're right -- after letting it run for even longer, it does complete. Sorry
for the trouble. I have two quick followup questions:
1. Would this be considered a performance bug? On my machine, it runs for
ov
New submission from Alan Mislove:
I found a regex and input that causes re.finditer() to appear to get into an
infinite loop. Please see the attached minimal python script that triggers the
behavior. I've verified the bug exists on 2.7.6, 3.4.0, and 3.5.1; I haven't
yet be ab
New submission from Alan Cristhian:
I use pickle to serialize data. The pickle.dumps() methods sometimes introduce
the b"\n" character:
>>> import pickle
>>> tuple_with_10 = (10,)
>>> result = pickle.dumps(tuple_with_10, protocol=4)
>>
New submission from Alan:
I've written a piece of code to POST request to a web service.
===
import json
import urllib
from urllib import request
from urllib import parse
def Payload(start_date, end_date, pnode
Barry Alan Scott added the comment:
Mac OS X use the __CF_USER_TEXT_ENCODING env var to setup the locale in for
native libraries.
I found that for GUI python code I needed to convert the value in
__CF_USER_TEXT_ENCODING into a suitable call to setlocale().
The code I use is attached to
Barry Alan Scott added the comment:
I should point out using Python2.7 with wxPython I do not see this issue.
This issue was exposed during my efforts to port pysvn from py2.7+wxPython to
py3.4+wxpython-phoenix.
I do setup locale on the main thread very early before starting the background
New submission from Barry Alan Scott:
I'm seeing a random traceback when starting a new thread on Mac OS X 10.10.2
with python 3.4.3 final.
Exception in thread Thread-1:
Traceback (most recent call last):
File
"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/th
Alan Yorinks added the comment:
I don't see the file I attached in the previous comment, so I have uploaded 4
files to google drive at:
https://drive.google.com/folderview?id=0B0adDMMjxksDRGtiWFowVUh0RlE&usp=sharing
These files are the result of running a cPr
Alan Yorinks added the comment:
Additional information:
When using another example from PyMata,
examples/digital_analog_io/callback_digital_analog_io.py, by adding the line:
if sys.platform == 'linux':
# noinspection PyUnresolved
New submission from Alan Yorinks:
Folks,
I am not trying to waste anyone's time. If this is not the correct mailing
list to get this problem resolved, please point me to the correct one.
To summarize my problem, if I run the configuration below with python 3.4.2
on Linux, the pr
New submission from Alan:
The "Select Python Installations" dialog box contains the line "Select the
Python locations where should be installed." If
is anything other than a very short string, the line is
truncated, due to the following factors:
- the line doesn
Alan Evangelista added the comment:
duplicate of #22375. I closed that one because I wanted to edit the original
bug description and I could not, preferred to create a new bug.
R. David Murray's comment in #22375: "I think this was already fixed in is
New submission from Alan Evangelista:
Examples in Python command line:
Try 1
-
>>> import urllib2
urllib2.urlopen('ftp://:@/packages/repodata').read().splitlines()
Output:
Try 2
-
>>> import urllib2
urllib2.urlopen('ftp://:@/packages/repodata'
Changes by Alan Evangelista :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue22375>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Alan Evangelista:
Examples in Python command line:
Try 1
-
>>> import urllib2
urllib2.urlopen('ftp://:@/packages/repodata').read().splitlines()
Output:
Try 2
-
>>> import urllib2
urllib2.urlopen('ftp://:@/packages/repodata'
Changes by Alan McIntyre :
--
nosy: -alanmcintyre
___
Python tracker
<http://bugs.python.org/issue6839>
___
___
Python-bugs-list mailing list
Unsubscribe:
Alan Briolat added the comment:
Because the object in question is not actually a dict, LogRecord is attempting,
in this example, "%(bar)s" % (f,) instead of "%(bar)s" % f.
In unicodeobject.c this causes the PyMapping_Check in PyUnicode_Format to fail
because it&
New submission from Alan Briolat:
The logging.LogRecord class is more restrictive with its "first arg is dict"
case than the formatting operator it uses requires. As far as I can tell, for
"%(foo)s" % bar, the minimum contract is that bar.__getitem__("foo")
New submission from Alan Braithwaite:
At wsgiref.simple_server:99, it uses the wrong field to get the headers from
the request. In rfc822.Message.readheaders it describes that the headers
attribute is an uninterrupted list of the lines in the header. The dict
attribute of Message should
New submission from Alan Ning:
I am seeing a strange issue with bitfields and BigEndianStructure under Ubuntu
12.04 x64, Python 2.7.3.
This bug only occurs if I define my bitfields using c_uint. If I switch to
c_ushort, it goes away.
Below is a simple code that highlights the problem. I have
New submission from Alan Isaac:
Section 4.6 of the tutorial introduces function definition:
http://docs.python.org/3/tutorial/controlflow.html#defining-functions
The first example defines a function that *prints* a Fibonacci series.
A basic mistake made by students new to programming is to use
Alan Hourihane added the comment:
Anyone ?
--
resolution: -> remind
___
Python tracker
<http://bugs.python.org/issue19348>
___
___
Python-bugs-list mai
Changes by Alan Hourihane :
--
resolution: -> remind
___
Python tracker
<http://bugs.python.org/issue19036>
___
___
Python-bugs-list mailing list
Unsubscrib
Alan Hourihane added the comment:
Anyone ?
--
resolution: -> remind
___
Python tracker
<http://bugs.python.org/issue19346>
___
___
Python-bugs-list mai
1 - 100 of 256 matches
Mail list logo