[issue40992] Wrong warning in asyncio debug mode

2020-06-16 Thread Alex Alex
New submission from Alex Alex : I run code in example and get message like: Executing () created at /usr/lib/python3.7/asyncio/futures.py:288> took 2.000 seconds It say that coroutine run for 2 second but it was run for 5 second. Also if I comment part in qwe function after await I won&#x

[issue42306] wrong exception handling in case asyncio.shiled usage

2020-11-10 Thread Alex Alex
New submission from Alex Alex : There is not any message about exception from try block. See attach. -- components: asyncio files: scratch_31.py messages: 380640 nosy: Alex Alex, asvetlov, yselivanov priority: normal severity: normal status: open title: wrong exception handling in case

[issue9743] __call__.__call__ chain cause crash when long enough

2010-09-02 Thread Alex
Alex added the comment: This seems to be another case of "C stack depth not reflected in the stack counter". -- nosy: +alex ___ Python tracker <http://bugs.python.

[issue9743] __call__.__call__ chain cause crash when long enough

2010-09-12 Thread Alex
Alex added the comment: I doubt there is a good usecase for it, nevertheless we should attempt to fix it, as segfaults are no good. -- ___ Python tracker <http://bugs.python.org/issue9

[issue1838] Ctypes C-level infinite recursion

2010-09-19 Thread Alex
Alex added the comment: I concur with Daniel, this strikes me as a legitimate bug. Crashing is obviously possibly by calling into arbitrary C code, but in this case control never leaves the runtime. -- nosy: +alex status: pending -> o

[issue1838] Ctypes C-level infinite recursion

2010-09-19 Thread Alex
Alex added the comment: No need to solve the halting problem, just to detect a cycle in data. I've got a patch, however it requires objects to be hashable. Another case for identity dict I suppose :) Not sure if that's a reasonable requirement, in any event, proof of con

[issue1838] Ctypes C-level infinite recursion

2010-09-20 Thread Alex
Alex added the comment: Good idea Amaury, seems to work just fine. -- Added file: http://bugs.python.org/file18936/python_recursive_as_parameter.diff ___ Python tracker <http://bugs.python.org/issue1

[issue9801] Can not use append/extend to lists in a multiprocessing manager dict

2010-09-22 Thread Alex
Alex added the comment: It should be documented though. Similar scenario in the Django docs: http://docs.djangoproject.com/en/1.2/topics/http/sessions/#when-sessions-are-saved -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue9

[issue10093] Warn when files are not explicitly closed

2010-10-13 Thread Alex
Alex added the comment: RuntimeWarning you mean? I don't think anyone is suggesting making it an error. -- nosy: +alex ___ Python tracker <http://bugs.python.org/is

[issue10150] Local references not released after exception

2010-10-19 Thread Alex
Alex added the comment: That's because in Python 2.5 at that point in the code sys.exc_info() still points at the traceback (and by extension, the frame) thus x is not deallocated yet. I don't think this is a bug. -- nosy: +alex

[issue10160] operator.attrgetter slower than lambda after adding dotted names ability

2010-10-20 Thread Alex
Alex added the comment: Voice of ignorance here: why can't this be implemented in the "naive" way one might in Python, use the existing string splitting algorithms of stringlib, but just leave it in __new__. ------ nosy: +alex ___

[issue10180] File objects should not pickleable

2010-10-23 Thread Alex
Alex added the comment: I don't see why Buffered or TextIO's shouldn't be pickleable, ISTM their pickleability should be based on what the underlying file obj is. ------ nosy: +alex ___ Python tracker <http://bugs.pyt

[issue10186] Invalid SyntaxError pointer offset

2010-10-23 Thread Alex
New submission from Alex : Builtin SyntaxError formatter does never point to char before last in wrong source line. traceback.format_exception() is not affected. *** Example: >>> raise SyntaxError('', ('', 0, 3, 'hello')) ... hello ^ SyntaxError

[issue10186] Invalid SyntaxError pointer offset

2010-10-23 Thread Alex
Changes by Alex : -- type: -> behavior ___ Python tracker <http://bugs.python.org/issue10186> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue10189] SyntaxError: no binding for nonlocal doesn't contain a useful traceback

2010-10-24 Thread Alex
New submission from Alex : Given the code: def f(): def g(): nonlocal a a = 3 Running it produces: a...@alex-laptop:/tmp$ python3.1 test.py SyntaxError: no binding for nonlocal 'a' found Compared to a different SyntaxError: a...@alex-laptop:/tmp$ python3

[issue10301] Zipfile cannot be used in "with" Statement

2010-11-03 Thread Alex
Alex added the comment: Context manager support was added in 3.2 -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue10301> ___ ___ Python-bugs-list m

[issue1346238] A constant folding optimization pass for the AST

2010-11-05 Thread Alex
Alex added the comment: ISTM that you don't need to worry about mutating locals, the locals() function is explicitly documented as not necessarily affecting local variables (not sure if frame objects have the same documentation). If you want a free optimization opportunity: BINARY_S

[issue10334] Add new reST directive for links to source code

2010-11-05 Thread Alex
Alex added the comment: Seems to me it should be an inline directive (or whatever they're called). i.e. it'd be written:: .. seealso:: Latest version of the :sourcecode:`ast module Python source code `. -- nosy: +alex ___ Pyth

[issue10399] AST Optimization: inlining of function calls

2010-11-12 Thread Alex
Alex added the comment: Just a thought: it's possible to cover all the cases properly with inlining (locals, globals (even with cross module inlining), tracebacks, sys._getframe(), etc.), however I think you're going to find that manually managing all of those is going to quickly

[issue11297] Make ChainMap() public in the collections module.

2011-02-23 Thread Alex
Alex added the comment: An important distinction with Django's push/pop is that they mutate the Context (ChainMap) rather than return a fresh instance. -- nosy: +alex ___ Python tracker <http://bugs.python.org/is

[issue10791] Wrapping TextIOWrapper around gzip files

2011-02-23 Thread Alex
Changes by Alex : -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue10791> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11311] StringIO.readline(0) returns incorrect results

2011-02-24 Thread Alex
Alex added the comment: Fun fact: io.StringIO does the right thing, but _io and _pyio. -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue11

[issue11328] NESTED WHILE CYCLES ERROR

2011-02-26 Thread Alex
Alex added the comment: This is invalid, there's no bug. j doesn't get magically reinitialized to 0, in fact this code would do the same thing in any language I can think of. -- nosy: +alex ___ Python tracker <http://bugs.python.o

[issue11358] Please replace the use of pickle in multiprocessing with json.

2011-02-28 Thread Alex
Alex added the comment: Why? JSON is incapable of representing most Python datastructures that can be pickled (i.e. anything that isn't a list, tuple, dict, int, or str). -- nosy: +alex ___ Python tracker <http://bugs.python.org/is

[issue11455] issue a warning when populating a CPython type dict with non-string keys

2011-03-09 Thread Alex
Alex added the comment: 2 ways to do it: class A(object): locals()[42] = "abc" or type("A", (object,), {42: "abc"}) -- nosy: +alex ___ Python tracker <

[issue11455] issue a warning when populating a CPython type dict with non-string keys

2011-03-10 Thread Alex
Alex added the comment: How can they be set afterwords? alex@alex-laptop:~/projects/pypy$ python3.1 Python 3.1.2 (release31-maint, Sep 17 2010, 20:34:23) [GCC 4.4.5] on linux2 Type "help", "copyright", "credits" or "license" for more information. >

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2011-03-11 Thread Alex
Changes by Alex : -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue2636> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue11470] Flag inappropriate uses of callable class attributes

2011-03-11 Thread Alex
Changes by Alex : -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue11470> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue10399] AST Optimization: inlining of function calls

2010-11-20 Thread Alex
Alex added the comment: There are a couple places you mention not doing the optimization when specific functions are used (e.g. dir, globals, locals), how exactly do you verify that, given those functions could be bound to any name? -- ___ Python

[issue10533] defaultdict constructor with a concrete value

2010-11-25 Thread Alex
Alex added the comment: I agree with Łukasz, it's more clutter than is worth for what amounts to: fallbackdict = lambda c, **kwargs: defaultdict(lambda c, **kwargs) I will note, however, that almost all my use cases are with factories, primarily list set or int, and it was only this

[issue10668] Array tests have nonsense in them

2010-12-09 Thread Alex
New submission from Alex : In ArraySubclassWithKwargs, when __init__ is called it doesn't actually pass self to `array.array.__init__`, this doesn't actually cause errors because the contents of the array isn't tested anywhere. -- components: Library (Lib) messages: 12

[issue9233] json.load failure when C optimizations aren't built

2011-01-28 Thread Alex
Alex added the comment: Just a note from downstream with PyPy: we've cherry-picked the commit Bob linked into our copy of the 2.7 stdlib since we don't have an _json (yet). -- nosy: +alex ___ Python tracker <http://bugs.python.

[issue11209] Example for itertools.count is misleading

2011-02-13 Thread Alex
Alex added the comment: Patch for 2.7. -- keywords: +patch nosy: +alex Added file: http://bugs.python.org/file20758/python-11209.diff ___ Python tracker <http://bugs.python.org/issue11

[issue4356] Add "key" argument to "bisect" module functions

2010-04-15 Thread Alex
Alex added the comment: Looks nice to me, however I wonder if there isn't some overlap with the requests to add a key= kwarg to heapq methods (and the discussion about adding a Heap class there). -- nosy: +alex ___ Python tracker

[issue8419] dict constructor allows invalid identifiers in **kwargs

2010-04-16 Thread Alex
Alex added the comment: Guido seems to be favoring disallowing it, not ignoring it[0]. http://mail.python.org/pipermail/python-dev/2010-April/099435.html -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue8

[issue8530] Stringlib fastsearch can read beyond the front of an array

2010-04-25 Thread Alex
New submission from Alex : In Objects/stringlib/fastsearch.h the lines: if (!STRINGLIB_BLOOM(mask, s[i-1])) and if (!STRINGLIB_BLOOM(mask, s[i-1])) can read beyond the front of the array that is passed to it when the loop enters with i = 0. I originally

[issue8530] Stringlib fastsearch can read beyond the front of an array

2010-04-25 Thread Alex
Alex added the comment: Yes, as the comment of the top of the file notes, reading to s[n] (where n == len(s)) is safe because strings are null padded. -- ___ Python tracker <http://bugs.python.org/issue8

[issue8530] Stringlib fastsearch can read beyond the front of an array

2010-04-25 Thread Alex
Alex added the comment: Well, the fact that it hasn't been shown to fail doesn't mean it can't fail. It relies on reading undefined memory, which is usually bad ;). However, since we're at i=0, regardless of what we add to the value it's going to end up termina

[issue8532] Refinements to Python 3 New GIL

2010-04-25 Thread Alex
Changes by Alex : -- nosy: +alex ___ Python tracker <http://bugs.python.org/issue8532> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue8585] zipimporter.find_module is untested

2010-04-30 Thread Alex
New submission from Alex : There are no tests for zipimporter.find_module in the success case, only tests that it handles invalid inputs ok. I'll work up some tests for this tomorrow probably. -- components: Extension Modules messages: 104684 nosy: alex priority: normal sev

[issue4424] Add support for a cmp, or key argument to heapq functions.

2008-11-24 Thread Alex
New submission from Alex <[EMAIL PROTECTED]>: Currently the heapq module can only really be used if your data has it's own ordering defined. There is no way to do a custom ordering. From my cursory review of the code it looks like some of the lower level functions actually take t

[issue4424] Add support for a cmp, or key argument to heapq functions.

2008-11-24 Thread Alex
Alex <[EMAIL PROTECTED]> added the comment: Apologies, searching didn't yield that. That's not necessarily always easy, for example I'd like to use heapq to merge iterators coming from the database. ___ Python tracker <

[issue4722] _winreg.QueryValue fault while reading mangled registry values

2008-12-22 Thread Alex
New submission from Alex : == What steps will reproduce the problem? 1. Create registry key (let's assume it's located in HKEY_CURRENT_USER\TestKey); 2. Walk to it in "regedit"; 3. Right-click on "(Default)" and select "Modify binary data"; 4. Leave e

[issue11354] argparse: nargs could accept range of options count

2019-11-04 Thread Alex
Alex added the comment: I've had a look at the most recent patch and the code surrounding it, and I would be happy to take on the work to update the code and testing. However, > - It's easy to test for this range after parsing, with '*' or '+' nargs. So &g

[issue43399] xml.etree.ElementTree.extend does not work with iterators when using the Python implementation

2021-03-30 Thread Alex
Alex added the comment: Is there anything else I should be doing, in order to get this merged in time for 3.10? (the PR is "awaiting merge") For the record, the equivalent PR for PyPy is now merged in the py3.7 branch: https://foss.heptapod.net/pypy/pypy/-/merge_requests/807. Reg

[issue44776] Docs on mobile do not use monospace font for code snippets, misaligning carets of improved error messages

2021-07-30 Thread Alex
New submission from Alex : Now that the docs are mobile-friendly (nice!), I noticed that the code snippets are not using a monospace font (at least on my Android 10 + Chrome 92 device). This misaligns the carets of the improved errors messages, for example on the "what's n

[issue44776] Docs on mobile do not use monospace font for code snippets, misaligning carets of improved error messages

2021-07-30 Thread Alex
Alex added the comment: It looks this is already being tracked at: https://github.com/python/pythondotorg/issues/1708 -- ___ Python tracker <https://bugs.python.org/issue44

[issue43399] xml.etree.ElementTree.extend does not work with iterators when using the Python implementation

2021-11-24 Thread Alex
Change by Alex : -- stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue43399> ___ ___ Python-bugs-list

[issue45892] Improve REPL with the underscore separators for int/float

2021-11-24 Thread Alex
New submission from Alex : I often use to the Python REPL to perform some simple calculations (typically some combinatorial or probabilities computation). I believe it would be a nice improvement if the number displayed in the REPL would be formatted as if f"{result:_}" was given

[issue45892] Improve REPL with the underscore separators for int/float

2021-11-25 Thread Alex
Alex added the comment: Thanks a lot Eric for your answers, I did not know about sys.displayhook. Now I know I can easily implement this myself, but the larger question would be: "do we want to update the default displayhook for those simple use

[issue45961] [doc] Missing documentation for wait_for module

2021-12-02 Thread Alex
New submission from Alex : I wondering why there is no documentation for the synchronous module "wait_for": site-packages/wait_for/__init__.py It's just missing or there are some reason? I didn't see any deprecation info about this module. -- messages: 407516

[issue9495] argparse unittest tracebacks are confusing if an error is raised when not expected

2019-11-12 Thread Alex
Change by Alex : -- pull_requests: +16626 pull_request: https://github.com/python/cpython/pull/17120 ___ Python tracker <https://bugs.python.org/issue9

[issue15243] Misleading documentation for __prepare__

2019-11-12 Thread Alex
Change by Alex : -- pull_requests: +16632 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/17124 ___ Python tracker <https://bugs.python.org/issu

[issue15243] Misleading documentation for __prepare__

2019-11-12 Thread Alex
Change by Alex : -- nosy: +alclarks ___ Python tracker <https://bugs.python.org/issue15243> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue38785] Segmentation fault in asyncio

2019-11-13 Thread Alex
New submission from Alex : Get Segmentation fault on run script in attachment. -- components: asyncio files: scratch_15.py messages: 356523 nosy: akayunov, asvetlov, yselivanov priority: normal severity: normal status: open title: Segmentation fault in asyncio type: crash versions

[issue38785] Segmentation fault in asyncio

2019-11-13 Thread Alex
Alex added the comment: Get seg fault on running script in attachment: root@fake:/opt/securisync/be# python3.7 scratch_15.py In tratata before In tratata2 before Segmentation fault -- ___ Python tracker <https://bugs.python.org/issue38

[issue25866] Reference 3. Data Model: miscellaneous minor cleanups on the word "sequence".

2019-11-13 Thread Alex
Alex added the comment: Hi, I've taken a look at these suggestions and the documentation and I've posted a patch to get things moving :) A couple of points about the suggested changes that I haven't included in the patch: 1) I think changing the documentation for __dir__(

[issue11354] argparse: nargs could accept range of options count

2019-11-15 Thread Alex
Alex added the comment: Weighing up how little demand there seems to be for this, and how easy it is to achieve the same effect with post-processing within a hypothetical script that happens to need it - I agree with closing it. -- ___ Python

[issue25866] Reference 3. Data Model: miscellaneous minor cleanups on the word "sequence".

2019-11-15 Thread Alex
Alex added the comment: dorosch, please note section 3.9 from the developers guide: "When a patch exists in the issue tracker that should be converted into a GitHub pull request, please first ask the original patch author to prepare their own pull request. If the author does not re

[issue25866] Reference 3. Data Model: miscellaneous minor cleanups on the word "sequence".

2019-11-15 Thread Alex
Alex added the comment: I've decided to raise a pull request for the patch, considering it's only been a few hours. -- ___ Python tracker <https://bugs.python.o

[issue25866] Reference 3. Data Model: miscellaneous minor cleanups on the word "sequence".

2019-11-15 Thread Alex
Change by Alex : -- pull_requests: +16685 pull_request: https://github.com/python/cpython/pull/17177 ___ Python tracker <https://bugs.python.org/issue25

[issue38819] The redirect

2019-11-15 Thread Alex
New submission from Alex <2423067...@qq.com>: Hi. This bug I've found is about the redirect, you know, to redirect the standard input/output stream. It's not really a bug, you can think of it as a feature. The code is like this: import sys sys.stdout = open('redirect.tx

[issue38828] http.cookiejar handle cookie.version to be None

2019-11-19 Thread Alex
Alex added the comment: Hi, it looks like this needs a fix - I'll write a patch to fix up the handling and add some more testing to cover this scenario. -- nosy: +alclarks ___ Python tracker <https://bugs.python.org/is

[issue40100] Unexpected behavior when handling emoji under codec cp936

2020-03-29 Thread Alex
New submission from Alex <2423067...@qq.com>: Python 3.8.2 IDLE has an unexpected behavior. When I insert an emoji into IDLE like '😍'. Then I found I can't delete it(by typing backspace). When I type the left arrow then it became '��'(U+FFFD). Then I type the l

[issue40384] IDLE: Undesired highlight

2020-04-24 Thread Alex
New submission from Alex <2423067...@qq.com>: In this code: def a(): # def def b(): When I delete the # at line 3, the keyword 'def' become blue. -- assignee: terry.reedy components: IDLE messages: 367249 nosy: Alex-Python-Programmer, terry.reedy priority: normal

[issue40384] IDLE: Undesired highlight

2020-04-24 Thread Alex
Alex <2423067...@qq.com> added the comment: The sharp is at line 2, not line 3. I made a mistake. -- ___ Python tracker <https://bugs.python.org/i

[issue43399] xml.etree.ElementTree.extend does not work with iterators when using the Python implementation

2021-03-04 Thread Alex
New submission from Alex : This issue is only visible when the C accelerator of ElementTree is *not* used. It is the counterpart of the following issue on PyPy3: https://foss.heptapod.net/pypy/pypy/-/issues/3181 >>> from xml.etree.ElementTree import Element >>>

[issue43399] xml.etree.ElementTree.extend does not work with iterators when using the Python implementation

2021-03-04 Thread Alex
Change by Alex : -- keywords: +patch pull_requests: +23521 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24751 ___ Python tracker <https://bugs.python.org/issu

[issue41278] Wrong Completion on Editing Mode of IDLE

2020-07-11 Thread Alex
New submission from Alex <2423067...@qq.com>: When I type (on editing mode, not interacting mode) __main__. + Ctrl+Space, the completion window shows 'idlelib'. -- assignee: terry.reedy components: IDLE messages: 373518 nosy: Alex-Python-Programmer, terry.reedy

[issue41278] Wrong Completion on Editing Mode of IDLE

2020-07-13 Thread Alex
Alex <2423067...@qq.com> added the comment: Well. I found that this bug happens frequntly, sometimes it just shows the proper list, like __builtins__, __docs__ and stuff. Sometimes the completion windows just gives me 'idlelib'. p.s.:idle won't show __main__ when you typ

[issue41278] IDLE: Clarify some completion details in doc

2020-07-15 Thread Alex
Alex <2423067...@qq.com> added the comment: new feature found: 1.although the name __main__ do not exist even when editing, there will be some completions. 2.if you run a module like this: def new(): pass then create a new module, press __main__. + tab. it will become __main__.new

[issue41508] Failed to open os.path in Open Module window of IDLE without any error informations

2020-08-08 Thread Alex
New submission from Alex <2423067...@qq.com>: When openning os.path by Open Module window in IDLE (Shortcut: Alt + M), the window didn't open 'ntpath'(in Windows) or show any error informations. -- assignee: terry.reedy components: IDLE messages: 375040 nosy: A

[issue41651] Pip: Wrong Showing of Progressbar when Downloading Modules

2020-08-27 Thread Alex
New submission from Alex <2423067...@qq.com>: 1. Abstract Command line in Windows the progress bar doesn't work like usual after about half of the downloading process. Another remarkble bug is the length of the progressbar seems to be lengthened. 2. Reason(my opinion) I noticed th

[issue41652] An Advice on Turning Ellipsis into Keyword

2020-08-27 Thread Alex
New submission from Alex <2423067...@qq.com>: In early versions of python, programmers can simply swap True and False by >>> True, False = False, True Then True and False and None become keywords so programmers can't change their value. ... is also a keyword, but Ellipsis

[issue41651] Pip: Wrong Showing of Progressbar when Downloading Modules

2020-09-07 Thread Alex
Alex <2423067...@qq.com> added the comment: @cryvate: Okay, and the new issue is crated at <https://github.com/pypa/pip/issues/8852>. -- ___ Python tracker <https://bugs.python

[issue41957] IDLE does not Transform Tabs into Spaces in Interactive Mode

2020-10-06 Thread Alex
New submission from Alex <2423067...@qq.com>: In Python I usually find the problem like this. >>> for i in range(10): #some code In edit mode, IDLE will automatically transform tabs into spaces. But in interactive mode, IDLE won't do the same. The same problem have b

[issue42069] Make filecmp more pythonic

2020-10-18 Thread Alex
New submission from Alex : Cleanup the filecmp file add typing and make it more pythonic -- components: Library (Lib) messages: 378877 nosy: alex.briskin priority: normal severity: normal status: open title: Make filecmp more pythonic versions: Python 3.9

[issue42069] Make filecmp more pythonic

2020-10-18 Thread Alex
Change by Alex : -- keywords: +patch pull_requests: +21712 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22750 ___ Python tracker <https://bugs.python.org/issu

[issue42399] Error upon pip usage.

2020-11-18 Thread Alex
New submission from Alex : MacOS catalina 10.15.6 Python -version 3.9 although experienced on 3.8 too. pip -version 20.2.4 Any time I send a command using pip including; pip install, pip freeze, pip list etc. I get this error. Traceback (most recent call last): File "/Library/Frame

[issue42399] Error upon pip usage.

2020-11-18 Thread Alex
Alex added the comment: I tried contacting the pip team and they said it is likely a python issue due to the stdlib stuff being opened. -- ___ Python tracker <https://bugs.python.org/issue42

[issue42399] Error upon pip usage.

2020-11-18 Thread Alex
Alex added the comment: What would you recommend to fix this? removing the package? I have a suspicion on which package it is. -- ___ Python tracker <https://bugs.python.org/issue42

[issue42399] Error upon pip usage.

2020-11-18 Thread Alex
Alex added the comment: Uninstalled 3.8 and installed straight to 3.9 using home brew, this fixed the issue. -- ___ Python tracker <https://bugs.python.org/issue42

[issue42399] Error upon pip usage.

2020-11-18 Thread Alex
Change by Alex : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue42399> ___ ___ P

[issue30951] Documentation error in inspect module

2017-07-17 Thread Alex
Changes by Alex : -- pull_requests: +2802 ___ Python tracker <http://bugs.python.org/issue30951> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30951] Documentation error in inspect module

2017-07-17 Thread Alex
Changes by Alex : -- pull_requests: +2803 ___ Python tracker <http://bugs.python.org/issue30951> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31087] asyncio.create_subprocess_* do not honor `encoding`

2017-07-30 Thread Alex
New submission from Alex: Regardless of the value of `encoding`, StreamReaders returned for the `asyncio.subprocess.Process`'s `stdout` and `stderr` would be in binary mode. import sys import asyncio import subprocess async def main(): sp =

[issue31087] asyncio.create_subprocess_* do not honor `encoding`

2017-07-30 Thread Alex
Changes by Alex : -- components: +asyncio nosy: +yselivanov versions: +Python 3.6 ___ Python tracker <http://bugs.python.org/issue31087> ___ ___ Python-bugs-list m

[issue36860] Inconsistent/Undocumented behavior with pathlib resolve and absolute on Windows

2019-05-08 Thread Alex
New submission from Alex : Maybe I am doing something wrong here but: On Windows 10: > python --version Python 3.7.1 > python >>> from pathlib import Path >>> Path("test.py").resolve() WindowsPath('test.py') >>> Path("

[issue33410] Using type in a format with padding causes TypeError

2018-05-02 Thread alex
New submission from alex : When trying to print a type in a formatted string with padding TypeError is raised. See examples below. These work: >>> a = 'abc' >>> print('{a}'.format(a=type(a))) >>> print('{a}'.format(a=str(type(

[issue34483] eval() raises NameError: name '...' is not defined

2018-08-23 Thread Alex
New submission from Alex : Builtin eval() function raises NameError on a valid expression: --- example of bug on Python 3.4 Python 3.4.5 (default, May 29 2017, 15:17:55) [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)] on linux Type "help", "copyright", "credits" or

[issue34483] eval() raises NameError: name '...' is not defined

2018-08-25 Thread Alex
Alex added the comment: Eric, thank you for the clarification. Do you want me to close the ticket? -- ___ Python tracker <https://bugs.python.org/issue34

[issue4709] Mingw-w64 and python on windows x64

2013-09-06 Thread Alex
Alex added the comment: I want to add that this bug led to bizarre behavior (described here: http://stackoverflow.com/questions/18646694/pass-pointer-from-c-to-python-w-boost-python) when using 64-bit Boost-Python compiled with Mingw-w64 in Windows 7. Boost-Python and programs linked to it

[issue21870] Ctrl-C doesn't interrupt simple loop

2014-06-25 Thread Alex
New submission from Alex: This infinite loop: def f(): a=b=0 while 1: if a <http://bugs.python.org/issue21870> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/o

[issue21870] Ctrl-C doesn't interrupt simple loop

2014-06-25 Thread Alex
Changes by Alex : -- components: -Interpreter Core ___ Python tracker <http://bugs.python.org/issue21870> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21870] Ctrl-C doesn't interrupt simple loop

2014-06-25 Thread Alex
Changes by Alex : -- type: -> behavior ___ Python tracker <http://bugs.python.org/issue21870> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue21870] Ctrl-C doesn't interrupt simple loop

2014-06-26 Thread Alex
Alex added the comment: It's not a major usability issue for me, and I wouldn't be too distressed by a WONTFIX, though I don't know how much it affects other people. I've just noticed that this is a smaller version: while 1: if 0<0: pass I'm curious as to why th

[issue6690] BUILD_SET followed by COMPARE_OP (in) can be optimized if all items are consts

2009-08-12 Thread Alex
New submission from Alex : Just like we turn BUILD_LIST; COMPARE_OP (in) into a LOAD_CONST if all the members are consts, we can do the same for BUILD_SET, instead turning it into a LOAD_CONST of a frozenset. The following is the bytecode that is current produced for each datastructure

[issue6690] BUILD_SET followed by COMPARE_OP (in) can be optimized if all items are consts

2009-08-15 Thread Alex
Alex added the comment: Antoine, I hope to have some time to write a patch for this in the coming week. -- ___ Python tracker <http://bugs.python.org/issue6

[issue6922] Interpreter hangs up while trying to decode invalid utf32 stream.

2009-09-16 Thread Alex
New submission from Alex : *** Prerequisites: Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on win32 *** Description: 'utf_32_le' and 'utf_32_be' codecs are overconsuming memory when input data are damaged and kwarg 'errors' to st

[issue7122] multiprocessing.Pool() problem in windows

2009-10-14 Thread Alex
New submission from Alex : Maybe I didn't understand how multiprocessing works but when running the test code below I get 200+ processes in Windows and it never finishes. It works fine on Linux. -- components: Library (Lib) files: prueba.py messages: 93975 nosy: SirLalala sev

  1   2   3   4   5   6   7   8   9   10   >