[issue40037] py_compile.py quiet undefined in main function

2020-03-31 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

There is PR https://github.com/python/cpython/pull/17134 which is not merged to 
fix the exception so this is not fixed for 3.8.2. Once the fix is applied and 
released you can test the same

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40037] py_compile.py quiet undefined in main function

2020-03-31 Thread Georgy Kibardin


Georgy Kibardin  added the comment:

https://bugs.python.org/issue39743 is closed as duplicate of 
https://bugs.python.org/issue38731. 

https://bugs.python.org/issue38731 fixes undeclared variable "quiet" in 
function compile().
At the same time variable "quiet" is used in function main() where it is still 
undeclared and 38731 doesn't fix this problem - it is still there, in python 
3.8.2.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40037] py_compile.py quiet undefined in main function

2020-03-30 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

I feel it's the same. It also reports about the undeclared variable just being 
found by bad file used with py_compile. It was also reported at 
https://bugs.python.org/issue39743. Can you please explain why this is not a 
duplicate?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40037] py_compile.py quiet undefined in main function

2020-03-30 Thread Georgy Kibardin


Georgy Kibardin  added the comment:

This is not a duplicate of https://bugs.python.org/issue38731. quiet is is 
still undefined in main()

--
nosy: +Georgy Kibardin

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40037] py_compile.py quiet undefined in main function

2020-03-30 Thread Georgy Kibardin


Georgy Kibardin  added the comment:

Please, reopen.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40037] py_compile.py quiet undefined in main function

2020-03-22 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

Closing this as duplicate. Feel free to reopen if it's a mistake. Thanks.

--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> bad input crashes py_compile library

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40037] py_compile.py quiet undefined in main function

2020-03-21 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

This is a duplicate of https://bugs.python.org/issue38731

--
nosy: +xtreak

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40037] py_compile.py quiet undefined in main function

2020-03-21 Thread Vikash Balasubramanian


New submission from Vikash Balasubramanian :

I just had a random crash while using the autocomplete feature of Emacs.

The error message was basically thrown by py_compile.py:213

quiet is undefined. I tracked down the code and sure enough, there is a 
comparison

if quiet < 2:


Please confirm this.

--
components: Library (Lib)
messages: 364780
nosy: Vikash Balasubramanian
priority: normal
severity: normal
status: open
title: py_compile.py quiet undefined in main function
type: crash
versions: Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com