Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31730 - python-2.2.3-r3: bug in the "dontcompile" patch
Summary: python-2.2.3-r3: bug in the "dontcompile" patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 31068
  Show dependency tree
 
Reported: 2003-10-22 01:53 UTC by TGL
Modified: 2003-10-22 05:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
python-2.2.3-gentoo_py_dontcompile-fixed.patch (python-2.2.3-gentoo_py_dontcompile-2.patch,732 bytes, patch)
2003-10-22 01:55 UTC, TGL
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.