zip module password

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Michele Petrazzo

    #1

    zip module password

    Is there a method for add a password to a file created by zip module?

    Thanks,
    Michele
  • Peter Hansen

    #2
    Re: zip module password

    Michele Petrazzo wrote:[color=blue]
    > Is there a method for add a password to a file created by zip module?[/color]

    This link
    https://sourceforge.net/tracker/?fun...&group_id=5470
    suggests that there is no such support in the standard zipfile module
    yet, but that a patch has been available for some time (but has
    not yet been accepted).

    Google found this, and other notes on the topic...

    -Peter

    Comment

    • Giovanni Bajo

      #3
      Re: zip module password

      Peter Hansen wrote:
      [color=blue][color=green]
      >> Is there a method for add a password to a file created by zip module?[/color]
      >
      > This link
      >[/color]
      https://sourceforge.net/tracker/?fun...&group_id=5470[color=blue]
      > suggests that there is no such support in the standard zipfile module
      > yet, but that a patch has been available for some time (but has
      > not yet been accepted).[/color]


      "has not yet been *commented*" or even looked at would be more appropriate. In
      fact, it is no wonder that it is my sole contribution to Python -- I found the
      lack of responsiveness so depressing.
      --
      Giovanni Bajo


      Comment

      • Thomas Heller

        #4
        Re: zip module password

        "Giovanni Bajo" <noway@sorry.co m> writes:
        [color=blue]
        > Peter Hansen wrote:
        >[color=green][color=darkred]
        >>> Is there a method for add a password to a file created by zip module?[/color]
        >>
        >> This link
        >>[/color]
        > https://sourceforge.net/tracker/?fun...&group_id=5470[color=green]
        >> suggests that there is no such support in the standard zipfile module
        >> yet, but that a patch has been available for some time (but has
        >> not yet been accepted).[/color]
        >
        >
        > "has not yet been *commented*" or even looked at would be more appropriate. In
        > fact, it is no wonder that it is my sole contribution to Python -- I found the
        > lack of responsiveness so depressing.[/color]

        Here's one possible way to push it further:



        Thomas

        Comment

        • Giovanni Bajo

          #5
          Re: zip module password

          Thomas Heller wrote:
          [color=blue][color=green][color=darkred]
          >>> suggests that there is no such support in the standard zipfile
          >>> module yet, but that a patch has been available for some time (but has
          >>> not yet been accepted).[/color]
          >>
          >> "has not yet been *commented*" or even looked at would be more
          >> appropriate. In fact, it is no wonder that it is my sole
          >> contribution to Python -- I found the lack of responsiveness so
          >> depressing.[/color]
          >
          > Here's one possible way to push it further:
          > http://mail.python.org/pipermail/pyt...er/049495.html[/color]

          I am sorry for Martin, but this looks like total bullshit to me. I am *not*
          qualified to review Python patches because I am not a Python developer. If I
          review 10 patches, my work could be totally useless, if not even dangerous for
          Python itself. I could easily miss blatant bugs, suggest wrong things,
          understand interface decisions wrong. It would be a total waste of time for me;
          plus, some real Python developer would have to double-check my work, because it
          would be completely fool for them to just blindly trust my reviews. And if they
          carefully double-check my work, they could spend that very time by reviewing
          the patches themselves.

          Usually, you get involved in development by submitting small patches, getting
          reviews and comments, learning by your errors, and understanding things as you
          go. If the only way to get a review is to produce 10 reviews out of *no*
          experience, you do not have time to learn. Plus, it is really surprising to me
          that the Python team is so developed-starved to ask random people whose
          experience is totally unknown to review patches on their behalf.

          If they need more developers, they could stop improving Python for some months,
          just how long it takes them to review all those patches. Nobody would scream
          and they might end up with a bunch of new wannabe developers to help them.
          --
          Giovanni Bajo


          Comment

          • Fredrik Lundh

            #6
            Re: zip module password

            Giovanni Bajo wrote:
            [color=blue]
            > In fact, it is no wonder that it is my sole contribution to Python -- I found the
            > lack of responsiveness so depressing.[/color]

            if you want people to use your modified zip module, wrap it up and make it
            available via PyPI:



            if you have other contributions, wrap them up and post them to PyPI. the
            "I'll only contribute to the standard library" approach doesn't work.

            </F>



            Comment

            Working...