[issue39866] get_type_hints raises inconsistent TypeError

2020-03-05 Thread Joey
New submission from Joey : If you pass in an instance of an object without type annotations, you get an error that states "XXX is not a module, class, method, or function." This correctly describes the situation  typing.get_type_hints(object()) Traceback (most recent call las

[issue31056] Import Module Not Working According To Documentation Python 3.6.2

2017-07-31 Thread Joey DiGiorgio
Joey DiGiorgio added the comment: Ok I have downloaded an installed via the Windows installer and the test I run works as expected. I also tried the embedded package without the ._pth and it also works according to the embedded documentation. Sorry for the confusion as I did not specify

[issue31056] Import Module Not Working According To Documentation Python 3.6.2

2017-07-31 Thread Joey DiGiorgio
Joey DiGiorgio added the comment: Steve Dower, I understand the purpose of the embedded package. The test was also tried by calling the python executable without modifying the path and the same thing happens. i.e. %~dp0\Python_Embedded_Windows_32bit_v3.6.2\python main.py in the zip package I

[issue31056] Import Module Not Working According To Documentation Python 3.6.2

2017-07-31 Thread Joey DiGiorgio
Joey DiGiorgio added the comment: I run the test.bat file and get the import error. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue31056] Import Module Not Working According To Documentation Python 3.6.2

2017-07-31 Thread Joey DiGiorgio
Joey DiGiorgio added the comment: I have tried from 3 computers now and have been able to reproduce the issue with the same set of files described in my stackoverflow post. Here is a .zip package with all of the files I used in all 3 tests. The python package is the Windows 32bit embedded zip

[issue31056] Import Module Not Working According To Documentation Python 3.6.2

2017-07-28 Thread Joey DiGiorgio
Joey DiGiorgio added the comment: I understand your comments. I will be at computer that has not ever had Python installed in about an hour and will try it there to see if I can produce an example showing the issue. I just found it weird that Python 3.5.2 worked just fine in the same

[issue31056] Import Module Not Working According To Documentation Python 3.6.2

2017-07-28 Thread Joey DiGiorgio
Joey DiGiorgio added the comment: I will mark the question appropriately as python3. I don't fully understand your comment about venv. If you mean virtual environment or something, that is not the case. I am running an a standard Windows 7 install with Python3 as the only Python install

[issue31056] Import Module Not Working According To Documentation Python 3.6.2

2017-07-27 Thread Joey DiGiorgio
New submission from Joey DiGiorgio: I am running Windows 7 and Python 3.6.2 trying to import module A from withing module B where both Module A and B are located in the same directory. I get the ModuleNotFoundError. I try the exact same setup with Python 3.5.2 and get no errors and I get

[issue30511] shutil.make_archive should not need to chdir (alternatively: make shutil.make_archive thread-safe)

2017-07-07 Thread Joey Harrington
Joey Harrington added the comment: It would be nice if there was at least a warning in the docs that make_archive is not thread-safe, and that if you have two threads creating archives that it's extremely likely you'll get erroneous results since the race condition lasts for the entire

[issue15068] fileinput requires two EOF when reading stdin

2012-06-15 Thread Joey Geralnik
Joey Geralnik jgeral...@gmail.com added the comment: First off, I'm a complete noob looking at the python source code for the first time so forgive me if I've done something wrong. What if the length of the chunk is checked as well? The following code works fine: import sys while True

[issue15068] fileinput requires two EOF when reading stdin

2012-06-15 Thread Joey Geralnik
Joey Geralnik jgeral...@gmail.com added the comment: But this is calling the readlines function, which continually reads from the file until more bytes have been read than the specified argument. From bz2.readlines: size can be specified to control the number of lines read: no further lines

[issue15068] fileinput requires two EOF when reading stdin

2012-06-15 Thread Joey Geralnik
Joey Geralnik jgeral...@gmail.com added the comment: Forget other filelike objects. The FileInput class only works with actual files, so the readlines function should always return at least as many bytes as its first parameter. Is this assumption wrong

[issue4215] Running Python 2.6 GUI on Windows Vista

2008-10-27 Thread Joey Pallaria
New submission from Joey Pallaria [EMAIL PROTECTED]: I installed Python 2.6 a few days ago and tried to launch the Python IDLE GUI application. Nothing happened. I've read a couple issues about previous versions of Python IDLE not working on Windows Vista. and they recommended deleting