PEP 304 "Controlling Generation of Bytecode Files" - patch updated

Discussion in 'Python' started by Skip Montanaro, Jun 17, 2005.

  1. I updated the patch that supports PEP 304, "Controlling Generation of
    Bytecode Files" to apply cleanly against current CVS. I've tested it on Mac
    OS X (straight Unix build only). I'd appreciate it if some Linux, Windows
    and Mac framework folks could apply the patch, rebuild, then run the tests
    (there is a "testbcb" target in the Makefile that should give Windows people
    an idea what to do). The patch is attached to

    http://python.org/sf/677103

    Now that I think about it, there is probably a file in the Windows build
    tree (equivalent of pyconfig.h?) that still needs to be updated.

    The text of the PEP has not been updated in awhile. I will try to look at
    that in the next couple of days. I'd appreciate some critical review by
    people with Windows filesystem experience. There was a comment ages ago
    about problems with this scheme due to Windows multi-rooted directory tree
    that I can no longer find (and failed to record in the PEP at the time).
    I'd like to see if the problem can be resurrected then addressed.

    Thanks,

    Skip
     
    Skip Montanaro, Jun 17, 2005
    #1
    1. Advertising

  2. Re: PEP 304 "Controlling Generation of Bytecode Files" - patchupdated

    Skip Montanaro <> writes:

    > I updated the patch that supports PEP 304, "Controlling Generation of
    > Bytecode Files" to apply cleanly against current CVS. I've tested it on Mac
    > OS X (straight Unix build only). I'd appreciate it if some Linux, Windows
    > and Mac framework folks could apply the patch, rebuild, then run the tests
    > (there is a "testbcb" target in the Makefile that should give Windows people
    > an idea what to do). The patch is attached to
    >
    > http://python.org/sf/677103
    >

    There's no patch attached.

    Thoas
     
    Thomas Heller, Jun 17, 2005
    #2
    1. Advertising

  3. Skip> http://python.org/sf/677103

    Thomas> There's no patch attached.

    *sigh*

    Thanks for noticing the problem. Apparently, since I last updated the
    patch, SF implemented a 250kbyte limit on file uploads. This one is big
    because it includes a suitably modified configure script that was generated
    with a slightly different version of autoconf than what's in the current
    Python distro so people don't need to have autoconf installed to work with
    the patch. I've attached a gzipped version of the patch (bcb.diffs.gz).

    Skip
     
    Skip Montanaro, Jun 17, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Craig Deelsnyder
    Replies:
    5
    Views:
    7,128
    Joe Fallon
    Jul 15, 2004
  2. Andrew Clover

    PEP 304, and alternative

    Andrew Clover, Jul 22, 2003, in forum: Python
    Replies:
    1
    Views:
    410
    Skip Montanaro
    Jul 22, 2003
  3. Skip Montanaro

    PEP 304 - is anyone really interested?

    Skip Montanaro, Jun 23, 2005, in forum: Python
    Replies:
    6
    Views:
    483
    Patrick Maupin
    Jun 24, 2005
  4. NevilleDNZ
    Replies:
    1
    Views:
    617
    NevilleDNZ
    Jan 1, 2007
  5. Eric Mahurin

    RCR 304: reference/pointer concept

    Eric Mahurin, May 9, 2005, in forum: Ruby
    Replies:
    2
    Views:
    115
    Austin Ziegler
    May 9, 2005
Loading...

Share This Page