Re: [Python-Dev] Re: [Python-checkins] python/dist/src setup.py, 1.208, 1.209
Brett C. wrote: Jack Jansen wrote: On 18-dec-04, at 21:48, [EMAIL PROTECTED] wrote: Update of /cvsroot/python/python/dist/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21493 Modified Files: setup.py Log Message: Switch from getting LDFLAGS and CPPFLAGS from the environment to the Makefile. This is to avoid a problem that inconsistently comes up where the environment variable is unset while the Makefile clearly has the values set and are used during ``make``. Brett, I'm building MacPython binary distributions with an LDFLAGS configure option, as in $PYTHONSRC/configure -C --enable-framework LDFLAGS=-Wl,-x This has suddenly started failing with a very mysterious error message. When the make tries to build the extension modules I get running build running build_ext usage: setup.py [options] setup.py: error: no such option: -W Could this somehow be caused by your fix? Yep, it's my doing. I bet optparse is raising an error since it doesn't have options for -W1 or -x registered with the parser. Anyone off the top of their head know how to cause optparse to just skip over options it doesn't know about? OK, rev. 1.210 has my fix. Now I strip out double dashes (for long options) and any dashes preceding any options that setup.py doesn't care about before passing the string to optparse. That way they just look like interspersed arguments to optparse and it just ignores them. Tested it with your LDFLAGS value and it worked fine for me. I am on vacation at the moment so I will deal with this when I get back this weekend. So I lied and got to it sooner. =) Happy New Year to everyone. -Brett ___ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
[Python-Dev] Re: python/dist/src/Doc/ext windows.tex,1.9,1.10
[EMAIL PROTECTED] wrote:
> Update of /cvsroot/python/python/dist/src/Doc/ext
> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17396
> Index: windows.tex
> ===
> RCS file: /cvsroot/python/python/dist/src/Doc/ext/windows.tex,v
> retrieving revision 1.9
> retrieving revision 1.10
> diff -u -d -r1.9 -r1.10
> --- windows.tex 23 Jan 2004 09:01:56 - 1.9
> +++ windows.tex 30 Dec 2004 10:44:32 - 1.10
> @@ -142,62 +142,62 @@
[snip]
> +Now open the \menuselection{Project \sub spam properties} dialog.
> +You only need to change a few settings. Make sure \guilable{All
> +Configurations} is selected from the \guilable{Settings for:}
Macro names are wrong, which results in a compile error.
\guilable should read \guilabel.
George
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
[Python-Dev] Patch Reviewing
Hello, just felt a little bored and tried to review a few (no-brainer) patches. Here are the results: * Patch #1051395 Minor fix in Lib/locale.py: Docs say that function _parse_localename returns a tuple; but for one codepath it returns a list. Patch fixes this by adding tuple(), recommending apply. * Patch #1046831 Minor fix in Lib/distutils/sysconfig.py: it defines a function to retrieve the Python version but does not use it everywhere; Patch fixes this, recommending apply. * Patch #751031 Adds recognizing JPEG-EXIF files (produced by digicams) to imghdr.py. Recommending apply. * Patch #712317 Fixes URL parsing in urlparse for URLs such as http://foo?bar. Splits at '?', so assigns 'foo' to netloc and 'bar' to query instead of assigning 'foo?bar' to netloc. Recommending apply. regards, Reinhold ___ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
[Python-Dev] python-dev Summary for 2004-11-16 through 2004-11-30 [draft]
With school starting up again Monday and New Years being tomorrow I don't plan to send this out until Tuesday. Hope everyone has a good New Years. -Brett --- = Summary Announcements = PyCon_ is coming up! Being held March 23-25 in Washington, DC, registration is now open at http://www.python.org/pycon/2005/register.html for credit card users (you can pay by check as well; see the general info page for the conference). .. _PyCon: http://www.python.org/pycon/2005/ = Summaries = - Would you like the source with your function? - Would you like all functions and classes to contain a __pycode__ attribute that contains a string of the code used to compile that code object? Well, that very idea was proposed. You would use a command-line switch to turn on the feature in order to remove the memory and any performance overhead for the default case of not needing this feature. Some might ask why this is needed when inspect.getsource and its ilk exist. The perk is that __pycode__ would always exist while inspect.getsource is a best attempt but cannot guarantee it will have the source. Beyond a suggested name change to __source__, various people have suggested very different uses. Some see it as a convenient way to save interpreter work easily and thus not lose any nice code snippet developed interactively. Others see a more programmatic use (such as AOP "advice" injection). Both are rather different and led to the thread ending on the suggestion that a PEP be written that specifies what the intended use-case to make sure that need is properly met. Contributing threads: - `__pycode__ extension <>`__ === Skipped Threads === - PEP 310 Status - python 2.3.5 release? look for 2.3.5 possibly in January - Current CVS, Cygwin and "make test" - syntactic shortcut - unpack to variably sizedlist mostly discussed `last summary`_ - Python 2.4, MS .NET 1.1 and distutils - Trouble installing 2.4 - Looking for authoritative documentation on packages, import & ihooks no docs exist, but feel free to write some! =) - String literal concatenation & docstrings literal string concatenation only works if the newline separating the strings is not significant to the parser - print "%X" % id(object()) not so nice does 'id' need to return only a positive? No, but it would be nice. - Bug in PyLocale_strcoll - Multilib strikes back - File encodings file.write does not work with Unicode strings; have to decode them to ASCII on your own ___ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Patch Reviewing
[Reinhold Birkenfeld] > just felt a little bored and tried to review a few (no-brainer) patches. Thanks, please assign to me and I'll apply them. Raymond Hettinger ___ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
[Python-Dev] Weekly Python Patch/Bug Summary
Patch / Bug Summary ___ Patches : 261 open ( +4) / 2718 closed ( +3) / 2979 total ( +7) Bugs: 801 open ( -6) / 4733 closed (+16) / 5534 total (+10) RFE : 165 open ( +2) / 139 closed ( +0) / 304 total ( +2) New / Reopened Patches __ Patch for bug 999042. (2004-12-23) http://python.org/sf/1090482 opened by Darek Suchojad _AEModule.c patch (2004-12-25) http://python.org/sf/1090958 opened by has py-compile DESTDIR support to compile in correct paths (2004-12-27) CLOSED http://python.org/sf/1091679 opened by Thomas Vander Stichele Refactoring Python/import.c (2004-12-30) http://python.org/sf/1093253 opened by Thomas Heller socket leak in SocketServer (2004-12-30) http://python.org/sf/1093468 opened by Shannon -jj Behrens sanity check for readline remove/replace (2004-12-30) http://python.org/sf/1093585 opened by DSM miscellaneous doc typos (2004-12-31) CLOSED http://python.org/sf/1093896 opened by DSM Patches Closed __ Avoid calling tp_compare with different types (2004-07-22) http://python.org/sf/995939 closed by arigo py-compile DESTDIR support to compile in correct paths (2004-12-27) http://python.org/sf/1091679 closed by jafo miscellaneous doc typos (2004-12-31) http://python.org/sf/1093896 closed by rhettinger New / Reopened Bugs ___ presentation typo in lib: 6.21.4.2 How callbacks are called (2004-12-23) http://python.org/sf/1090139 reopened by jlgijsbers input from numeric pad always dropped when numlock off (2004-11-27) http://python.org/sf/1074333 reopened by kbk minor bug in what's new > decorators (2004-12-26) CLOSED http://python.org/sf/1091302 opened by vincent wehren A large block of commands after an "if" cannot be (2003-03-28) http://python.org/sf/711268 reopened by facundobatista DESTROOTed frameworkinstall fails (2004-12-26) CLOSED http://python.org/sf/1091468 opened by Jack Jansen No need to fix (2004-12-27) CLOSED http://python.org/sf/1091634 opened by Bertram Scharpf garbage collector still documented as optional (2004-12-27) http://python.org/sf/1091740 opened by Gregory H. Ball IDLE hangs due to subprocess (2004-12-28) http://python.org/sf/1092225 opened by ZACK slice [0:] default is len-1 not len (2004-12-28) CLOSED http://python.org/sf/1092240 opened by Robert Phillips Memory leak in socket.py on Mac OS X 10.3 (2004-12-28) http://python.org/sf/1092502 opened by bacchusrx os.remove fails on win32 with read-only file (2004-12-29) http://python.org/sf/1092701 opened by Joshua Weage Make Generators Pickle-able (2004-12-29) http://python.org/sf/1092962 opened by Jayson Vantuyl distutils/tests not installed (2004-12-30) http://python.org/sf/1093173 opened by Armin Rigo mapitags.PROP_TAG() doesn't account for new longs (2004-12-30) http://python.org/sf/1093389 opened by Joe Hildebrand Bugs Closed ___ presentation typo in lib: 6.21.4.2 How callbacks are called (2004-12-22) http://python.org/sf/1090139 closed by rhettinger Memory leaks? (2004-10-16) http://python.org/sf/1048495 closed by rhettinger _bsddb segfault (2004-07-15) http://python.org/sf/991754 closed by dcjim coercion results used dangerously (2004-06-26) http://python.org/sf/980352 closed by arigo exec scoping problem (2004-12-22) http://python.org/sf/1089978 closed by arigo _DummyThread() objects not freed from threading._active map (2004-12-22) http://python.org/sf/1089632 closed by bcannon Mac Library Modules 1.1.1 Bad Info (2004-12-14) http://python.org/sf/1085300 closed by bcannon minor bug in what's new > decorators (2004-12-26) http://python.org/sf/1091302 closed by montanaro A large block of commands after an "if" cannot be (2003-03-28) http://python.org/sf/711268 closed by bcannon Failed assert in stringobject.c (2003-05-14) http://python.org/sf/737947 closed by facundobatista DESTROOTed frameworkinstall fails (2004-12-26) http://python.org/sf/1091468 closed by jackjansen nturl2path.url2pathname() mishandles /// (2002-12-07) http://python.org/sf/649961 closed by mike_j_brown No need to fix (2004-12-27) http://python.org/sf/1091634 closed by mwh 2.4a3: unhelpful error message from distutils (2004-09-03) http://python.org/sf/1021756 closed by effbot BuildApplication includes many unneeded modules (2004-12-01) http://python.org/sf/1076492 closed by jackjansen slice [0:] default is len-1 not len (2004-12-28) http://python.org/sf/1092240 closed by jlgijsbers truncated gzip file triggers zlibmodule segfault (2004-12-10) http://python.org/sf/1083110 closed by akuchling os.ttyname() accepts wrong arguments (2004-12-07) http://
