[issue10609] dbm documentation example doesn't work (iteritems())

2010-12-02 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: Following http://mail.python.org/pipermail/docs/2010-December/002356.html a possible solution is: diff -r 3b07f7bb0289 Doc/library/dbm.rst --- a/Doc/library/dbm.rst Thu Dec 02 19:29:18 2010 +0100 +++ b/Doc/library/dbm.rst Thu

[issue10609] dbm documentation example doesn't work (iteritems())

2010-12-02 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hi Eric, on and up-to-date py3k I got this: for k, v in db.items(): ... print(k, '\t', v) ... Traceback (most recent call last): File stdin, line 1, in module AttributeError: '_dbm.dbm' object has no attribute 'items' 'items' in dir

[issue10770] zipinfo - fix of a typo in the doc

2010-12-24 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: Hello, as reported[1] on python-doc, there's a typo in zipinfo doc. [1] http://mail.python.org/pipermail/docs/2010-December/002526.html The attached (trivial) patch fixes it; the file would also need a rewrap to 80th column. Cheers

[issue10130] Create epub format docs and offer them on the download page

2010-12-25 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: Hi, with the attached patch (quite easy honestly ;)) we can generate an EPUB. I don't have a real e-book reader to test it on, but I used calibre (and its viewer) and the file is usable, and the cross-reference links works just fine

[issue10130] Create epub format docs and offer them on the download page

2010-12-25 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: ah great, 'bugs-generator' is my middle name :) If I got it right, I've prepared another patch to add the archives generation in Doc/makefile (for dist target) and then add them to the download page. Just let me know if I missed something

[issue9361] Tests for leapdays in calendar.py module

2010-12-31 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: I just tried John's patch, and: - it still applies without problem (except for a bit of offset) - I can confirm that it actually adds test coverage for leapdays() function (bringing calendar coverage from 71% to 72%). I think it would

[issue9370] Add reader redirect from test package docs to unittest module

2010-12-31 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hi Nick, the See also section already points to unittest module; are you asking to extend its description to mention that's the tool people should use for their unittest suites? Cheers, Sandro -- nosy: +sandro.tosi

[issue9671] test_executable_without_cwd fails: AssertionError: 1 != 47

2010-12-31 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello, I tried on a freshly build 2.7, and I can't replicate the reported error. Could it be it has been fixed by r78136? Sridhar, are you still seeing this error? Cheers, Sandro -- nosy: +sandro.tosi

[issue10270] Fix resource warnings in test_threading

2010-12-31 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Already fixed in r86107 -- nosy: +sandro.tosi resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue444582] Finding programs in PATH, adding shutil.which

2011-01-01 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hi Jan, are you still going to work on this feature? Hi Éric, what are we going to do: include Jan's patch when ready or Trent's `which` tool on google code? Cheers, Sandro -- nosy: +sandro.tosi

[issue8626] TypeError: rsplit() takes no keyword arguments

2011-01-01 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: That's interesting: do we have a place where we explain how to read the doc? I mean, a place were we can provide example/explain how we write docs, so f.e.: str.rsplit([sep[, maxsplit]]) is a description for a method that could accept 2

[issue10130] Create epub format docs and offer them on the download page

2011-01-01 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hi, I've updated the patch, to also mention the 'epub' target in Dco/README.txt but mainly to fix an HTML error in indexcontent.html that prevents the epub to be correctly generated. -- Added file: http://bugs.python.org/file20212

[issue8013] time.asctime segfaults when given a time in the far future

2011-01-01 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hi Alexander, can you confirm this bug is MacOs specific? I tried with python2.6 on a Debian sid @64 bit but I can't replicate it. Also, do you see it only on 2.6? if so, I doubt that it will ever be fixed; f.e. on release2.7 branch I have

[issue8278] os.utime doesn't allow a atime (Last Access) which is 27 years in the future.

2011-01-01 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hi Amaury, Martin ack'ed the patch: is there something else you want to do? -- nosy: +sandro.tosi ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8278

[issue4662] posix module lacks several DeprecationWarning's

2011-01-01 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: The patch no longer applies cleanly to 2.7 head (but it should be trivial to update it). Martin, Benjamin: as this targets 2.7, do you think the patch is acceptable in that branch or it's too late? -- nosy: +sandro.tosi

[issue4662] posix module lacks several DeprecationWarning's

2011-01-01 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4662 ___ ___ Python-bugs

[issue4662] posix module lacks several DeprecationWarning's

2011-01-01 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- versions: +Python 2.7 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4662

[issue8013] time.asctime segfaults when given a time in the far future

2011-01-01 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hi Ned, thanks for the fast check! I tried to applied the patch (it failed, so it required a bit of manual editing) but when compiling I got: /home/morph/python-dev/py3k/Modules/timemodule.c: In function ‘time_asctime’: /home/morph/python

[issue7716] IPv6 detection, don't assume existence of /usr/xpg4/bin/grep

2011-01-01 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hi, I think the best way to test this patch is to apply the fix and then compile python on a Solaris system (which I don't have): is someone owning a Solaris would run this test? -- nosy: +sandro.tosi

[issue4662] posix module lacks several DeprecationWarning's

2011-01-02 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: I've refreshed the patch to only add DeprecationWarning for tempnam, tmpnam and tmpfile. -- stage: - patch review Added file: http://bugs.python.org/file20218/issue4662-rel2.7.patch ___ Python

[issue1665333] Documentation missing for OptionGroup class in optparse

2011-01-02 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Could someone give a look to this patch? I can work on fixing the missing stuff (if any :)). -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1665333

[issue9554] test_argparse.py: use new unittest features

2011-01-04 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hi, I've applied the patch and it goes fine (except for some offsets and the fact it was generated inside Lib/test) and the tests are still all ok. I'd suggest to apply it. -- nosy: +sandro.tosi stage: - commit review

[issue9671] test_executable_without_cwd fails: AssertionError: 1 != 47

2011-01-04 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Ok, so the situation is: - I've test on debian sid and it works fine - Dave on a Fedora 13 and it works - I asked a couple of guys to try it on their systems, that's Fedora14 and Gentoo and it works fine So I think we can conclude it's

[issue10825] use assertIsNone(...) instead of assertEquals(None, ...)

2011-01-04 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: Hello, after I saw that in issue9554, I created a small patch to replace all assertEquals(None, ...) with assertIsNone(...) It's not rocket science, but I think it makes test suite better and leverage new unittest features. Cheers

[issue5485] pyexpat has no unit tests for UseForeignDTD functionality

2011-01-04 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hi all, I think this patch would be nice to be applied, but before start working on it (like adapt it to new code stuff), I'd like to know if we are really targetting 2.7 or should we instead targer 3.3. Cheers, Sandro -- nosy

[issue5485] pyexpat has no unit tests for UseForeignDTD functionality

2011-01-05 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Ok, I've changed the version field and refreshed the patch against py3k. -- versions: +Python 3.3 -Python 2.7 Added file: http://bugs.python.org/file20276/issue5485-py3k.patch ___ Python tracker

[issue8499] Set a timeout in test_urllibnet

2011-01-05 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: This was already fixed (in an unrelated commit) with r85630 and prevoious, so I'm marking this issue as closed. -- nosy: +sandro.tosi resolution: - fixed status: open - closed ___ Python tracker

[issue10848] Move test.regrtest from getopt to argparse

2011-01-06 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: I had that in mind since quite some time, so I'm taking ownership of this issue. -- assignee: - sandro.tosi nosy: +sandro.tosi versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http

[issue10849] Backport test/__main__

2011-01-06 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- nosy: +sandro.tosi ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10849 ___ ___ Python-bugs-list

[issue10848] Move test.regrtest from getopt to argparse

2011-01-10 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: R. David Murray rdmur...@bitdance.com added the comment: Note that based on my experience with the conversion of compileall to argparse,it is important to have good tests.  Of course, regrtest itself has no tests... Indeed that's quite

[issue10967] move regrtest over to using more unittest infrastructure

2011-01-20 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- nosy: +sandro.tosi ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10967 ___ ___ Python-bugs-list

[issue10848] Move test.regrtest from getopt to argparse

2011-01-24 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: I finally had the time to look more closely to the issue, and I'd like to hear some comments on the info visualization. Currently we have --help option to print: usage + additional details about execution + more rigorous testing options

[issue10848] Move test.regrtest from getopt to argparse

2011-01-24 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: R. David Murray rdmur...@bitdance.com added the comment: What about putting the addition option details in the epilog? maybe it loose the fact that all the doc/explanation for regrtest options were available from the command-line? what

[issue10848] Move test.regrtest from getopt to argparse

2011-01-25 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: On Tue, Jan 25, 2011 at 02:20, R. David Murray rep...@bugs.python.org wrote: That might be handy.  I thought you were trying to roughly reproduce the current help (which dumps it all out at once), which is why I suggested epilog

[issue10848] Move test.regrtest from getopt to argparse

2011-01-25 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: On Tue, Jan 25, 2011 at 19:29, R. David Murray rep...@bugs.python.org wrote: R. David Murray rdmur...@bitdance.com added the comment: Hmm.  Am I misunderstanding something about epilog, then?  I thought it was placed at the end

[issue10848] Move test.regrtest from getopt to argparse

2011-01-25 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Sure, that would be really interesting to do, and I do commit to write a test suite to the tool that runs the python test suite :) What I'm asking is: how would you do that? I'm quite new as contributor so the ideas of experienced core devs

[issue10848] Move test.regrtest from getopt to argparse

2011-01-26 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: As suggested by David, I made it possible to specify an alternative test directory by introducing '--testdir DIR' cli option: attached the patch, comments are welcome :) What about STDTESTS/NOTTESTS in case --testdir is specified? Currently

[issue10848] Move test.regrtest from getopt to argparse

2011-01-26 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: shouldn't we use the same method also for --coverdir (that currently faild the least surprise test when specifying a relative path) replacing coverdir = os.path.join(os.getcwd(), a) with coverdir = os.path.join(support.SAVEDCWD

[issue11030] regrtest - allow for relative path with --coverdir

2011-01-27 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: Hi, following up msg127157 here's a patch to allow for relative path when using --coverdir. The current solution uses getcwd() but since CWD is replaced by a temporary location before calling main(), then the resulting dir

[issue11031] regrtest - --testdir, new command-line option to specify alternative test directory

2011-01-27 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: from msg127153 + msg127157 + msg127172 I prepared this patch to introduce a new cli option to regrtest.py, --testdir DIR, that allows to specify a different location for the directory containing the test files. along the way, I added

[issue10848] Move test.regrtest from getopt to argparse

2011-01-27 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: Removed file: http://bugs.python.org/file20541/issue10848-testdir-py3k.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10848

[issue10848] Move test.regrtest from getopt to argparse

2011-01-27 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: I've created two new issues (David, I think I've lost why I'd need 3 :) ) * issue11030 - finally allows to specify a relative dir with --coverdir * issue11031 - to expose --testdir in order to specify a different location of the directory

[issue11093] test_future - rename not-unittest files to redure regrtest.NOTTESTS an empty set

2011-02-01 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: Hi, following up with issue10848, here's another preparatory step: - renamed test_future[12].py to future_test[12].py, to clearly identify the as not unittest files (and so facilitate the autodiscovery introduction) - adapted

[issue11093] test_future - rename not-unittest files to make regrtest.NOTTESTS an empty set

2011-02-01 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- title: test_future - rename not-unittest files to redure regrtest.NOTTESTS an empty set - test_future - rename not-unittest files to make regrtest.NOTTESTS an empty set ___ Python tracker rep

[issue6465] email.feedparser regular expression bug (NLCRE_crack)

2011-02-02 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: I was looking at this bug and tried to reproduce it, but I can't :( I extracted this code: part1 = 'Content-Type: multipart/related; start=op.mhtml.1247227666422.e6e72d4c344a2503@192.168.1.20; boundary=--1JBOHhxKNnWgkmE17ZJ2Cy\r

[issue6818] remove/delete method for zipfile/tarfile objects

2011-02-02 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- nosy: +sandro.tosi ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6818 ___ ___ Python-bugs-list

[issue6818] remove/delete method for zipfile/tarfile objects

2011-02-02 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- keywords: -patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6818 ___ ___ Python-bugs-list

[issue6465] email.feedparser regular expression bug (NLCRE_crack)

2011-02-02 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Lucky as I can be, I have 2.5.5 here and I can confirm that with this version the code above fails - so I think this issue can be closed as fixed by issue5610 (I hope I correctly set all the fields, if not please let me know

[issue6253] optparse.OptionParser.get_usage uses wrong formatter

2011-02-02 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Jan, are you still interested in this? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6253

[issue4142] smtplib doesn't clear helo/ehlo flags on quit

2011-02-07 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello Felix/Don, are you still interested in seeing this fixed in smtplib? If so, what about incorporating Martin's suggestions and propose a new patch for review? -- nosy: +sandro.tosi -Felix Schwarz stage: - test needed

[issue7719] distutils: ignore .nfsXXXX files

2011-02-08 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: On Tue, Feb 8, 2011 at 23:40, Éric Araujo rep...@bugs.python.org wrote: Éric Araujo mer...@netwok.org added the comment: Do you have any pointer about those .nfs* files?  Are there other (build) tools that ignore them?  Is it always safe

[issue6005] Bug in socket example

2011-02-08 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hi all, I was looking at this issue and thought: ok the module documentation uses send() not correctly, so we should fix that; the fastest solution is using sendall(). But then searching fro some examples in the code on internet, I found

[issue5833] readline update

2011-02-09 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: How should we move forward with this issue? J Evens: are you willing to split the patch in smaller ones that can be more easily managed/reviewed/applied? Antoine: do you think it's worth the effort? I can also try to split the patch

[issue4696] email module does not unfold headers

2011-02-09 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hi David, AFAIUI in py3k branch I see email module has version 5.1.0 so I guess the new email module will be targetting 3.3 - am I correct? what should we do with this issue? -- nosy: +sandro.tosi stage: - patch review

[issue6544] Fix refleak in kqueue implementation

2011-02-09 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hi Georg, are you planning to backport this patch also to 3.1 or else can we close this issue? Cheers! -- nosy: +sandro.tosi stage: - committed/rejected ___ Python tracker rep...@bugs.python.org

[issue2228] Imaplib speedup patch

2011-02-09 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Sean, could you please explain a bit more what are your concerns about this patch? Anyhow, the code has slightly changed and currently John is not maintaining offlineimap anymore, but what seems the most recent version can be found

[issue6626] show Python mimetypes module some love

2011-02-09 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6626 ___ ___ Python-bugs

[issue8853] getaddrinfo should accept port of type long

2011-02-09 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hi Mark, would you like to write some tests about the proposed change? Antoine gave a fast look at the issue and believe it's acceptable for 2.7. -- nosy: +sandro.tosi stage: - test needed versions: +Python 2.7 -Python 2.6

[issue7284] optparse - display version in usage by default

2011-02-10 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hi, optparse is now deprecated, and argparse is the replacement, so I'm closing this report. -- nosy: +sandro.tosi resolution: - wont fix stage: needs patch - committed/rejected status: open - closed

[issue4297] Add error_log attribute to optparse.OptionParser

2011-02-10 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hi Daniel, did you read Steven suggestions? are you willing to propose a patch about your feature request against argparse (optparse is deprecated and no more under development in stdlib)? -- nosy: +sandro.tosi

[issue1704474] optparse tests fail under Jython

2011-02-10 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hi, since optparse is now deprecated (in favor of argparse) and in a year and half there was not progress on this, I'm closing this report. -- nosy: +sandro.tosi resolution: - wont fix stage: - committed/rejected status: open

[issue10423] s/args/options in arpgarse Upgrading optparse code

2011-02-10 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hi Steven, I'm not exactly getting what you're meaning here: are you actually saying to replace every occurrence of 'option' with 'argument' in the whole argparse module doc, or just make it stronger in the mentioned line that what

[issue10423] s/args/options in arpgarse Upgrading optparse code

2011-02-11 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: I've prepared a simple patch: what do you think about it? -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10423

[issue10423] s/args/options in arpgarse Upgrading optparse code

2011-02-11 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: now even with patch attached :) -- keywords: +patch Added file: http://bugs.python.org/file20747/issue10423.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10423

[issue11227] [DOC] asyncore - use 'Host' header in HTTP example

2011-02-16 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: Hi, following up http://mail.python.org/pipermail/docs/2011-February/003096.html I wrote a patch to introduce the 'Host' header in the HTTP example of asyncore doc. I've also fixed an indentation error with the last 2 lines of the same

[issue11232] asyncore - don't throw a traceback when a client disconnects in echo server example

2011-02-17 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: Hi, following up http://mail.python.org/pipermail/docs/2011-February/003095.html I'm attaching a simple patch to avoid a traceback similar to this when a client disconnects: error: uncaptured python exception, closing channel __main__

[issue11232] asyncore - don't throw a traceback when a client disconnects in echo server example

2011-02-17 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- components: +Documentation ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11232 ___ ___ Python

[issue11233] clarifying Availability: Unix

2011-02-17 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: Hi, following up http://mail.python.org/pipermail/docs/2011-February/003083.html we have a chat on #python-dev on the topic, the situation is - all started with os.lchmod() and as.lchflags() methods not available on a Debian system

[issue11234] Possible error in What's new Python3.2(rc3) documentation (sysconfig.get_config_var)

2011-02-17 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: On Thu, Feb 17, 2011 at 20:22, Carl Chenet rep...@bugs.python.org wrote: sysconfig.get_config_var('SO') '.cpython-32m.so' A dot at the beginning of the string could be missing in the example of the current documentation. This dot also

[issue11238] sets - refer to sets/frozenset in stdtypes

2011-02-17 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: Hi, following up http://mail.python.org/pipermail/docs/2011-February/003088.html, here's a patch to make sets.html big red notice :) refer to set/frozenset into stdtypes page with a couple of links. -- assignee: sandro.tosi

[issue11232] asyncore - don't throw a traceback when a client disconnects in echo server example

2011-02-17 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: well, since we are at it, sed 's/abasic/a basic/' in the first line of echo server example; I'm too lazy to regenerate the patch tho :) -- ___ Python tracker rep...@bugs.python.org http

[issue11239] regexp-howto - add missing } to metachars

2011-02-17 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: hi, following up http://mail.python.org/pipermail/docs/2011-February/003099.html, here's a patch to add '}' to metachars, currently missing. -- assignee: sandro.tosi components: Documentation files: regex-howto-add-missin-metachar

[issue11292] Curses - add A_REVERSE to attributes table

2011-02-22 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: Following up http://mail.python.org/pipermail/docs/2011-February/003142.html here's a patch to add A_REVERSE attribute to attribs table. -- assignee: sandro.tosi components: Documentation files: add-a_reverse-py3k.patch keywords

[issue11293] Distutils - read the file when using it in long_description

2011-02-22 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: Following up http://mail.python.org/pipermail/docs/2011-February/003087.html here's a patch to read the contents of the file for long_description. -- assignee: sandro.tosi components: Documentation files: distutils-read-longdescr

[issue11294] Locale - update uniform ERA_*_FMT doc

2011-02-22 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: Following up http://mail.python.org/pipermail/docs/2011-February/003004.html here's a patch to: - clarify ERA_D_FMT is for date - uniform the way {ERA_}tag descriptions are written (are not a native to know if it's better 'a date

[issue11227] [DOC] asyncore - use 'Host' header in HTTP example

2011-02-23 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- assignee: sandro.tosi - docs@python nosy: +docs@python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11227

[issue11239] regexp-howto - add missing } to metachars

2011-02-23 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- assignee: sandro.tosi - docs@python nosy: +docs@python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11239

[issue11232] asyncore - don't throw a traceback when a client disconnects in echo server example

2011-02-23 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- assignee: sandro.tosi - docs@python nosy: +docs@python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11232

[issue11292] Curses - add A_REVERSE to attributes table

2011-02-23 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- assignee: sandro.tosi - docs@python nosy: +docs@python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11292

[issue11293] Distutils - read the file when using it in long_description

2011-02-23 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- assignee: sandro.tosi - docs@python nosy: +docs@python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11293

[issue11294] Locale - update uniform ERA_*_FMT doc

2011-02-23 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- assignee: sandro.tosi - docs@python nosy: +docs@python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11294

[issue11304] Input/output tutorial - PI is rounded not truncated

2011-02-23 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: Following up http://mail.python.org/pipermail/docs/2011-January/002974.html here's a patch to fix it. -- assignee: docs@python components: Documentation keywords: patch messages: 129228 nosy: docs@python, sandro.tosi priority: low

[issue9562] Slightly misleading wording in documentation of dict.update

2010-09-25 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello, does the attached patch contains the expected wording? Thanks, Sandro -- nosy: +sandro.tosi Added file: http://bugs.python.org/file19013/issue9562-py3k.patch ___ Python tracker rep

[issue6293] Have regrtest.py echo back sys.flags

2010-09-25 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello, I've changed the initial patch to add a CLI option ('-g/--sysflags', '-f' is already used) to enable the echoing of sys.flags. If you need some other changes, just ping me. Regards, Sandro -- nosy: +sandro.tosi Added file

[issue7110] Output test failures on stderr in regrtest.py

2010-09-25 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello, the attached patch seems to do the trick, at least on what I can verify here on my machine. I'd appreciate a bit more of test from more experienced developers, just to catch corner cases I didn't see. Regards, Sandro

[issue9628] runtests.sh -x doesn't work with more than two args (sed error)

2010-09-25 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello, the patch applies cleanly against up-to-date py3k branch: is there anything else to do before committing it? Regards, Sandro -- nosy: +sandro.tosi ___ Python tracker rep...@bugs.python.org

[issue6031] BaseServer.shutdown documentation is incomplete

2010-09-26 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello, I've refreshed this patch (correct the file name because it applies now with an offset), other than that it seems ok: can someone review (it's quite small :) and apply it? Thanks, Sandro -- nosy: +sandro.tosi Added file

[issue8158] documentation of 'optparse' module incomplete

2010-09-27 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello, since 2.7 optparse is deprecated in favor of argparse: is this bug still worth to be fixed? If so, I can work on a patch for the doc. Regards, Sandro -- nosy: +sandro.tosi ___ Python

[issue8158] documentation of 'optparse' module incomplete

2010-09-27 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Sorry, I probably overlooked at the situation. After a quick chat with Antoine on IRC, it's clear optparse is here to stay for all the lifetime of 2.7 (quite a long and prosper, we hope :) so yes, it's worth work on its documentation, hence

[issue1665333] Documentation missing for OptionGroup class in optparse

2010-09-28 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello, attached is a patch to improve the OptionGroup documentation. I've also changed usage-Usage and options-Options in the examples output, since now the code tries to guess the lower case word and rewrites with the capitalized one. I'm

[issue1665333] Documentation missing for OptionGroup class in optparse

2010-09-28 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: sorry, I forgot to wrap at column 80, this patch just changes that. -- Added file: http://bugs.python.org/file19052/issue1665333-py3k-v2.patch ___ Python tracker rep...@bugs.python.org http

[issue6253] optparse.OptionParser.get_usage uses wrong formatter

2010-09-30 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello Jan, I noticed this bug and I wondered: what's your opinion now? Optparse is deprecated and it will be replaced by argparse, so I'm not sure it's interesting to introduce a new feature (the format_usage() method) but it might still

[issue9112] argparse missing documentation for error() method

2010-09-30 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello, attached a patch that adds the exiting methods (exit() and error()) to argparse documentation. Regards, Sandro -- keywords: +patch nosy: +sandro.tosi Added file: http://bugs.python.org/file19070/issue9112-py3k.patch

[issue5088] optparse: inconsistent default value for append actions

2010-10-01 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello, attached a patch to add documentation about action=append and a default value. Regards, Sandro -- keywords: +patch nosy: +sandro.tosi Added file: http://bugs.python.org/file19087/issue5088-py3k.patch

[issue5501] Update multiprocessing docs re: freeze_support

2010-10-01 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello, well it's just 3 words that can clarify the situation, so maybe just add them would be nice Regards, Sandro -- nosy: +sandro.tosi ___ Python tracker rep...@bugs.python.org http

[issue5088] optparse: inconsistent default value for append actions

2010-10-04 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hi Éric, thanks a lot for your review. Your comments are just fine, so I'm attaching a new patch that contains them. Yes, it's really nice to see one's work being accepted, and I do recognize I have a lot to learn about python procedures

[issue5501] Update multiprocessing docs re: freeze_support

2010-10-04 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Sorry Éric, I don't get it: do you mean that the fact that freeze_support() can be called without issues on Unix or OS X is a new feature? or I misread it completely? -- ___ Python tracker rep

[issue9093] Tools/README is out of date

2010-10-04 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello Georg, is this bug been fixed with r83608-10 ? from the commit diffs it seems so, but maybe there's something else you want to do. Regards, Sandro -- nosy: +sandro.tosi ___ Python tracker

[issue5088] optparse: inconsistent default value for append actions

2010-10-04 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: On Mon, Oct 4, 2010 at 20:18, Éric Araujo rep...@bugs.python.org wrote: Éric Araujo mer...@netwok.org added the comment: Forgot this one: `appended` I don’t remember the default reST role being used in the Python docs; I don’t even

[issue7285] multiprocessing module, example code error

2010-10-07 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello, i've verified that the problem still exists in an up-to-date py3k branch, and that the proposed patch indeed fixes the bug. Since the patch no more applies cleanly, I've refreshed it, and also added additional information about

  1   2   3   4   5   >