Re: [Python-Dev] Summer of Code: zipfile?

2006-11-16 Thread Nilton Volpato
Hi Giovanni,

I'm the author of the new zipfile module, which has come to be named
ziparchive. The SoC project was mentored by Ilya Etingof. It's
available through sourceforge page [1,2], were you can download a
package for it, and also through svn [3].

The current implementation is working nicely, and includes the
initially proposed features, which includes: file-like access to zip
members; support for BZIP2 compression; support for member file
removal; and support for encryption.

However, I'm not fully satisfied with the current API niceness (and
some of its limitations), and I'm working on a somewhat new design,
which will start within the next version. So, it would be very nice to
get suggestions, ideas and criticism about the current version so that
the next one can be better still.

So, I encourage whoever is interested to download and try it. There
are some examples in the code and in the project home page [2]. And,
please, send some feedback, which will help make this the ultimate zip
library for python. :-)

[1] http://sourceforge.net/projects/ziparchive
[2] http://ziparchive.sourceforge.net/
[3] https://svn.sourceforge.net/svnroot/ziparchive/ziparchive/

Cheers,
-- Nilton

On 11/12/06, Giovanni Bajo <[EMAIL PROTECTED]> wrote:
> Hello,
>
> wasn't there a project about the zipfile module in the Summer of Code? How did
> it go?
>
> Giovanni Bajo
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Results of the SOC projects

2006-11-16 Thread Brett Cannon

On 11/15/06, Georg Brandl <[EMAIL PROTECTED]> wrote:


Hi,

this might seem a bit late, and perhaps I was just blind,
but I miss something like a summary how the Python
summer of code projects went, and what the status of the ones
that were meant to improve the standard library, e.g. the
C decimal implementation, is.



There was never a formal one to my knowledge.  Part of the problem is that
the PSF acted as a blanket organization this year so we just basically
helped dole out slots to various Python projects.  This meant it was not
under very centralized control and thus not easy to track.

Anyway, as for the python-dev projects, there is an email in another thread
about the zip work.  As for the adding of logging to the stdlib modules or
the decimal in C, we need the mentors to step forward and say something
about that.

-Brett
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] 2.5 portability problems

2006-11-16 Thread Fredrik Lundh
Martin v. Löwis wrote:

> I'd like to share an observation on portability of extension
> modules to Python 2.5: python-ldap would crash on Solaris, see
> 
> http://groups.google.com/group/comp.lang.python/msg/a678a969c90f21ab?dmode=source&hl=en
> 
> It turns out that this was caused by a mismatch in malloc
> "families" (PyMem_Del vs. PyObject_Del):

I was just hit *hard* by this issue (in an extension that worked 
perfectly well under all test cases, and all but one demo script,
which happened to be the only one that happened to do a certain
trivial operation more than 222 times), so I added a FAQ entry:

http://effbot.org/pyfaq/why-does-my-c-extension-suddenly-crash-under-2.5.htm

feel free to add symptoms or other observations for other platforms 
and/or extensions.

cheers /F

___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] Results of the SOC projects

2006-11-16 Thread Stephen J. Turnbull
Brett Cannon writes:

 > There was never a formal one to my knowledge.  Part of the problem is that
 > the PSF acted as a blanket organization this year so we just basically
 > helped dole out slots to various Python projects.  This meant it was not
 > under very centralized control and thus not easy to track.

I don't think you need "centralization" or "control"; the Python
mentors are all public spirited and responsible folks, right?  It's
just that report-writing is kind of unrewarding work, especially if
you don't know what the report is supposed to be like (and haven't
even been asked for them!)

Why not have a wiki page for reports, and hand out a T-shirt or
something like that to *mentors* who file their reports?  Somebody at
the PSF should sit down, think about what the report really needs to
say from their point of view, and buy a pizza (as well as the
T-shirt!)  for somebody trusted to write a good but *minimal* report.
Then point to that: "Here's the quality of prose and citation you need
to aspire to, here's the minimum length and content you *must* include."

Report-writing of this kind is for the *mentors*: you want to know who
supervises well, and eventually do meta-mentoring.  Of course the
participants should be writing reports too, but this page should link
to those reports.  You'll get them; the mentor's T-shirt ("Somebody
participated in the Summer of Code and all I got is this lousy
T-shirt") is at stake!


___
Python-Dev mailing list
Python-Dev@python.org
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

2006-11-16 Thread Kurt B. Kaiser
Patch / Bug Summary
___

Patches :  416 open (-14) /  3463 closed (+16) /  3879 total ( +2)
Bugs:  930 open ( +8) /  6333 closed (+17) /  7263 total (+25)
RFE :  244 open ( -1) /   244 closed ( +3) /   488 total ( +2)

New / Reopened Patches
__

tkSimpleDialog freezes when apply raises exception  (2006-11-11)
   http://python.org/sf/1594554  opened by  Hirokazu Yamamoto

Iterating closed StringIO.StringIO  (2005-11-18)
   http://python.org/sf/1359365  reopened by  doerwalter

Cross compiling patches for MINGW  (2006-11-16)
   http://python.org/sf/1597850  opened by  Han-Wen Nienhuys

Patches Closed
__

`in` for classic object causes segfault  (2006-11-07)
   http://python.org/sf/1591996  closed by  loewis

askyesnocancel helper for tkMessageBox  (2005-11-08)
   http://python.org/sf/1351744  closed by  loewis

PyErr_CheckSignals returns -1 on error, not 1  (2006-11-07)
   http://python.org/sf/1592072  closed by  gbrandl

make pty.fork() allocate a controlling tty  (2003-11-08)
   http://python.org/sf/838546  closed by  loewis

Add missing elide argument to Text.search  (2006-11-07)
   http://python.org/sf/1592250  closed by  loewis

mailbox: use fsync() to ensure data is really on disk  (2006-06-29)
   http://python.org/sf/1514544  closed by  akuchling

mailbox (Maildir): avoid losing messages on name clash  (2006-06-29)
   http://python.org/sf/1514543  closed by  akuchling

Fix struct.pack on 64-bit archs (broken on 2.*)  (2004-10-02)
   http://python.org/sf/1038854  closed by  loewis

Cross building python for mingw32  (2003-11-13)
   http://python.org/sf/841454  closed by  loewis

httplib: allowing stream-type body part in requests  (2004-11-12)
   http://python.org/sf/1065257  closed by  loewis

support whence argument for GzipFile.seek (bug #1316069)  (2005-11-12)
   http://python.org/sf/1355023  closed by  loewis

fix for 1067728: Better handling of float arguments to seek  (2004-11-17)
   http://python.org/sf/1067760  closed by  loewis

ftplib transfer problem with certain servers  (2005-11-17)
   http://python.org/sf/1359217  closed by  loewis

bdist_rpm still can't handle dashes in versions  (2005-11-18)
   http://python.org/sf/1360200  closed by  loewis

Fix the vc8 solution files  (2006-08-19)
   http://python.org/sf/1542946  closed by  krisvale

Practical ctypes example  (2006-09-15)
   http://python.org/sf/1559219  closed by  theller

New / Reopened Bugs
___

Unfortunate naming of variable in heapq example  (2006-11-08)
CLOSED http://python.org/sf/1592533  opened by  Martin Thorsen Ranang

gettext has problems with .mo files that use non-ASCII chars  (2006-11-08)
CLOSED http://python.org/sf/1592627  opened by  Russell Phillips

replace groups doesn't work in this special case  (2006-11-06)
   http://python.org/sf/1591319  reopened by  tomek74

readline problem on ia64-unknown-linux-gnu  (2006-11-08)
   http://python.org/sf/1593035  opened by  Kate Minola

No IDLE in Windows  (2006-11-09)
CLOSED http://python.org/sf/1593384  opened by  A_V_I

No IDLE in Windows  (2006-11-09)
CLOSED http://python.org/sf/1593407  opened by  A_V_I

No IDLE in Windows  (2006-11-09)
CLOSED http://python.org/sf/1593442  opened by  A_V_I

site-packages isn't created before install_egg_info  (2006-09-28)
CLOSED http://python.org/sf/1566719  reopened by  loewis

Modules/unicodedata.c contains C++-style comment  (2006-11-09)
CLOSED http://python.org/sf/1593525  opened by  Mike Kent

No IDLE in Windows  (2006-11-09)
CLOSED http://python.org/sf/1593634  opened by  A_V_I

poor urllib error handling  (2006-11-09)
   http://python.org/sf/1593751  opened by  Guido van Rossum

small problem with description  (2006-11-09)
CLOSED http://python.org/sf/1593829  opened by  Atlas

Word should be changed on page 3.6.1  (2006-11-11)
CLOSED http://python.org/sf/1594742  opened by  jikanter

Make docu for dict.update more clear  (2006-11-11)
CLOSED http://python.org/sf/1594758  opened by  Christoph Zwerschke

make install fails, various modules do not work  (2006-11-11)
CLOSED http://python.org/sf/1594809  opened by  Evan

doctest simple usage recipe is misleading  (2006-11-12)
   http://python.org/sf/1594966  opened by  Ken Rimey

smtplib.SMTP.sendmail() does not provide transparency  (2006-11-12)
CLOSED http://python.org/sf/1595045  opened by  Avi Kivity

texinfo library documentation fails to build  (2006-11-12)
   http://python.org/sf/1595164  opened by  Mark Diekhans

User-agent header added by an opener is "frozen"  (2006-11-13)
   http://python.org/sf/1595365  opened by  Björn Steinbrink

parser module bug for nested try...except statements  (2006-11-13)
CLOSED http://python.org/sf/1595594  opened by  Kay Schluehr

SocketServer allow_reuse_address checked in constructor  (2006-11-13)
   http://python.org/sf/1595742  opened by  Peter Parente

read() in windows