[issue1254718] GCC detection for runtime_library_dirs when ccache is used

2009-06-10 Thread Jason Kankiewicz
Jason Kankiewicz added the comment: Seo, This ticket specifies Python-2.6 as the only version so using "any" didn't seem to be a problem. I was not aware of PEP 291 until you mentioned it and, in order to maintain compatibility with Python-2.3, the generator expression w

[issue1254718] GCC detection for runtime_library_dirs when ccache is used

2009-06-09 Thread Jason Kankiewicz
Jason Kankiewicz added the comment: I've updated my patch to resemble the patch from issue1032 and also because profiling showed that using str.__contains__ is more efficient than using str.find. -- Added file: http://bugs.python.org/file14251/distutils-rpath-gcc_and_icc.

[issue1254718] GCC detection for runtime_library_dirs when ccache is used

2009-06-09 Thread Jason Kankiewicz
Changes by Jason Kankiewicz : Removed file: http://bugs.python.org/file14250/distutils-rpath-gcc_and_icc.patch ___ Python tracker <http://bugs.python.org/issue1254

[issue1254718] GCC detection for runtime_library_dirs when ccache is used

2009-06-09 Thread Jason Kankiewicz
Jason Kankiewicz added the comment: I've attached a patch, based on the original, that will fix distutils for both GCC and ICC. -- nosy: +jkankiewicz Added file: http://bugs.python.org/file14250/distutils-rpath-gcc_and_icc.patch ___ Python tr

[issue4827] optparse: Callback example 1 is confusing

2009-01-03 Thread Jason Kankiewicz
New submission from Jason Kankiewicz : "Callback example 1: trivial callback" reads Here’s an example of a callback option that takes no arguments, and simply records that the option was seen: def record_foo_seen(option, opt_str, value, parser): parser.saw_

[issue3039] tarfile.TarFileCompat.writestr(ZipInfo, str) raises AttributeError

2008-06-04 Thread Jason Kankiewicz
New submission from Jason Kankiewicz <[EMAIL PROTECTED]>: tarfile.TarFileCompat.writestr( self, zinfo, bytes ) raises AttributeError("'ZipInfo' object has no attribute 'name'") because an analog to the tarfile.TarInfo.name attribute cannot be monkeypatched int