Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 31730

Summary: python-2.2.3-r3: bug in the "dontcompile" patch
Product: Gentoo Linux Reporter: TGL <tom.gl>
Component: [OLD] Core systemAssignee: Alastair Tse (RETIRED) <liquidx>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 31068    
Attachments: python-2.2.3-gentoo_py_dontcompile-fixed.patch

Description TGL 2003-10-22 01:53:49 UTC
Hi,

It seems that the python-2.2.3-gentoo_py_dontcompile.patch behavior
is wrong: python wont produce any .pyc file if PYTHON_DONTCOMPILE is 
not set, and will produce .pyc files when it is set. 

Below is a fixed patch that correct this behavior (and also makes 
verbose mode more explicit in dontcompile mode).
Comment 1 TGL 2003-10-22 01:55:25 UTC
Created attachment 19613 [details, diff]
python-2.2.3-gentoo_py_dontcompile-fixed.patch
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2003-10-22 05:01:22 UTC
oops. thanks for the fix and the verbose stuff. It seems I made the mistake
when I rushly backported the patch from 2.3 to 2.2.3.

i'm committing 2.2.3-r4 with your patch in. thanks.