[issue17513] astrike(*) in argv

2013-03-21 Thread Amin
New submission from Amin: suppose the the following simple program argvtest.py: import sys print sys.argv[1] in my Python 2.6.6. if I run it with the following parameters: $ python argvtest.py tc* it returns: tc2 (or the first result of ls tc*) but it should return tc* -- components

[issue44510] file.read() UnicodeDecodeError with large files on Windows

2021-06-25 Thread Rohan Amin
New submission from Rohan Amin : When using file.read() with a large text file, there is a UnicodeDecodeError. I expected file.read(1) to read one character from the file. It works with a smaller text file. I experienced this bug on Windows 10 version 20H2. My teacher couldn't repr

[issue32545] Unable to install Python 3.7.0a4 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2018-06-28 Thread Amin Radjabov
Amin Radjabov added the comment: I have same issue on Win 7 x64 -- nosy: +Amin Radjabov ___ Python tracker <https://bugs.python.org/issue32545> ___ ___ Pytho

[issue32545] Unable to install Python 3.7.0a4 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2018-07-16 Thread Amin Radjabov
Amin Radjabov added the comment: log -- Added file: https://bugs.python.org/file47695/Python 3.7.0 (32-bit)_20180628184532.log ___ Python tracker <https://bugs.python.org/issue32

[issue32545] Unable to install Python 3.7.0a4 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2018-07-16 Thread Amin Radjabov
Amin Radjabov added the comment: yes I try to install to all user, but I have no any other python installations in my OS. I succeeded to install it to just me. -- ___ Python tracker <https://bugs.python.org/issue32

[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: ```

[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-02 Thread Ali Amin-Nejad
Ali Amin-Nejad added the comment: Thanks Serhiy, the output is: ['StateSpec'] [''] -- ___ Python tracker <https://bugs.python.org/issue45957> ___ __

[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.py

[issue30481] lib/socket.py, line 330, Treated 'file' as a socket object, instead of int

2017-05-26 Thread Mohamad amin Khakzadan
New submission from Mohamad amin Khakzadan: When I network programming, I got this problem: File "ft.py", line 43, in SendFile sent=conn.sendfile(fd.fileno(), offset) File "D:\Program Files\Python\Python35-32\lib\socket.py", line 391, in sendfile return self._se

[issue30481] lib/socket.py, line 330, Treated 'file' as a socket object, instead of int

2017-05-26 Thread Mohamad amin Khakzadan
Mohamad amin Khakzadan added the comment: sorry, my code have bug. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or