Change by Erlend E. Aasland :
--
keywords: +patch
pull_requests: +27758
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/29507
___
Python tracker
<https://bugs.python.org/issu
Erlend E. Aasland added the comment:
Nice. I think I'll steal some of your ideas tomorrow :)
--
___
Python tracker
<https://bugs.python.org/issue45774>
___
___
Change by Erlend E. Aasland :
--
nosy: +erlendaasland
___
Python tracker
<https://bugs.python.org/issue45573>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Erlend E. Aasland :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Erlend E. Aasland :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Erlend E. Aasland :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Erlend E. Aasland :
--
pull_requests: +27809
pull_request: https://github.com/python/cpython/pull/29561
___
Python tracker
<https://bugs.python.org/issue45
Erlend E. Aasland added the comment:
Need to amend GH-29053, so I'm opening until the fix is merged.
--
resolution: fixed ->
status: closed -> open
___
Python tracker
<https://bugs.python.
Change by Erlend E. Aasland :
--
nosy: +erlendaasland
___
Python tracker
<https://bugs.python.org/issue45476>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Erlend E. Aasland :
--
pull_requests: +27820
pull_request: https://github.com/python/cpython/pull/29576
___
Python tracker
<https://bugs.python.org/issue45
Erlend E. Aasland added the comment:
> Do we need Lib/test/test_sqlite3/__init__.py? Would not tests in package be
> loaded automatically?
If I remove it, the test suite is not run. Maybe another change is needed for
autodetection to work
Change by Erlend E. Aasland :
--
nosy: +erlendaasland
___
Python tracker
<https://bugs.python.org/issue42376>
___
___
Python-bugs-list mailing list
Unsubscribe:
Erlend E. Aasland added the comment:
The remaining PR (GH 28234) deprecates reinitialisation. I'm not sure it is a
good idea to pursue this, so I'm leaning towards closing this as fixed, and
also closing GH 28234.
--
___
Python track
Change by Erlend E. Aasland :
--
status: open -> pending
___
Python tracker
<https://bugs.python.org/issue45126>
___
___
Python-bugs-list mailing list
Un
New submission from Erlend E. Aasland :
In order to print tracebacks from exceptions in SQLite callbacks, the sqlite3
extension module provides sqlite3.enable_callback_tracebacks(flag). Setting the
flag to True instructs the sqlite3 extension module to PyErr_Print() if an
exception occurs
Change by Erlend E. Aasland :
--
nosy: +serhiy.storchaka
___
Python tracker
<https://bugs.python.org/issue45828>
___
___
Python-bugs-list mailing list
Unsub
Change by Erlend E. Aasland :
--
keywords: +patch
pull_requests: +27834
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/29591
___
Python tracker
<https://bugs.python.org/issu
Change by Erlend E. Aasland :
--
nosy: +erlendaasland
___
Python tracker
<https://bugs.python.org/issue40059>
___
___
Python-bugs-list mailing list
Unsubscribe:
Erlend E. Aasland added the comment:
> Now we close this issue right?
Not yet ;) I have an AC tweak I'd like to add. Wait for a PR anytime soon.
--
___
Python tracker
<https://bugs.python.org
Change by Erlend E. Aasland :
--
pull_requests: +27836
pull_request: https://github.com/python/cpython/pull/29593
___
Python tracker
<https://bugs.python.org/issue45
Erlend E. Aasland added the comment:
Thanks for reviews and improvements, Dong-hee :)
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Erlend E. Aasland :
--
pull_requests: +27868
pull_request: https://github.com/python/cpython/pull/29637
___
Python tracker
<https://bugs.python.org/issue45
Change by Erlend E. Aasland :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Erlend E. Aasland :
--
nosy: +erlendaasland
___
Python tracker
<https://bugs.python.org/issue45847>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Erlend E. Aasland :
--
pull_requests: +27901
pull_request: https://github.com/python/cpython/pull/29659
___
Python tracker
<https://bugs.python.org/issue45
Erlend E. Aasland added the comment:
Needs amendment before closing. See GH-29659.
--
resolution: fixed ->
status: closed -> open
___
Python tracker
<https://bugs.python.org/i
Erlend E. Aasland added the comment:
> Awesome work! Thanks to your tireless effort we know have a blue print how to
> use pkg-config for other librariess.
Thank you for reviewing, and thank you for paving the way with all these build
system improv
Change by Erlend E. Aasland :
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue45774>
___
___
Python-bugs-
Change by Erlend E. Aasland :
--
pull_requests: +27926
pull_request: https://github.com/python/cpython/pull/29688
___
Python tracker
<https://bugs.python.org/issue45
Change by Erlend E. Aasland :
--
pull_requests: +27927
pull_request: https://github.com/python/cpython/pull/29689
___
Python tracker
<https://bugs.python.org/issue45
Change by Erlend E. Aasland :
--
pull_requests: +27928
pull_request: https://github.com/python/cpython/pull/29690
___
Python tracker
<https://bugs.python.org/issue45
Change by Erlend E. Aasland :
--
nosy: +pablogsal
___
Python tracker
<https://bugs.python.org/issue42268>
___
___
Python-bugs-list mailing list
Unsubscribe:
Erlend E. Aasland added the comment:
Reproducible on 3.9, 3.10, and on main.
The --with-memory-sanitizer option adds "-fsanitize=memory
-fsanitize-memory-track-origins=2 -fno-omit-frame-pointer" to CFLAGS, and
"-fsanitize=memory -fsanitize-memory-track-origins=2&q
Erlend E. Aasland added the comment:
45 down, 35 to go.
--
___
Python tracker
<https://bugs.python.org/issue45847>
___
___
Python-bugs-list mailing list
Unsub
Change by Erlend E. Aasland :
--
pull_requests: +27932
pull_request: https://github.com/python/cpython/pull/29696
___
Python tracker
<https://bugs.python.org/issue45
Change by Erlend E. Aasland :
--
pull_requests: +27937
pull_request: https://github.com/python/cpython/pull/29701
___
Python tracker
<https://bugs.python.org/issue45
Change by Erlend E. Aasland :
--
pull_requests: +27939
pull_request: https://github.com/python/cpython/pull/29703
___
Python tracker
<https://bugs.python.org/issue45
Change by Erlend E. Aasland :
--
pull_requests: +27941
pull_request: https://github.com/python/cpython/pull/29705
___
Python tracker
<https://bugs.python.org/issue45
Erlend E. Aasland added the comment:
_socket coming up...
--
___
Python tracker
<https://bugs.python.org/issue45847>
___
___
Python-bugs-list mailing list
Unsub
Change by Erlend E. Aasland :
--
pull_requests: +27943
pull_request: https://github.com/python/cpython/pull/29707
___
Python tracker
<https://bugs.python.org/issue45
Change by Erlend E. Aasland :
--
pull_requests: +27948
pull_request: https://github.com/python/cpython/pull/29713
___
Python tracker
<https://bugs.python.org/issue45
Change by Erlend E. Aasland :
--
pull_requests: +27951
pull_request: https://github.com/python/cpython/pull/29715
___
Python tracker
<https://bugs.python.org/issue45
Change by Erlend E. Aasland :
--
pull_requests: +27976
pull_request: https://github.com/python/cpython/pull/29738
___
Python tracker
<https://bugs.python.org/issue45
Change by Erlend E. Aasland :
--
pull_requests: +28005
pull_request: https://github.com/python/cpython/pull/29768
___
Python tracker
<https://bugs.python.org/issue45
Change by Erlend E. Aasland :
--
pull_requests: +28006
pull_request: https://github.com/python/cpython/pull/29769
___
Python tracker
<https://bugs.python.org/issue45
Erlend E. Aasland added the comment:
Some info regarding _multiprocessing:
Modules/_multiprocessing/semaphore.c is currently conditionally included in
setup.py (HAVE_SEM_OPEN && !POSIX_SEMAPHORES_NOT_ENABLED), but always included
in Modules/Setup.
Here's some historical bpo
Erlend E. Aasland added the comment:
> Maybe this issue will be solved in issue44092
Yes, this will be resolved in bpo-44092. Hopefully I'll be able to land it
sooner than later.
--
___
Python tracker
<https://bugs.python.org
Change by Erlend E. Aasland :
--
nosy: +erlendaasland
nosy_count: 11.0 -> 12.0
pull_requests: +28065
pull_request: https://github.com/python/cpython/pull/29834
___
Python tracker
<https://bugs.python.org/issu
Change by Erlend E. Aasland :
--
versions: +Python 3.11 -Python 3.6, Python 3.7, Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.org/issue45
New submission from Erlend E. Aasland :
SQLite 3.37.0 was released a couple of days ago:
https://sqlite.org/releaselog/3_37_0.html
Given that 3.11 feature freeze is approx. May 2022, and that it took approx. 5
months between SQLite 3.36.0 and 3.37.0, I'd say we aim for a field tested
S
Change by Erlend E. Aasland :
--
pull_requests: +28075
pull_request: https://github.com/python/cpython/pull/29846
___
Python tracker
<https://bugs.python.org/issue45
Erlend E. Aasland added the comment:
Unable to reproduce on macOS 12 with latest 3.11 official build, and my most
recent dev build (HEAD at b394af13f69c1a2ac0e7d32dabf6d86443606ab2).
--
nosy: +erlendaasland
___
Python tracker
<ht
Erlend E. Aasland added the comment:
Also unable to reproduce with HEAD at 49444fb807ecb396462c8e5f547eeb5c6bc5d4de.
--
___
Python tracker
<https://bugs.python.org/issue45
Erlend E. Aasland added the comment:
Also unable to reproduce with HEAD at 8a45ca542a65ea27e7acaa44a4c833a27830e796.
Perhaps it is related to your build/dev environment?
--
___
Python tracker
<https://bugs.python.org/issue45
Erlend E. Aasland added the comment:
I'm unable to reproduce on macOS 11.6 as well (head at
49444fb807ecb396462c8e5f547eeb5c6bc5d4de).
--
___
Python tracker
<https://bugs.python.org/is
Erlend E. Aasland added the comment:
FWIW, it is also impossible to build the docs OOT without cluttering the source
tree.
$ cd ../build
$ make -C ../cpython.git/Doc venv
$ make -C ../cpython.git/Doc html # <= modifies Doc/build in the source
tree
--
n
Erlend E. Aasland added the comment:
> I think this change is no problem.
Thanks, and thank you for looking reviewing this change.
> There is only one situation that a problem may occur. Write code with SQLite
> 3.8.7.2+ (2014-11-18), and run it on 3.7.15 (2012-12-12) ~ 3.8.7.1-, b
Erlend E. Aasland added the comment:
> I mean, after this change, different versions of SQLite will behave
> differently.
Yes, this is explained in the news item:
Fetch across rollback no longer raises :exc:`~sqlite3.InterfaceError`.
Instead we leave it to the SQLite libr
Erlend E. Aasland added the comment:
> Imagine a person write a code with Python 3.11 and SQLite 3.8.7.2+, and then
> deploying it to Python 3.11 and SQLite 3.8.7.1-, error may occur. However,
> this situation is difficult to happen.
Yes, I also think this is a far fetched case. I&
Erlend E. Aasland added the comment:
Quoting msg407949:
> [...] We should do something like
>
> ZLIB_CFLAGS=${ZLIB_CFLAGS:-""}
> ZLIB_LIBS=${ZLIB_LIBS:-"-lz"}
>
> for all env vars.
I think we should use ${VAR-default} instead of ${VAR:-default}; we
Erlend E. Aasland added the comment:
The _testcapi modules should stay as it is, ref. msg384272 on bpo-40077:
Yes, please keep _testcapimodule.c as it is. Static types are still
supported and need to be tested.
--
nosy: +erlendaasland
resolution: -> not a bug
st
New submission from Hector E. Socarras :
I test de sample Echo Tcp Server on
https://docs.python.org/3.8/library/asyncio-protocol.html. When I run de server
i got the following error from python interpreter
Traceback (most recent call last):
File "server_test.py", line 1, in
Change by Hector E. Socarras :
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue39563>
___
___
Python-bugs-
E. Castedo Ellerman added the comment:
This is now fixed in Python 3.8. See https://bugs.python.org/issue35523
--
nosy: +E. Castedo Ellerman
___
Python tracker
<https://bugs.python.org/issue28
Pandu E POLUAN added the comment:
Hi, I'm one of the maintainers of aio-libs/aiosmtpd.
This issue also bit me when trying to write unit tests for aio-libs/aiosmtpd
AUTH implementation
But I partially disagree with Dario D'Amico's changes, specifically the
suggested change in
Pandu E POLUAN added the comment:
This issue is still a bug for Python 3.6 and Python 3.8
I haven't checked on Python 3.7 and Python 3.9
--
versions: +Python 3.6, Python 3.8
___
Python tracker
<https://bugs.python.org/is
Pandu E POLUAN added the comment:
I tried creating a PR, but for the life of me I couldn't wrap my head around
how testAUTH_LOGIN is being performed (it's in Lib/test/test_smtplib.py)
All I know is, the test doesn't AT ALL test for situations where
initial_response_ok=False
Pandu E POLUAN added the comment:
I tried adding the code below to test_smtplib.py:
def testAUTH_LOGIN_initial_response_notok(self):
self.serv.add_feature("AUTH LOGIN")
smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost',
Pandu E POLUAN added the comment:
Okay, I finally figured out what's wrong.
This piece of code in `test_smtplib.py`:
if self.smtp_state == self.AUTH:
line = self._emptystring.join(self.received_lines)
print('Data:', repr(line), file=sm
Pandu E POLUAN added the comment:
The "problem" is that smtplib.SMTP does the following, in essence:
1. Open connection to server
2. Send EHLO
3. Read server response
The PROXY injection causes a response from the server, but the response gets
"cached" in the inco
Change by Pandu E POLUAN :
--
keywords: +patch
pull_requests: +22948
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/24118
___
Python tracker
<https://bugs.python.org/issu
Change by Pandu E POLUAN :
--
components: +Tests
___
Python tracker
<https://bugs.python.org/issue27820>
___
___
Python-bugs-list mailing list
Unsubscribe:
Pandu E POLUAN added the comment:
Will patching smtplib.SMTP._print_debug do?
You can subclass from smtplib.SMTP this way:
class MySMTPClient(smtplib.SMTP):
def __init__(self, *args, logger=None, **kwargs):
super().__init__(*args, **kwargs)
self.logger = logger
def
Change by Pandu E POLUAN :
--
nosy: +pepoluan
___
Python tracker
<https://bugs.python.org/issue39232>
___
___
Python-bugs-list mailing list
Unsubscribe:
Pandu E POLUAN added the comment:
PR available on GitHub and it's already more than one month since the PR was
submitted, so I'm pinging this issue.
--
___
Python tracker
<https://bugs.python.o
Pandu E POLUAN added the comment:
Hi Senthil,
You're right, it does need a guard. According to my knowledge there is no AUTH
mechanism that will send more than 3 challenges; they should fail afterwards
with 535 or similar. Servers that don't do that should be considered
buggy/b
New submission from Daniel E Platt :
pip3 installed with 3.6.3 crashes on startup.
pip3 installed with 3.5.4 works.
Appears on OS X 10.13.1
--
components: Installation
messages: 306336
nosy: DanPlatt
priority: normal
severity: normal
status: open
title: pip3 install 3.6.3 crashes on
Daniel E Platt added the comment:
platt@MacBook-Pro.local:/Users/platt $ pip3
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/bin/pip3", line 7, in
from pip import main
File
"/Library/Frameworks/Python.framework/Versions/3.
Daniel E Platt added the comment:
platt@MacBook-Pro.local:/Users/platt $ pip install -U setuptools pip
Collecting setuptools
Downloading setuptools-36.7.2-py2.py3-none-any.whl (482kB)
100% || 491kB 2.6MB/s
Requirement already up-to-date: pip in
./Library
Dale E. Moore added the comment:
On Ubuntu 12.10 with Unity the task icon is a question mark. And when locked to
launcher the button does not start idle.
--
nosy: +DaleEMoore
___
Python tracker
<http://bugs.python.org/issue15
C. E. Ball added the comment:
I also found this bug while using SciPy's weave on Windows XP to compile
some inline c/c++ code.
Thorney's distutils_compiler_quoting.patch fixed the problem for me.
Here is the relevant part of the traceback (I hope):
"""
Found ex
Changes by C. E. Ball :
--
nosy: +ceball
___
Python tracker
<http://bugs.python.org/issue989712>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Gary E. Miller:
The man page for random.SystemRandom([seed]]) fails to mention that the
parameter 'seed' is never used. This should be prominent in the documentation.
I have found several cases where a seed was provided to SystemRandom().
https://docs.pyth
Gary E. Miller added the comment:
I would change:
"Accordingly, the seed() method has no effect and is ignored."
To:
"Accordingly, the optional seed parameter and the seed() method have no effect
and are ignored."
It was not obvious to me that the seed paramrter go
Gary E. Miller added the comment:
> > why have an ignored parameter that is not plainly documented as ignored.
> Because it improves the substitutability of one RNG for another (i.e. the
> same reason that we even have a seed() method).
I understand why it the parameter it there.
Gary E. Miller added the comment:
Is there a better place to submit documentation problems to? After my
programming team spends a lot of valuable time figuring what the Python doc
failed to mention I would like this knowledge to be put to good use by others.
Paying it forward if you will
Gary E. Miller added the comment:
> The docs are clear that System Random uses os.urandom() for creating random
> numbers, that there is not state, that sequences aren't reproducible, and
> that seed method has no effect and is ignored.
Agreed, but not relevant. I have anecdo
New submission from Wolfgang E. Sanyer:
I have a use case where I am using a csv.reader to loop through one file and
trying to use a csv.writer to output to another file. However, when I do this,
the csv.writer instance does not write anything to the output file.
ex:
import csv
with open
Wolfgang E. Sanyer added the comment:
You can close this - it turns out that I was looping through the input file
once first, and did not properly rewind it after doing so.
Might it make sense to have the csv module rewind the file after it has been
looped through, so that it acts as a
New submission from David E. Narvaez:
The original bug report can be found at
https://bugs.kde.org/show_bug.cgi?id=335965. I was not able to reproduce this
on Gentoo until the Fedora maintainer commented they build their Python with
--enable-shared. At that point, I built two copies of Python
New submission from E. M. P. Höller :
urllib.request.Request internally .capitalize()s header names before adding
them, as can be seen here:
https://github.com/python/cpython/blob/3.9/Lib/urllib/request.py#L399
Since HTTP headers are case-insensitive, but dicts are not, this ensures that
New submission from David E. Franco G. :
I noticed that the horizontal scroll bar is missing, I think it was present in
previous version, regardless it would be nice if its be present.
Thanks.
--
assignee: terry.reedy
components: IDLE
files: no scroll bar.PNG
messages: 388469
nosy
David E. Franco G. added the comment:
How is that clutter?
Even the most basic text editor (window notepad) have it, and knowing that
yours or whoever code you are looking at extend horizontally beyond the size of
your current windows size is a relevant information.
--
Added file
David E. Franco G. added the comment:
>I presume you would like 'async' and 'await' highlighted as keywords.
Yes.
Some others tools like IPython and the Spider IDE that come with the Anaconda
package already highlighted them as keywords, even if you can use them as
David E. Franco G. added the comment:
Ok, Done.
that work in both 3.5 and 3.6
I also did the
python -m idlelib.ColorDelegator
and
python -m idlelib.colorizer
and they turn ok
I also open those modules in their respective idle and run them, ColorDelegator
work ok but colorizer
David E. Franco G. added the comment:
I found the problem, it was a test.pyc file that was in my personal folder...
once deleted it work perfect
the build-in test module should have some other name...
--
___
Python tracker
<http://bugs.python.
New submission from David E. Franco G.:
wandering for the internet I fount some unicode character in a random comment,
and just for curiosity I wanted to use python (3.6.1) to see their value, so I
copy those characters and paste them in IDLE, and in doing so it just close
without warning or
New submission from David E. Franco G.:
Well, this is pretty self explanatory, when playing with this new features of
async and await (https://docs.python.org/3.5/whatsnew/3.5.html#new-features) I
found to me surprise that there is no syntax highlighting for it in the IDLE
for py3.5 and also
New submission from David E. Franco G.:
the issue is that when calling help on a function annotated with typing, all
the relevant information is lost, for example
from typing import List, Any, Iterator, Tuple
def foo(data:List[Any]) -> Iterator[ Tuple[int,Any] ]:
...
when calling h
David E. Franco G. added the comment:
as that is the case, how about this as a solution:
def formatannotation(annotation, base_module=None):
if isinstance(annotation, type):
if annotation.__module__ in ('builtins', base_module):
return annotation.__
1101 - 1200 of 1201 matches
Mail list logo