[issue46692] match case does not support regex

2022-02-09 Thread Ali Rn
Change by Ali Rn : -- components: Regular Expressions nosy: AliRn, ezio.melotti, mrabarnett priority: normal severity: normal status: open title: match case does not support regex type: behavior versions: Python 3.10, Python 3.11 ___ Python tracker

[issue46423] CLI: Addition assignment for tuples

2022-01-18 Thread Ali Ramezani
New submission from Ali Ramezani : In CLI (Command Line Interpreter): A tuple has a list component then try to += that component. Since tuple doesn't allow assignment then it raises error but actually does that. If you try actual equivalence (A=A+B) it does not. Python 3.9.1 (tags/v3.9.1

[issue46326] 'venv --clear' should prompt user before nuking entire directory

2022-01-11 Thread Ali Mohammad Pur
Change by Ali Mohammad Pur : -- title: 'virtualenv --clear' should prompt user before nuking entire directory -> 'venv --clear' should prompt user before nuking entire directory ___ Python tracker <https://bugs.python.org/issu

[issue46326] 'virtualenv --clear' should prompt user before nuking entire directory

2022-01-11 Thread Ali Mohammad Pur
Ali Mohammad Pur added the comment: > If similar behavior is also an issue with the Python standard library venv > module (which is a derivative of virtualenv), please update this issue > accordingly Yes, my bad, I should have mentioned that this applies to venv, I will update

[issue46326] 'virtualenv --clear' should prompt user before nuking entire directory

2022-01-10 Thread Ali Mohammad Pur
New submission from Ali Mohammad Pur : `virtualenv --clear` is extremely eager to delete the passed directory without any sort of confirmation, leading to possible data-loss (e.g. with a mistyped command, or a misunderstanding of what it actually does). Simply deleting an entire directory tree

[issue45957] _tkinter.TclError: expected boolean value but got ""

2021-12-06 Thread Ali Amin-Nejad
Ali Amin-Nejad added the comment: It seems like it must be a mac-specific issue just on 8.6.11 then if ned couldn't reproduce on 8.6.12. How does one go about upgrading their tkinter version? Thanks -- ___ Python tracker <https://bugs.python.

[issue45957] _tkinter.TclError: expected boolean value but got ""

2021-12-02 Thread Ali Amin-Nejad
Ali Amin-Nejad added the comment: Thanks Serhiy, the output is: ['StateSpec'] [''] -- ___ Python tracker <https://bugs.python.org/issue45957> ___ ___ Python-bug

[issue45957] _tkinter.TclError: expected boolean value but got ""

2021-12-02 Thread Ali Amin-Nejad
Ali Amin-Nejad added the comment: @serhiy.storchaka I tried that command, the returned value is not an empty string, it is an object of type . However including that line in my script immediately after creating the `root` object actually fixes the problem - no more error and the button

[issue45957] _tkinter.TclError: expected boolean value but got ""

2021-12-01 Thread Ali Amin-Nejad
New submission from Ali Amin-Nejad : On macOS, the following minimal example: ``` import tkinter as tk root = tk.Tk() button = tk.Button(root, text="Exit", command=root.destroy) button.pack() root.wm_overrideredirect(True) root.mainloop() ``` yields the following stack trace: ```

[issue42355] symtable: get_namespace doesn't check whether if there are multiple namespaces or no namespaces at all

2021-07-18 Thread Ali mazloum
Change by Ali mazloum : -- type: -> security ___ Python tracker <https://bugs.python.org/issue42355> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue42608] Installation failed from source code on Debian ([307/416] test_socket)

2020-12-11 Thread ali
ali added the comment: I used build_all instead of --enable-optimizations option. Thanks you. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue42608] Installation failed from source code on Debian ([307/416] test_socket)

2020-12-09 Thread ali
New submission from ali : I'm following guide below to install Python3.7 from source on Debian-64Bit. https://linuxize.com/post/how-to-install-python-3-7-on-ubuntu-18-04/ I'm installing Python3.7.9-final-64bit. But `make -j 8` hanged out more than 2 hours on: 0:22:43 load avg: 1.29 [307/416

[issue41779] add BLOB photo to sqlite3 python

2020-09-14 Thread Ali Zaeri
New submission from Ali Zaeri : Hi this is my problem that I share it in stackowerflow hope you can help me: https://stackoverflow.com/q/63763089/14168432 -- messages: 376868 nosy: alizaerialora priority: normal severity: normal status: open title: add BLOB photo to sqlite3 python

[issue41764] sub function would not work without the flags but the search would work fine

2020-09-11 Thread ali
New submission from ali : it would work like this sub("pattern","replace", txt, flags= re.IGNORECASE | re.DOTALL) but it wouldnt work like this sub("pattern","replace", txt, re.IGNORECASE | re.DOTALL) -- components: Regular Expressions me

[issue39780] Add HTTP Response code 103

2020-02-27 Thread Ali McMaster
Change by Ali McMaster : -- keywords: +patch pull_requests: +18040 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18681 ___ Python tracker <https://bugs.python.org/issu

[issue39780] Add HTTP Response code 103

2020-02-27 Thread Ali McMaster
New submission from Ali McMaster : https://tools.ietf.org/html/rfc8297 I would like to work on this - PR to follow -- title: Add HTTP Response code 451 -> Add HTTP Response code 103 ___ Python tracker <https://bugs.python.org/issu

[issue39780] Add HTTP Response code 103

2020-02-27 Thread Ali McMaster
Change by Ali McMaster : -- versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/issue39780> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39780] Add HTTP Response code 451

2020-02-27 Thread Ali McMaster
Change by Ali McMaster : -- components: Library (Lib) nosy: Ali McMaster priority: normal severity: normal status: open title: Add HTTP Response code 451 type: enhancement ___ Python tracker <https://bugs.python.org/issue39

[issue35173] Re-use already existing functionality to allow Python 2.7.x (both embedded and standalone) to locate the module path according to the shared library

2019-10-04 Thread Ali Rizvi-Santiago
Ali Rizvi-Santiago added the comment: Sure. It was for Python2 anyways. -Ali On Wed, Sep 25, 2019 at 8:00 PM STINNER Victor wrote: > > STINNER Victor added the comment: > > Modules/getpath.c and PC/getpathp.c have been deeply reworked with the > implementation of the PEP 58

[issue37386] [EASY] test_io: test_large_file_ops() failed on AMD64 Windows7 SP1 3.x with: [Errno 28] No space left on device

2019-06-24 Thread Ali McMaster
Ali McMaster added the comment: To check - do we definitely want to just skip the test if the below OSError is thrown? Could we attempt to clean wherever the test is writing to before the test is run/figure out what is using all the space? -- nosy: +Ali McMaster

[issue35173] Re-use already existing functionality to allow Python 2.7.x (both embedded and standalone) to locate the module path according to the shared library

2018-11-05 Thread Ali Rizvi-Santiago
Change by Ali Rizvi-Santiago : -- title: Re-use already existing functionality to allow Python 2.7.x (both embedded and standalone) to locate the module path -> Re-use already existing functionality to allow Python 2.7.x (both embedded and standalone) to locate the module p

[issue35173] Re-use already existing functionality to allow Python 2.7.x (both embedded and standalone) to locate the module path

2018-11-05 Thread Ali Rizvi-Santiago
New submission from Ali Rizvi-Santiago : This is specific to the Windows platform as it's the only platform that uses the registry and other path hacks to identify the default module path. This patch is mostly intended for embedded Python, but is also applicable to a stand-alone Python

[issue35172] Add support for other MSVC compiler versions to distutils. distutils makes two incorrect assumption that MSVC compiler versions scale linearly and that the crt's are the same.

2018-11-05 Thread Ali Rizvi-Santiago
New submission from Ali Rizvi-Santiago : Distutils makes a few incorrect assumptions that prevent it from supporting the newer Microsoft-y C compilers. This patch fixes it up till MSVC 14.0. There are 2 assumptions that are made by distutils and they are as follows. The first one

[issue33243] nltk is not working properly

2018-04-08 Thread Ali Abbas
New submission from Ali Abbas <aliabbas...@gmail.com>: nltk is not working properly, showing this error Traceback (most recent call last): File "token.py", line 1, in from nltk.tokenize import word_tokenize, sent_tokenize File "D:\PYTHON36\lib\site-packages\nltk\

[issue31475] Bug in argparse - not supporting utf8

2017-09-14 Thread Ali Razmjoo
New submission from Ali Razmjoo: Regarding #3468 discussion, there is the same bug was in argparse (and optparse) which fixed in this PR. utf8 is not supported in argprase module #3478: https://github.com/python/cpython/pull/3577 current pr: https://github.com/python/cpython/pull/3577 Regards

[issue29297] python3 open() does not check argument type before attempting to read() or write()

2017-01-17 Thread Mo Ali
Mo Ali added the comment: Serhiy, I expected a type error or a filenotfound like you received, however mine doesn't return the same. It just hangs. I've attached a picture. Also, I meant this to be for 3.6 not 3.5. >>> test = False >>> with open(test) as f: ...

[issue29297] python3 open() does not check argument type before attempting to read() or write()

2017-01-17 Thread Mo Ali
New submission from Mo Ali: Python3 open(), read(), or write()doesn't check argument type before action causing a hang. Would like to catch exceptions but not without an exception to return. See below. Python3.6: Python 3.6.0 (default, Dec 24 2016, 08:01:42) [GCC 4.2.1 Compatible Apple LLVM

[issue26258] readline module for python 3.x on windows

2016-02-01 Thread Ali Razmjoo
New submission from Ali Razmjoo: Hello, I using python 2.7.10 on windows and there isn't any problem with this readline module, but it's not exist in python3.x on windows, is it possible to add it ? how? -- messages: 259322 nosy: Ali Razmjoo priority: normal severity: normal status

[issue26162] thread error

2016-01-20 Thread Ali Razmjoo
New submission from Ali Razmjoo: Hello, I've got a problem while using threading in python 2.7.10 windows. I copied errors in here https://gist.github.com/Ali-Razmjoo/d503171d338c6381f94f with 845 threads,870 and 1000. there isn't any problem or error with 840-830 threads

[issue23854] qtconsole and all windows based python have issues loading

2015-04-02 Thread Ali Arar
New submission from Ali Arar: All of the sudden, all windows based python stopped working. qtconsole and spyder. Also, conda, pip, and easy_setup are issuing error messages. Below is the feedback I am getting. I uninstalled and reinstalled the package that was working perfectly fine

[issue20633] SystemError: Parent module 'multiprocessing' not loaded, cannot perform relative import

2014-02-15 Thread Amr Ali
New submission from Amr Ali: Using `multiprocessing.Manager` to share a `dict` between two processes raises the below exception at main process termination. Child process is joined and terminates gracefully before the main process. Replacing multiprocessing/forking.py:135 with `from

[issue20633] SystemError: Parent module 'multiprocessing' not loaded, cannot perform relative import

2014-02-15 Thread Amr Ali
Amr Ali added the comment: Also importing `multiprocessing.forking` at the very beginning of MyLib/__init__.py fixes the problem. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20633

[issue20286] Segfault when using internal DictProxy

2014-01-16 Thread Ali Ebrahim
New submission from Ali Ebrahim: Demonstration in this gist: https://gist.github.com/aebrahim/840 Crash info in this gist: https://gist.github.com/aebrahim/8466749 The code runs without issue on Ubuntu 12.04 (Python 2.7.3), and Windows 7 (Python 2.7.6). It also ran fine on MacOS X 10.8

[issue20286] Segfault when using internal DictProxy

2014-01-16 Thread Ali Ebrahim
Changes by Ali Ebrahim aliebrahim...@gmail.com: -- type: - crash ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20286 ___ ___ Python-bugs-list

[issue15809] IDLE console uses incorrect encoding.

2013-08-19 Thread ali
Changes by ali mr.da...@gmail.com: -- nosy: +irdb ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15809 ___ ___ Python-bugs-list mailing list

[issue17524] Problem to run a method

2013-03-22 Thread Ali Massah Kiani
New submission from Ali Massah Kiani: when i run attached code python.exe exit with code: terminated,exitvalue:1 when i trace this code problem was the this method : mat = cv.GetMat(AviFile) and problem is, not error or exeption rises this problem is for python or opencv? thanks

[issue12988] Tkinter File Dialog crashes on Win7 when saving to Documents Library

2012-07-08 Thread Ali Rahmjoo
Ali Rahmjoo ali_rahm...@yahoo.com added the comment: I have exactly the same problem mentioned by Brian Gernhardt for 32-bit Python 3.2.3 on Win7. -- nosy: +alirahmjoo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12988

[issue14291] Regression in Python3 of email handling of unicode strings in headers

2012-03-13 Thread Ali Ikinci
Ali Ikinci a...@ikinci.info added the comment: Together with David we have worked on a fix and test for this. Thanks David. -- keywords: +patch Added file: http://bugs.python.org/file24833/Issue14291.patch ___ Python tracker rep...@bugs.python.org

[issue14238] python shouldn't need username in passwd database

2012-03-12 Thread Ali Ikinci
Ali Ikinci a...@ikinci.info added the comment: I have started to work on this. -- nosy: +aikinci ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14238

[issue14238] python shouldn't need username in passwd database

2012-03-12 Thread Ali Ikinci
Ali Ikinci a...@ikinci.info added the comment: This patch fixes the issue but needs review. It is my first patch ever so be nice :) -- keywords: +patch Added file: http://bugs.python.org/file24800/issue14238.patch ___ Python tracker rep

[issue14238] python shouldn't need username in passwd database

2012-03-12 Thread Ali Ikinci
Ali Ikinci a...@ikinci.info added the comment: I would suggest that this issue is the same as http://bugs.python.org/issue10496 like Victor pointed out and would say close it because it is a duplicate. -- ___ Python tracker rep...@bugs.python.org

[issue7217] IDLE Subprocess Startup Error {Solved}

2009-11-04 Thread ali
ali mr.da...@gmail.com added the comment: {Solved} Thanks for following up Amaury But my problem was solved yesterday. There was a few programs in the main python directory which I didn't want to delete, so I moved them to another directory and manually deleted C:\Python26 and then restarted my

[issue7217] IDLE Subprocess Startup Error

2009-11-01 Thread ali
ali mr.da...@gmail.com added the comment: ? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7217 ___ ___ Python-bugs-list mailing list

[issue7217] IDLE Subprocess Startup Error

2009-10-27 Thread ali
New submission from ali mr.da...@gmail.com: Hi After trying to install another IDE for python (Eric4.3.8 and sciTE201) I'm not able to launch IDLE directly anymore. (I not sure if this is really relevant) I can right click on the .py files and choose edit with IDLE and everything works fine

[issue7217] IDLE Subprocess Startup Error

2009-10-27 Thread ali
ali mr.da...@gmail.com added the comment: I'm using windows vista x64 I've tried restarting my computer and manually deleting files but didn't help. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7217

[issue3678] Ignored LDFLAGS during linking libpython$(VERSION).so

2008-08-29 Thread Ali Polatel
Changes by Ali Polatel [EMAIL PROTECTED]: -- nosy: +hawking ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3678 ___ ___ Python-bugs-list mailing list

[issue3563] fix_idioms.py generates bad code

2008-08-16 Thread Ali Polatel
New submission from Ali Polatel [EMAIL PROTECTED]: fix_idioms.py generates bad code for conversions in try/except blocks. Example: s=(1, 2, 3) try: t = list(s) t.sort() except TypeError: pass fix_idioms.py generates this diff: --- test.py (original) +++ test.py (refactored) @@ -7,8

[issue756093] complex pow() crash on Alpha

2008-05-25 Thread Ali Polatel
Ali Polatel [EMAIL PROTECTED] added the comment: Probably related to this. test_pow fails on alpha with both 2.4.4 and 2.5.2. test test_pow failed -- Traceback (most recent call last): File /var/tmp/portage/dev-lang/python-2.4.4-r9/work/Python-2.4.4/Lib/test/test_pow.py, line 109

[issue2794] Figure directive not handled for latex writing in Sphinx

2008-05-08 Thread Ali Afshar
New submission from Ali Afshar [EMAIL PROTECTED]: .. figure:: directive is not handled when writing to latex, and this directive seems the only way to have a captioned image in rst. I have added a patch that simply handles the figure, and captions. Note that figures have an additional

[issue2747] Documentation of new gobject types fails

2008-05-03 Thread Ali Afshar
New submission from Ali Afshar [EMAIL PROTECTED]: When using the automodule directive on a module that creates new Gobject types (eg custom PyGTK widget), the implicit registration of the imported types fail. (Normally any GObject subclass which has a __gtype_name__ attribute is automatically

[issue2747] Documentation of new gobject types fails

2008-05-03 Thread Ali Afshar
Ali Afshar [EMAIL PROTECTED] added the comment: I have managed to reduce the bug to a tiuny test case. It seems that this only happens when calling automodule directive on a package, with code in __init__.py which registers a new GType. Moving the code to a a regular module inside a package

[issue1651995] sgmllib _convert_ref UnicodeDecodeError exception, new in 2.5

2007-11-01 Thread Ali Polatel
Changes by Ali Polatel: -- nosy: +hawking _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1651995 _ ___ Python-bugs-list mailing list Unsubscribe: http

[issue1774736] Binding Control-space fails

2007-09-10 Thread Ali Gholami Rudi
Ali Gholami Rudi added the comment: The same as issue1028. Fixed in r57450. _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1774736 _ ___ Python-bugs-list mailing list

[issue1774736] Binding Control-space fails

2007-08-27 Thread Ali Gholami Rudi
Changes by Ali Gholami Rudi: -- versions: +Python 3.0 _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1774736 _ ___ Python-bugs-list mailing list Unsubscribe