[issue45774] Detect SQLite in configure.ac

2021-11-09 Thread Erlend E. Aasland
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

[issue45774] Detect SQLite in configure.ac

2021-11-09 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Nice. I think I'll steal some of your ideas tomorrow :) -- ___ Python tracker <https://bugs.python.org/issue45774> ___ ___

[issue45573] Use pkg-config autoconf macros to detect flags for Modules/Setup

2021-11-10 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +erlendaasland ___ Python tracker <https://bugs.python.org/issue45573> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45754] [sqlite3] SQLITE_LIMIT_LENGTH is incorrectly used to check statement length

2021-11-10 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45243] [sqlite3] add support for changing connection limits

2021-11-13 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45512] [sqlite3] simplify "isolation level"

2021-11-15 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45512] [sqlite3] simplify "isolation level"

2021-11-15 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +27809 pull_request: https://github.com/python/cpython/pull/29561 ___ Python tracker <https://bugs.python.org/issue45

[issue45512] [sqlite3] simplify "isolation level"

2021-11-15 Thread Erlend E. Aasland
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.

[issue45476] [C API] Disallow using PyFloat_AS_DOUBLE() as l-value

2021-11-15 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +erlendaasland ___ Python tracker <https://bugs.python.org/issue45476> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45512] [sqlite3] simplify "isolation level"

2021-11-16 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +27820 pull_request: https://github.com/python/cpython/pull/29576 ___ Python tracker <https://bugs.python.org/issue45

[issue10572] Move test sub-packages to Lib/test

2021-11-16 Thread Erlend E. Aasland
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

[issue42376] Add helpers to populate modules in C

2021-11-16 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +erlendaasland ___ Python tracker <https://bugs.python.org/issue42376> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45126] [sqlite3] cleanup and harden Connection and Cursor __init__

2021-11-16 Thread Erlend E. Aasland
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

[issue45126] [sqlite3] cleanup and harden Connection and Cursor __init__

2021-11-17 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- status: open -> pending ___ Python tracker <https://bugs.python.org/issue45126> ___ ___ Python-bugs-list mailing list Un

[issue45828] [sqlite3] use unraisable exceptions in callbacks

2021-11-17 Thread Erlend E. Aasland
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

[issue45828] [sqlite3] use unraisable exceptions in callbacks

2021-11-17 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue45828> ___ ___ Python-bugs-list mailing list Unsub

[issue45828] [sqlite3] use unraisable exceptions in callbacks

2021-11-17 Thread Erlend E. Aasland
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

[issue40059] Provide a toml module in the standard library

2021-11-17 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +erlendaasland ___ Python tracker <https://bugs.python.org/issue40059> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45512] [sqlite3] simplify "isolation level"

2021-11-17 Thread Erlend E. Aasland
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

[issue45512] [sqlite3] simplify "isolation level"

2021-11-17 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +27836 pull_request: https://github.com/python/cpython/pull/29593 ___ Python tracker <https://bugs.python.org/issue45

[issue45512] [sqlite3] simplify "isolation level"

2021-11-18 Thread Erlend E. Aasland
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

[issue45723] Improve and simplify configure.ac checks

2021-11-19 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +27868 pull_request: https://github.com/python/cpython/pull/29637 ___ Python tracker <https://bugs.python.org/issue45

[issue45774] Detect SQLite in configure.ac

2021-11-19 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-19 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +erlendaasland ___ Python tracker <https://bugs.python.org/issue45847> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45774] Detect SQLite in configure.ac

2021-11-20 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +27901 pull_request: https://github.com/python/cpython/pull/29659 ___ Python tracker <https://bugs.python.org/issue45

[issue45774] Detect SQLite in configure.ac

2021-11-20 Thread Erlend E. Aasland
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

[issue45774] Detect SQLite in configure.ac

2021-11-20 Thread Erlend E. Aasland
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

[issue45774] Detect SQLite in configure.ac

2021-11-20 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- resolution: -> fixed status: open -> closed ___ Python tracker <https://bugs.python.org/issue45774> ___ ___ Python-bugs-

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-21 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +27926 pull_request: https://github.com/python/cpython/pull/29688 ___ Python tracker <https://bugs.python.org/issue45

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-21 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +27927 pull_request: https://github.com/python/cpython/pull/29689 ___ Python tracker <https://bugs.python.org/issue45

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-21 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +27928 pull_request: https://github.com/python/cpython/pull/29690 ___ Python tracker <https://bugs.python.org/issue45

[issue42268] ./configure failing when --with-memory-sanitizer specified

2021-11-21 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +pablogsal ___ Python tracker <https://bugs.python.org/issue42268> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42268] ./configure failing when --with-memory-sanitizer specified

2021-11-21 Thread Erlend E. Aasland
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

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-22 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: 45 down, 35 to go. -- ___ Python tracker <https://bugs.python.org/issue45847> ___ ___ Python-bugs-list mailing list Unsub

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-22 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +27932 pull_request: https://github.com/python/cpython/pull/29696 ___ Python tracker <https://bugs.python.org/issue45

[issue45723] Improve and simplify configure.ac checks

2021-11-22 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +27937 pull_request: https://github.com/python/cpython/pull/29701 ___ Python tracker <https://bugs.python.org/issue45

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-22 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +27939 pull_request: https://github.com/python/cpython/pull/29703 ___ Python tracker <https://bugs.python.org/issue45

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-22 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +27941 pull_request: https://github.com/python/cpython/pull/29705 ___ Python tracker <https://bugs.python.org/issue45

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-22 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: _socket coming up... -- ___ Python tracker <https://bugs.python.org/issue45847> ___ ___ Python-bugs-list mailing list Unsub

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-22 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +27943 pull_request: https://github.com/python/cpython/pull/29707 ___ Python tracker <https://bugs.python.org/issue45

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-22 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +27948 pull_request: https://github.com/python/cpython/pull/29713 ___ Python tracker <https://bugs.python.org/issue45

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-22 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +27951 pull_request: https://github.com/python/cpython/pull/29715 ___ Python tracker <https://bugs.python.org/issue45

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-23 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +27976 pull_request: https://github.com/python/cpython/pull/29738 ___ Python tracker <https://bugs.python.org/issue45

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-24 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +28005 pull_request: https://github.com/python/cpython/pull/29768 ___ Python tracker <https://bugs.python.org/issue45

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-24 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +28006 pull_request: https://github.com/python/cpython/pull/29769 ___ Python tracker <https://bugs.python.org/issue45

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-26 Thread Erlend E. Aasland
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&#x

[issue33376] [pysqlite] Duplicate rows can be returned after rolling back a transaction

2021-11-28 Thread Erlend E. Aasland
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

[issue40280] Consider supporting emscripten/webassembly as a build target

2021-11-29 Thread Erlend E. Aasland
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

[issue45921] codecs module doesn't support iso-8859-6-i, iso-8859-6-e, iso-8859-8-i or iso-8859-8-i

2021-11-29 Thread Erlend E. Aasland
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

[issue45925] Upgrade macOS and Windows installers to use SQLite 3.37.0

2021-11-29 Thread Erlend E. Aasland
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

[issue45723] Improve and simplify configure.ac checks

2021-11-29 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +28075 pull_request: https://github.com/python/cpython/pull/29846 ___ Python tracker <https://bugs.python.org/issue45

[issue45941] help("modules") segfaults on 3.11, MacOS

2021-12-01 Thread Erlend E. Aasland
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

[issue45941] help("modules") segfaults on 3.11, MacOS

2021-12-01 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Also unable to reproduce with HEAD at 49444fb807ecb396462c8e5f547eeb5c6bc5d4de. -- ___ Python tracker <https://bugs.python.org/issue45

[issue45941] help("modules") segfaults on 3.11, MacOS

2021-12-01 Thread Erlend E. Aasland
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

[issue45941] help("modules") segfaults on 3.11, MacOS

2021-12-01 Thread Erlend E. Aasland
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

[issue45695] Out-of-tree builds are not tested.

2021-12-03 Thread Erlend E. Aasland
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

[issue44092] [sqlite3] Remove special rollback handling

2021-12-06 Thread Erlend E. Aasland
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

[issue44092] [sqlite3] Remove special rollback handling

2021-12-06 Thread Erlend E. Aasland
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

[issue44092] [sqlite3] Remove special rollback handling

2021-12-06 Thread Erlend E. Aasland
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&

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-12-07 Thread Erlend E. Aasland
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

[issue15673] PEP 3121, 384 Refactoring applied to testcapi module

2021-12-09 Thread Erlend E. Aasland
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

[issue39563] asyncio.Protocol on windows 10 x64

2020-02-05 Thread Hector E. Socarras
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

[issue39563] asyncio.Protocol on windows 10 x64

2020-02-05 Thread Hector E. Socarras
Change by Hector E. Socarras : -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue39563> ___ ___ Python-bugs-

[issue28429] ctypes fails to import with grsecurity's TPE

2020-02-28 Thread E. Castedo Ellerman
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

[issue27820] Possible bug in smtplib when initial_response_ok=False

2020-12-13 Thread Pandu E POLUAN
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

[issue27820] Possible bug in smtplib when initial_response_ok=False

2020-12-13 Thread Pandu E POLUAN
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

[issue27820] Possible bug in smtplib when initial_response_ok=False

2020-12-30 Thread Pandu E POLUAN
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

[issue27820] Possible bug in smtplib when initial_response_ok=False

2020-12-31 Thread Pandu E POLUAN
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',

[issue27820] Possible bug in smtplib when initial_response_ok=False

2021-01-04 Thread Pandu E POLUAN
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

[issue42498] smtplib is glitchy after receive server code 500

2021-01-05 Thread Pandu E POLUAN
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

[issue27820] Possible bug in smtplib when initial_response_ok=False

2021-01-05 Thread Pandu E POLUAN
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

[issue27820] Possible bug in smtplib when initial_response_ok=False

2021-01-11 Thread Pandu E POLUAN
Change by Pandu E POLUAN : -- components: +Tests ___ Python tracker <https://bugs.python.org/issue27820> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41868] SMTPLIB integrate or provide option to use "logging"

2021-01-11 Thread Pandu E POLUAN
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

[issue39232] asyncio crashes when tearing down the proactor event loop

2021-01-29 Thread Pandu E POLUAN
Change by Pandu E POLUAN : -- nosy: +pepoluan ___ Python tracker <https://bugs.python.org/issue39232> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27820] Possible bug in smtplib when initial_response_ok=False

2021-02-25 Thread Pandu E POLUAN
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

[issue27820] Possible bug in smtplib when initial_response_ok=False

2021-03-09 Thread Pandu E POLUAN
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

[issue32044] pip3 install 3.6.3 crashes on startup; 3.5.4 works; on OS X 10.13.1

2017-11-15 Thread Daniel E Platt
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

[issue32044] pip3 install 3.6.3 crashes on startup; 3.5.4 works; on OS X 10.13.1

2017-11-15 Thread Daniel E Platt
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.

[issue32044] pip3 install 3.6.3 crashes on startup; 3.5.4 works; on OS X 10.13.1

2017-11-15 Thread Daniel E Platt
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

[issue15869] IDLE: Include .desktop file and icon

2012-10-29 Thread Dale E. Moore
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

[issue4508] distutils compiler not handling spaces in path to output/src files

2009-03-18 Thread C. E. Ball
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

[issue989712] Support using Tk without a mainloop

2010-07-28 Thread C. E. Ball
Changes by C. E. Ball : -- nosy: +ceball ___ Python tracker <http://bugs.python.org/issue989712> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29161] random.SystemRandom(seed) documentation issue

2017-01-04 Thread Gary E. Miller
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

[issue29161] random.SystemRandom(seed) documentation issue

2017-01-04 Thread Gary E. Miller
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

[issue29161] random.SystemRandom(seed) documentation issue

2017-01-04 Thread Gary E. Miller
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.

[issue29161] random.SystemRandom(seed) documentation issue

2017-01-04 Thread Gary E. Miller
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

[issue29161] random.SystemRandom(seed) documentation issue

2017-01-04 Thread Gary E. Miller
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

[issue24503] csv.writer fails when within csv.reader

2015-06-24 Thread Wolfgang E. Sanyer
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

[issue24503] csv.writer fails when within csv.reader

2015-07-22 Thread Wolfgang E. Sanyer
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

[issue24783] Import Error (undefined symbol: PyFloat_Type) when Importing math Module on Shared Build

2015-08-02 Thread David E. Narvaez
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

[issue45145] Case of headers in urllib.request.Request

2021-09-08 Thread E . M . P . Höller
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

[issue43467] IDLE: horizontal scrollbar

2021-03-10 Thread David E. Franco G.
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

[issue43467] IDLE: horizontal scrollbar

2021-03-10 Thread David E. Franco G.
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

[issue29706] IDLE needs syntax highlighting for async and await

2017-03-03 Thread David E. Franco G.
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

[issue29706] IDLE needs syntax highlighting for async and await

2017-03-03 Thread David E. Franco G.
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

[issue29706] IDLE needs syntax highlighting for async and await

2017-03-03 Thread David E. Franco G.
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.

[issue30019] IDLE got unexpexted bahavior when trying to use some characters

2017-04-07 Thread David E. Franco G.
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

[issue29706] IDLE needs syntax highlighting for async and await

2017-03-02 Thread David E. Franco G.
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

[issue27989] incomplete signature with help function using typing

2016-09-06 Thread David E. Franco G.
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

[issue27989] incomplete signature with help function using typing

2016-09-07 Thread David E. Franco G.
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.__

<    7   8   9   10   11   12   13   >