[issue45933] Illegal Instrution (Core Dumped)

2021-11-29 Thread Tom E
New submission from Tom E : When compiling CPython 3.10 on Ubuntu 22.04, with GCC 11.2.0, it compiles successfully, but when trying to run it it just gives Illegal Instrution (Core Dumped). But when I build 3.9.9 its just fine... CPU is Intel Core i5-10400. -- messages: 407330 nosy

[issue45933] Illegal Instrution (Core Dumped)

2021-11-30 Thread Tom E
Tom E added the comment: Not yet... my configure flags are ./configure CFLAGS="-O3 -mtune=corei7-avx -march=corei7-avx" LDFLAGS="-L/usr/local/ssl/lib64" CPP=cpp CXX=g++ --with-openssl=/usr/local/ssl --enable-optimizat

[issue45933] Illegal Instrution (Core Dumped)

2021-12-01 Thread Tom E
Tom E added the comment: its defos fine because ive tried it without the CFLAGS and same error -- ___ Python tracker <https://bugs.python.org/issue45

[issue45933] Illegal Instrution (Core Dumped)

2021-12-02 Thread Tom E
Tom E added the comment: Well I updated the kernel to 5.15.0 and used my succeeding 3.9.9 build and now it works. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue35108] inspect.getmembers passes exceptions from object's properties through

2020-02-03 Thread Tom Augspurger
Change by Tom Augspurger : -- keywords: +patch pull_requests: +17703 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18330 ___ Python tracker <https://bugs.python.org/issu

[issue39671] Mention in docs that asyncio.FIRST_COMPLETED does not guarantee the completion of no more than one task

2020-02-18 Thread Tom Pohl
New submission from Tom Pohl : Currently, the documentation of asyncio.wait gives the impression that using FIRST_COMPLETED guarantees the completion of no more than one task. In reality, the number of completed task after asyncio.wait can be larger than one. While this behavior (exactly one

[issue39758] StreamWriter.wait_closed() can hang indefinately.

2020-02-26 Thread Tom Christie
New submission from Tom Christie : Raising an issue that's impacting us on `httpx`. It appears that in some cases SSL unwrapping can cause `.wait_closed()` to hang indefinately. Trio are particularly careful to work around this case, and have an extensive comment on it: https://githu

[issue32830] tkinter documentation suggests "from tkinter import *", contradicting PEP8

2020-12-01 Thread Tom Middleton
Tom Middleton added the comment: While I agree that it shouldn't be imposed on changing previous code, changing the documentation isn't changing the previous code it is encouraging future code. I think that the documentation should have a caveat. I'm seeing a lot of new cod

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2020-12-10 Thread Tom Birch
New submission from Tom Birch : After https://github.com/python/cpython/pull/12946, there exists an issue on MacOS due to the two-level namespace for symbol resolution. If a C extension links against libpython.dylib, all symbols dependencies from the Python C API will be bound to libpython

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2020-12-11 Thread Tom Birch
Tom Birch added the comment: > Does this affect unix-style builds with --enable-shared or framework builds? I believe the answer is no, since in both those cases the `python` executable doesn't contain definitions for any of the libpython symbols. In my testing I was using a pytho

[issue42778] Add follow_symlinks=True to {os.path,Path}.samefile

2020-12-28 Thread Tom Hale
New submission from Tom Hale : The os.path and Path implementations of samefile() do not allow comparisons of symbolic links: % mkdir empty && chdir empty % ln -s non-existant broken % ln broken lnbroken % ls -i # Show inode numbers 19325632 broken@ 19325632 lnbroken@ % Yup, they

[issue42778] Add follow_symlinks=True parameter to both os.path.samefile() and Path.samefile()

2020-12-28 Thread Tom Hale
Tom Hale added the comment: In summary: The underlying os.stat() takes a follow_symlinks=True parameter but it can't be set to False when trying to samefile() two symbolic links. -- title: Add follow_symlinks=True to {os.path,Path}.samefile -> Add follow_symlinks=True para

[issue36656] Add race-free os.link and os.symlink wrapper / helper

2020-12-29 Thread Tom Hale
Tom Hale added the comment: Related issue found in testing: bpo-42778 Add follow_symlinks=True parameter to both os.path.samefile() and Path.samefile() -- ___ Python tracker <https://bugs.python.org/issue36

[issue42514] Relocatable framework for macOS

2021-01-21 Thread Tom Goddard
Change by Tom Goddard : -- nosy: +tomgoddard ___ Python tracker <https://bugs.python.org/issue42514> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2021-02-03 Thread Tom Birch
Tom Birch added the comment: Steve Dower: this issue is independent of distutils, reopening -- components: -Distutils status: closed -> open ___ Python tracker <https://bugs.python.org/issu

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2021-02-03 Thread Tom Birch
Change by Tom Birch : -- components: +C API, Extension Modules ___ Python tracker <https://bugs.python.org/issue42616> ___ ___ Python-bugs-list mailing list Unsub

[issue43292] xml.ElementTree iterparse filehandle left open

2021-02-23 Thread Tom Dougherty
Tom Dougherty added the comment: "erase all files" -- nosy: +dtom9424 type: crash -> security ___ Python tracker <https://bugs.python.org/issue43292> ___ ___

[issue41134] distutils.dir_util.copy_tree FileExistsError when updating symlinks

2020-06-26 Thread Tom Hale
New submission from Tom Hale : Here is a minimal test case: == #!/bin/bash cd /tmp || exit 1 dir=test-copy_tree src=$dir/src dst=$dir/dst mkdir -p "$src" touch "$src"/file ln -s file "$src/symlink" pyth

[issue36656] Add race-free os.link and os.symlink wrapper / helper

2020-06-26 Thread Tom Hale
Tom Hale added the comment: Related: bpo-41134 distutils.dir_util.copy_tree FileExistsError when updating symlinks WIP update: I am just about to ask for feedback on my proposed solution at core-mentors...@python.org -- title: Please add race-free os.link and os.symlink wrapper

[issue41280] lru_cache on 0-arity functions should default to maxsize=None

2020-07-11 Thread Tom Forbes
New submission from Tom Forbes : `functools.lru_cache` has a maxsize=128 default for all functions. If a function has no arguments then this maxsize default is redundant and should be set to `maxsize=None`: ``` @functools.lru_cache() def function_with_no_args(): pass ``` Currently you

[issue41134] distutils.dir_util.copy_tree FileExistsError when updating symlinks

2020-07-16 Thread Tom Hale
Change by Tom Hale : -- keywords: +patch pull_requests: +20651 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14464 ___ Python tracker <https://bugs.python.org/issu

[issue41543] contextlib.nullcontext doesn't work with async context managers

2020-08-13 Thread Tom Gringauz
New submission from Tom Gringauz : `contextlib.nullcontext` cannot be used with async conetext managers, because it implements only `__enter__` and `__exit__`, and doesn't implement `__aenter__` and `__aexit__`. -- components: Library (Lib), asyncio messages: 375346 nosy: asv

[issue41543] contextlib.nullcontext doesn't work with async context managers

2020-08-13 Thread Tom Gringauz
Change by Tom Gringauz : -- keywords: +patch pull_requests: +20995 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21870 ___ Python tracker <https://bugs.python.org/issu

[issue41628] All unittest.mock autospec-generated methods are coroutine functions

2020-08-24 Thread Tom Most
New submission from Tom Most : Given a class: class Foo: def bar(self): pass And an autospec'd mock of it: foo_mock = mock.create_autospec(spec=Foo) The result of `asyncio.iscoroutinefunction()` differs: asyncio.iscoroutinefunction(Foo.bar)# -&g

[issue41628] All unittest.mock autospec-generated methods are coroutine functions

2020-08-24 Thread Tom Most
Tom Most added the comment: Note that this can interact poorly with AsyncMock, introduced in Python 3.8, because it causes a mock generated from a mock produces an object with async methods rather than regular ones. In Python 3.7 chaining mocks like this would produce regular methods. (This

[issue41912] Long generator chain causes segmentation fault

2020-10-02 Thread Tom Karzes
New submission from Tom Karzes : If I create a sufficiently long chain of generators, I encounter a segmentation fault. For example, the following works as expected: % ./gen_bug3.py 1 1 % But for sufficiently larger chain lengths, it seg faults: % ./gen_bug3.py

[issue41912] Long generator chain causes segmentation fault

2020-10-02 Thread Tom Karzes
Tom Karzes added the comment: That is a good point, except I don't believe the value needed to expose this bug is a "too-high limit" (as the documentation calls it). I set it to 100100 for convenience, but in practice even a value of 17000 is more than enough to expose the b

[issue41912] Long generator chain causes segmentation fault

2020-10-02 Thread Tom Karzes
Tom Karzes added the comment: I tested this some more, and one thing became clear that I hadn't realized before: This bug has nothing to do specifically with generators (as I had thought), but is in fact due purely to the recursion limit. I created a recursive test program that doesn&

[issue41912] Long generator chain causes segmentation fault

2020-10-02 Thread Tom Karzes
Tom Karzes added the comment: Thanks Tim and Terry. Stackless Python sounds interesting. It's nice to know that others had the same idea I did, although I tend to shy away from exotic variants since they tend to be less well-supported. Any chance that CPython will go stackless at

[issue42252] Embeddable Python indicates that it uses PYTHONPATH

2020-11-03 Thread Tom Kent
New submission from Tom Kent : According to the documentation https://docs.python.org/3/using/windows.html#windows-embeddable > When extracted, the embedded distribution is (almost) fully isolated > from the user’s system, including environment variables, system registry > sett

[issue42252] Embeddable Python indicates that it uses PYTHONPATH

2020-11-03 Thread Tom Kent
Tom Kent added the comment: I'm not sure I agree with that. One possible use-case is to package it along with another program to use the interpreter. In this case they could use the other program's native language features (e.g. .Net's Process.Start(), Win32 API's C

[issue42252] Embeddable Python indicates that it uses PYTHONPATH

2020-11-03 Thread Tom Kent
Tom Kent added the comment: A couple things... >> One possible use-case is to package it along with another program to use the >> interpreter. > This is the primary use case. If you're doing something else with it, you're > probably misusing it :) Interesting,

[issue36011] ssl - tls verify on Windows fails

2020-11-15 Thread Tom Kent
Tom Kent added the comment: Christian's message indicated that a workaround was possible by adding mozilla's certs to windows cert store. I'm sure there are sysadmins who will really hate this idea, but I've successfully implemented it in a windows docker image, an

[issue42395] aclosing was not added to __all__ in contextlib

2020-11-17 Thread Tom Gringauz
New submission from Tom Gringauz : Related to this PR https://github.com/python/cpython/pull/21545 -- components: Library (Lib) messages: 381296 nosy: tomgrin10 priority: normal severity: normal status: open title: aclosing was not added to __all__ in contextlib

[issue42395] aclosing was not added to __all__ in contextlib

2020-11-17 Thread Tom Gringauz
Change by Tom Gringauz : -- keywords: +patch pull_requests: +22249 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23356 ___ Python tracker <https://bugs.python.org/issu

[issue42396] Add a whatsnew entry about async contextlib.nullcontext

2020-11-17 Thread Tom Gringauz
Change by Tom Gringauz : -- nosy: tomgrin10 priority: normal severity: normal status: open title: Add a whatsnew entry about async contextlib.nullcontext ___ Python tracker <https://bugs.python.org/issue42

[issue42396] Add a whatsnew entry about async contextlib.nullcontext

2020-11-17 Thread Tom Gringauz
Change by Tom Gringauz : -- keywords: +patch pull_requests: +22250 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23357 ___ Python tracker <https://bugs.python.org/issu

[issue13651] Improve redirection in urllib

2012-01-26 Thread tom kel
tom kel added the comment: I changed the patch and made it a little bit better. -- versions: +Python 3.1, Python 3.4 -Python 2.7 Added file: http://bugs.python.org/file24334/2012-1-26.diff ___ Python tracker <http://bugs.python.org/issue13

[issue14042] json.dumps() documentation is slightly incorrect.

2012-02-17 Thread Tom Christie
New submission from Tom Christie : json.dumps() documentation is slightly incorrect. http://docs.python.org/library/json.html#json.dumps Reads: "If ensure_ascii is False, then the return value will be a unicode instance." Should read: "If ensure_ascii is False, then the r

[issue12568] Add functions to get the width in columns of a character

2012-03-10 Thread Tom Christiansen
Tom Christiansen added the comment: I would encourage you to look at the Perl CPAN module Unicode::LineBreak, which fully implements tr11. It includes Unicode::GCString, a class that has a columns() method to determine the print columns. This is very fancy in the case of Asian widths, but of

[issue12568] Add functions to get the width in columns of a character

2012-03-10 Thread Tom Christiansen
Tom Christiansen added the comment: >Martin v. L=C3=B6wis added the comment: >> Martin, I think you meant to write "if w =3D=3D 'A':". >> Some very common characters have ambiguous widths though (e.g. the Greek = >alphabet), so you can't just raise

[issue12568] Add functions to get the width in columns of a character

2012-03-10 Thread Tom Christiansen
Tom Christiansen added the comment: >Martin v. L=C3=B6wis added the comment: >> I would encourage you to look at the Perl CPAN module Unicode::LineBreak, >> which fully implements tr11. >Thanks for the pointer! >> If you'd like, I can show you a program t

[issue1065986] Fix pydoc crashing on unicode strings

2012-04-12 Thread Tom Bachmann
Tom Bachmann added the comment: Hello, [this is my first bug report, so I'm sorry if I'm not adhering to some conventions] in what versions of python is this supposed to be fixed? Consider: % python Python 2.7.2+ (default, Nov 30 2011, 19:22:03) [GCC 4.6.2] on linux2

[issue1065986] Fix pydoc crashing on unicode strings

2012-04-12 Thread Tom Bachmann
Tom Bachmann added the comment: I see. Thank you. On 12.04.2012 16:08, R. David Murray wrote: > > R. David Murray added the comment: > > It is fixed in Python3. Apparently Raymond was wrong about it having been > fixed earlier (or perhaps he was referring to the unicode bei

[issue36709] Asyncio SSL keep-alive connections raise errors after loop close.

2019-05-28 Thread Tom Christie
Tom Christie added the comment: > From my understanding, the correct code should close all transports and wait > for their connection_lost() callbacks before closing the loop. Ideally, yes, although we should be able to expect that an SSL connection that hasn't been gracef

[issue36709] Asyncio SSL keep-alive connections raise errors after loop close.

2019-05-30 Thread Tom Christie
Tom Christie added the comment: Right, and `requests` *does* provide both those styles. The point more being that *not* having closed the transport at the point of exit shouldn't end up raising a hard error. It doesn't raise errors in sync-land, and it shouldn't do s

[issue36656] Race conditions due to os.link and os.symlink POSIX specification

2019-06-03 Thread Tom Hale
Change by Tom Hale : -- title: Allow os.symlink(src, target, force=True) to prevent race conditions -> Race conditions due to os.link and os.symlink POSIX specification ___ Python tracker <https://bugs.python.org/issu

[issue36656] Race conditions due to os.link and os.symlink POSIX specification

2019-06-03 Thread Tom Hale
Tom Hale added the comment: Serhiy wrote > Detected problem is better than non-detected problem. I agree. I also assert that no problem (via a shutil wrapper) is better than a detected problem which may not be handled. While it's up to the programmer to handle exceptions, it's

[issue36656] Please add race-free os.link and os.symlink wrapper / helper

2019-06-29 Thread Tom Hale
Tom Hale added the comment: I've created a PR here: https://github.com/python/cpython/pull/14464 Only shutil.symlink is currently implemented. Feedback sought from Windows users. @Michael.Felt please note that `overwrite=False` is the default. @taleinat I hope that the new implement

[issue30787] Please add a comprehensive index of decorators to the documentation.

2017-06-27 Thread tom kronmiller
New submission from tom kronmiller: It is difficult to learn what decorators there are because there is no single index which lists all of them (at least, I have been unable to find one). Instead, one must stumble across them while reading library module documentation. An index listing the

[issue30787] Please add a comprehensive index of decorators to the documentation.

2017-06-29 Thread tom kronmiller
tom kronmiller added the comment: I would not object if there was an index which contained the decorators among other things, but I have found it difficult in practice to discover things like @staticmethod and @contextmanager. Just as I browse the index of library modules to for insight as

[issue31076] http.server should correctly handle HTTP 1.1 responses without a content-length

2017-07-29 Thread Tom Forbes
New submission from Tom Forbes: The builtin http.server module does not support HTTP keep-alive when sending a response without a content-length. This causes any clients to hang waiting on more response data, while the server hangs waiting for the client to send another request. This is

[issue31076] http.server should correctly handle HTTP 1.1 responses without a content-length

2017-07-31 Thread Tom Forbes
Tom Forbes added the comment: Django recently switched to HTTP 1.1 on their development server, and it works fine as long as the middleware is included that generates the content length. Using a 'bare' Django project with no middleware the server will just hang. It sounds like the e

[issue31193] re.IGNORECASE strips combining character from lower case of LATIN CAPITAL LETTER I WITH DOT ABOVE

2017-08-13 Thread Tom Viner
Changes by Tom Viner : -- nosy: +tomviner ___ Python tracker <http://bugs.python.org/issue31193> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31196] Blank line inconsistency between InteractiveConsole and standard interpreter

2017-08-13 Thread Tom Viner
Changes by Tom Viner : -- nosy: +tomviner ___ Python tracker <http://bugs.python.org/issue31196> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23078] unittest.mock patch autospec doesn't work on staticmethods

2018-11-26 Thread Tom Dalton
Tom Dalton added the comment: I've just come across this too, so would be great if the patch can be progressed. -- nosy: +tom.dalton.fanduel ___ Python tracker <https://bugs.python.org/is

[issue23078] unittest.mock patch autospec doesn't work on staticmethods

2018-11-26 Thread Tom Dalton
Tom Dalton added the comment: Here's a minimal example so my comment is not totally vacuous: ``` import unittest from unittest import mock class Foo: @classmethod def bar(cls, baz): pass class TestFoo(unittest.TestCase): def test_bar(self):

[issue35627] multiprocessing.queue in 3.7.2 doesn't behave as it was in 3.7.1

2019-01-21 Thread Tom Wilson
Tom Wilson added the comment: Hi there. I get this behavior as well, although only in a venv. Main Virtual v3.7.1:260ec2c36a CompletesCompletes v3.7.2:9a3ffc0492 Completes Hangs Some other details of my setup: - Windows 10 Pro, Version 1803 (OS

[issue35627] multiprocessing.queue in 3.7.2 doesn't behave as it was in 3.7.1

2019-01-21 Thread Tom Wilson
Tom Wilson added the comment: In case this is a clue - the attached script "mp_hang2.py" adds a call to qsize() and uses only a single consumer. When I run it from the command line it does one of two things: Option 1: C:\TEMP\Py-3.7.2b-Venv\Scripts>.\python.exe "C

[issue16177] Typing left parenthesis in IDLE causes intermittent Cocoa Tk crash on OS X

2019-04-11 Thread Tom Goddard
Tom Goddard added the comment: This Mac Tk bug was supposedly fixed in 2016 or 2017. Details are in the following Tk ticket. http://core.tcl.tk/tk/tktview/c84f660833546b1b84e7 The previous URL to the Tk ticket no longer works. In case the above URL also goes bad, the id number

[issue36656] Allow os.symlink(src, target, force=True) to prevent race conditions

2019-04-18 Thread Tom Hale
New submission from Tom Hale : I cannot find a race-condition-free way to force overwrite an existing symlink. os.symlink() requires that the target does not exist, meaning that it could be created via race condition the two workaround solutions that I've seen: 1. Unlink existing sy

[issue36656] Allow os.symlink(src, target, force=True) to prevent race conditions

2019-04-19 Thread Tom Hale
Tom Hale added the comment: The most correct work-around I believe exists is: (updates at: https://stackoverflow.com/a/55742015/5353461) def symlink_force(target, link_name): ''' Create a symbolic link pointing to target named link_name. Overwri

[issue36709] Asyncio SSL keep-alive connections raise errors after loop close.

2019-04-24 Thread Tom Christie
New submission from Tom Christie : If an asyncio SSL connection is left open (eg. any kind of keep-alive connection) then after closing the event loop, an exception will be raised... Python: ``` import asyncio import ssl import certifi async def f(): ssl_context

[issue36709] Asyncio SSL keep-alive connections raise errors after loop close.

2019-04-24 Thread Tom Christie
Tom Christie added the comment: This appears somewhat related: https://bugs.python.org/issue34506 As it *also* logs exceptions occuring during `_fatal_error` and `_force_close`. -- ___ Python tracker <https://bugs.python.org/issue36

[issue36656] Allow os.symlink(src, target, force=True) to prevent race conditions

2019-05-03 Thread Tom Hale
Tom Hale added the comment: Yes, but by default (because of difficulty) people won't check for this case: 1. I delete existing symlink in order to recreate it 2. Attacker watching symlink finds it deleted and recreates it 3. I try to create symlink, and an unexpected exception is r

[issue36656] Allow os.symlink(src, target, force=True) to prevent race conditions

2019-05-14 Thread Tom Hale
Tom Hale added the comment: Thanks Toshio Kuratomi, I raised it on the mailing list at: https://code.activestate.com/lists/python-ideas/55992/ -- ___ Python tracker <https://bugs.python.org/issue36

[issue36656] Allow os.symlink(src, target, force=True) to prevent race conditions

2019-05-14 Thread Tom Hale
Change by Tom Hale : -- type: security -> enhancement ___ Python tracker <https://bugs.python.org/issue36656> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue10685] trace does not ignore --ignore-module

2018-04-13 Thread Tom Hines
Tom Hines added the comment: bump -- ___ Python tracker <https://bugs.python.org/issue10685> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue33366] `contextvars` documentation incorrectly refers to "non-local state".

2018-04-26 Thread Tom Christie
New submission from Tom Christie : The `contextvars` documentation, at https://docs.python.org/3.7/library/contextvars.html starts with the following: "This module provides APIs to manage, store, and access non-local state." I assume that must be a documentation bug, right. The mo

[issue33366] `contextvars` documentation incorrectly refers to "non-local state".

2018-04-27 Thread Tom Christie
Tom Christie added the comment: Refs: https://github.com/python/cpython/pull/6617 -- ___ Python tracker <https://bugs.python.org/issue33366> ___ ___ Python-bug

[issue33374] generate-posix-vars failed when building Python 2.7.14 on Linux

2018-04-27 Thread Tom Grigg
Tom Grigg added the comment: I beleive this is caused by https://bugs.python.org/issue27987 in combination with GCC 8. Florian Weimer proposed a patch which is included in the Fedora build: https://src.fedoraproject.org/cgit/rpms/python2.git/tree/00293-fix-gc-alignment.patch It would be

[issue33374] generate-posix-vars failed when building Python 2.7.14 on Linux

2018-04-27 Thread Tom Grigg
Change by Tom Grigg : -- nosy: +fweimer ___ Python tracker <https://bugs.python.org/issue33374> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27987] obmalloc's 8-byte alignment causes undefined behavior

2018-04-27 Thread Tom Grigg
Change by Tom Grigg : -- nosy: +tgrigg ___ Python tracker <https://bugs.python.org/issue27987> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31811] async and await missing from keyword list in lexical analysis doc

2017-10-26 Thread Tom Floyer
Change by Tom Floyer : -- keywords: +patch pull_requests: +4095 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue31811> ___ _

[issue31810] Travis CI, buildbots: run "make smelly" to check if CPython leaks symbols

2017-10-26 Thread Tom Floyer
Change by Tom Floyer : -- pull_requests: +4103 ___ Python tracker <https://bugs.python.org/issue31810> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31811] async and await missing from keyword list in lexical analysis doc

2017-10-26 Thread Tom Floyer
Tom Floyer added the comment: I've added those keywords to documentation master branch. -- nosy: +tomfloyer pull_requests: +4104 ___ Python tracker <https://bugs.python.org/is

[issue28140] Attempt to give better errors for pip commands typed into the REPL

2017-11-05 Thread Tom Viner
Change by Tom Viner : -- nosy: +tomviner ___ Python tracker <https://bugs.python.org/issue28140> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31811] async and await missing from keyword list in lexical analysis doc

2017-11-08 Thread Tom Floyer
Change by Tom Floyer : -- pull_requests: -4095 ___ Python tracker <https://bugs.python.org/issue31811> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31810] Travis CI, buildbots: run "make smelly" to check if CPython leaks symbols

2017-11-08 Thread Tom Floyer
Change by Tom Floyer : -- pull_requests: +4299 ___ Python tracker <https://bugs.python.org/issue31810> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31810] Travis CI, buildbots: run "make smelly" to check if CPython leaks symbols

2017-11-08 Thread Tom Floyer
Change by Tom Floyer : -- pull_requests: +4300 ___ Python tracker <https://bugs.python.org/issue31810> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32001] @lru_cache needs to be called with ()

2017-11-10 Thread Tom Hale
New submission from Tom Hale : This comes from a question I raised on StackOverflow: https://stackoverflow.com/q/47218313/5353461 I've copied the text

[issue32244] Multiprocessing: multiprocessing.connection.Listener.accept() should accept a timeout

2017-12-07 Thread Tom Cook
New submission from Tom Cook : If nothing connects to it, `multiprocessing.connection.Listener.accept()` will block forever with no good way to interrupt it. Supposing that a thread implements a loop like this: def run(self): l = Listener(socket_path, 'AF_UNIX')

[issue32244] Multiprocessing: multiprocessing.connection.Listener.accept() should accept a timeout

2017-12-07 Thread Tom Cook
Tom Cook added the comment: The same goes for `Connection.recv()`, as in the sample code another case where the thread will never terminate is when a `Client` is connected to the socket but never sends any messages; in this case, the call to `recv()` will block forever. There is no way at

[issue9334] argparse does not accept options taking arguments beginning with dash (regression from optparse)

2018-01-08 Thread Tom Karzes
Tom Karzes added the comment: I'm dismayed to see that this bug was reported in 2010, yet as of January 2018 has not yet been fixed. This option parsing behavior is contrary to Unix option passing conventions. I certainly don't mind enhancements, but the last thing that should

[issue9334] argparse does not accept options taking arguments beginning with dash (regression from optparse)

2018-01-09 Thread Tom Karzes
Tom Karzes added the comment: Here's my situation: I originally used optparse, although some of the guys I worked with at the time were starting to use argparse. At first I thought, I'm sticking with optparse, it's more standard than argparse and probably better supporte

[issue28140] Attempt to give better errors for pip commands typed into the REPL

2018-07-28 Thread Tom Viner
Tom Viner added the comment: I am looking at this, as part of the EuroPython 2018 sprint. -- ___ Python tracker <https://bugs.python.org/issue28140> ___ ___

[issue28140] Attempt to give better errors for pip commands typed into the REPL

2018-07-28 Thread Tom Viner
Change by Tom Viner : -- keywords: +patch pull_requests: +8053 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue28140> ___ ___ Python-

[issue34564] Tutorial Section 2.1 Windows Installation Path Correction

2018-09-02 Thread Tom Berry
New submission from Tom Berry : The listed installation location is incorrect in the 02 Sep 18 release of the tutorial. It shows the default install path as C:\python36 vice C:\Program Files\python37. This may be related to an installer issue, as installing single-user places the program

[issue34873] re.finditer behaviour in re.MULTILINE mode fails to match first 7 characters

2018-10-02 Thread Tom Dawes
New submission from Tom Dawes : re.finditer appears to fail to match within the first 7 characters in a string when re.MULTILINE is used: >>> REGEX = re.compile("y") >>> [list(m.start() for m in REGEX.finditer("{}y".format("x

[issue34873] re.finditer behaviour in re.MULTILINE mode fails to match first 7 characters

2018-10-02 Thread Tom Dawes
Tom Dawes added the comment: Please ignore, re.finditer and REGEX.finditer aren't the same. I was passing re.MULTILINE (= 8) to endPos. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python t

[issue34877] Inconsistent Behavior Of futures.ProcessPoolExecutor

2018-10-02 Thread Tom Ashley
New submission from Tom Ashley : Not sure if this goes in core or modules. There is an inconsistency in the output of the attached script. From the docs I read it's supposed to have the behavior of: "If something happens to one of the worker processes to cause it to exit unexpec

[issue12657] Cannot override JSON encoding of basic type subclasses

2018-11-15 Thread Tom Brown
Tom Brown added the comment: I found this work-around useful https://stackoverflow.com/a/32782927 -- nosy: +Tom.Brown ___ Python tracker <https://bugs.python.org/issue12

[issue18213] py-bt errors on backtrace

2013-06-14 Thread Tom Tromey
Changes by Tom Tromey : -- nosy: +tromey ___ Python tracker <http://bugs.python.org/issue18213> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17121] SSH upload for distutils

2013-06-14 Thread Tom Prince
Tom Prince added the comment: > "this package performs heavy monkey-patching of distutils to make it use the system's ssh command." > I don't think this bodes well for immediate inclusion, especially in a bugfix release. It only needs monkey-patching to convince dis

[issue13241] llvm-gcc-4.2 miscompiles Python (XCode 4.1 on Mac OS 10.7)

2012-05-10 Thread Tom Pinckney
Tom Pinckney added the comment: FWIW, clang from Xcode 4.3.2 build 4E2002 w/ command line tools built everything fine for me too (i.e., ./configure CC=clang). LM-SJN-00377886:cpython tom$ uname -a Darwin LM-SJN-00377886 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012

[issue1508475] transparent gzip compression in urllib

2012-05-10 Thread Tom Pinckney
Tom Pinckney added the comment: What if this gzip decompression was optional and controlled via a flag or handler instead of making it automagic? It's not entirely trivial to implement so it is nice to have the option of this happening automatically if one wishes. Then, the caller wou

[issue6696] Profile objects should be documented

2012-05-10 Thread Tom Pinckney
Tom Pinckney added the comment: Looking at the current docs for 3.3, it looks like there are a bunch of other ways that the docs could be clarified: 1) Proper documentation of the complete profile.Profile() and cProfile.Profile() interfaces. 2) Adding other examples to the quick start

[issue6696] Profile objects should be documented

2012-05-12 Thread Tom Pinckney
Tom Pinckney added the comment: I took a stab at updating the docs based on the current profiler source. See attached patch for a first draft. This is my first doc patch so would appreciate any feedback on style and substance of my changes. I tried to document more of the modules (for

[issue15516] exception-handling bug in PyString_Format

2012-07-31 Thread Tom Tromey
New submission from Tom Tromey: In gdb we supply a class whose nb_int method can throw an exception. A user wrote code like this: return '%x' % value ... where "value" was an instance of this class. This caused funny exception behavior later on. You can see the origina

[issue15516] exception-handling bug in PyString_Format

2012-07-31 Thread Tom Tromey
Tom Tromey added the comment: Here is a patch that includes a test case. The test fails before the stringobject.c patch is applied, and passes after. -- Added file: http://bugs.python.org/file26629/P ___ Python tracker <http://bugs.python.

<    1   2   3   4   5   >