This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: freeze fails when extensions_win32.ini is missing
Type: Stage:
Components: Demos and Tools Versions: Python 2.2
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: loewis Nosy List: dschnepper, loewis
Priority: normal Keywords: patch

Created on 2003-04-02 01:17 by dschnepper, last changed 2022-04-10 16:08 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
patch dschnepper, 2003-04-02 01:19 patch for checkextensions_win32
test.py dschnepper, 2003-04-02 01:20 Script demonstrating bug and fix
Messages (2)
msg43266 - (view) Author: David Schnepper (dschnepper) Date: 2003-04-02 01:17
Incorrect variable referenced during print of warning 
message when extensions_win32.ini is missing.

Test:


import checkextensions_win32
reload(checkextensions_win32)    # for testing
import os
os.rename("extensions_win32.ini", "tmp.ini")
try:
  checkextensions_win32.checkextensions([], [], "any")
  print "PASS: checkextensions with missing 
extensions_win32.ini"
finally:
  os.rename("tmp.ini", "extensions_win32.ini")
msg43267 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2003-09-20 11:05
Logged In: YES 
user_id=21627

Thanks for the patch. Applied as

NEWS 1.831.4.48
checkextensions_win32.py 1.8, 1.7.14.1
History
Date User Action Args
2022-04-10 16:08:00adminsetgithub: 38253
2003-04-02 01:17:48dschneppercreate