[issue11292] Curses - add A_REVERSE to attributes table

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

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

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

[issue11294] Locale - update & uniform ERA_*_FMT doc

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

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

2011-02-23 Thread Sandro Tosi
New submission from Sandro Tosi : 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 severity: n

[issue11363] Curses - add missing functions to doc

2011-03-01 Thread Sandro Tosi
New submission from Sandro Tosi : Following up http://mail.python.org/pipermail/docs/2011-January/002922.html , I did a check on all the documented functions of curses and those available from the module, and wrote a patch to include in the doc the missing ones (text is mainly brought by

[issue11363] Curses - add missing functions to doc

2011-03-01 Thread Sandro Tosi
Sandro Tosi added the comment: On Tue, Mar 1, 2011 at 19:50, Sandro Tosi wrote: > > New submission from Sandro Tosi : > > Following up http://mail.python.org/pipermail/docs/2011-January/002922.html , > I did a check on all the documented functions of curses and those availa

[issue11392] Turtle - better explain 'chaos' demo

2011-03-03 Thread Sandro Tosi
New submission from Sandro Tosi : Following up http://mail.python.org/pipermail/docs/2011-January/002786.html I prepared this patch to - correct Verhulst name - explain that the results can be against common sense Also, what's exactly related to "world coordinates"

[issue5901] missing meta-info in documentation pdf

2011-03-07 Thread Sandro Tosi
Sandro Tosi added the comment: AFAIK, this is obtained using \pdfinfo{} command[1][2][3] [1] http://theoval.cmp.uea.ac.uk/~nlct/latex/pdfdoc/pdfdoc/pdfdoc.html [2] http://tex.stackexchange.com/questions/5958/is-hyperref-really-the-best-way-to-add-metadata-to-a-tex-file [3] http://www.tug.org

[issue10617] Collections ABCs can’t be linked to

2011-03-08 Thread Sandro Tosi
Sandro Tosi added the comment: Hi Éric, after #11085, I think the part of the doc you're referring to has been moved to collections.abc.rst, is that correct? If so, can you please explain what you'd like to see? all those ":class:`Container`" converted into "..

[issue11009] urllib.splituser is not documented

2011-03-08 Thread Sandro Tosi
Changes by Sandro Tosi : -- nosy: +sandro.tosi versions: +Python 2.7, Python 3.2, Python 3.3 -Python 2.6 ___ Python tracker <http://bugs.python.org/issue11

[issue10617] Collections ABCs can’t be linked to

2011-03-09 Thread Sandro Tosi
Sandro Tosi added the comment: but that will generate "class collections.abc.Container" as text in the first column of the table: do you really like it? I don't :) -- ___ Python tracker <http://bugs.pyt

[issue11009] urllib.splituser is not documented

2011-03-11 Thread Sandro Tosi
Sandro Tosi added the comment: Hi Senthil, what do you think about "documenting" those methods are private ones in the urllib code (if not using _, at least a short comment above them)? at least we have a mark it's an implementation decision and in case someone has the crazy

[issue11561] "coverage" of Python regrtest cannot see initial import of libs

2011-03-21 Thread Sandro Tosi
Changes by Sandro Tosi : -- nosy: +sandro.tosi ___ Python tracker <http://bugs.python.org/issue11561> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2011-03-22 Thread Sandro Tosi
Sandro Tosi added the comment: Reattaching patch generated (against 3.2) with diff --git to preserve the rename operation. -- Added file: http://bugs.python.org/file21339/test_future_diffgit.patch ___ Python tracker <http://bugs.python.

[issue9056] Adding additional level of bookmarks and section numbers in python pdf documents.

2011-03-24 Thread Sandro Tosi
Sandro Tosi added the comment: The number of items in the bookmark is controlled by \setcounter{tocdepth}{1} in sphinxmanual.cls, that's included in every latex file (the source of the PDF documentation). The cls file is coming directly from sphinx, so Georg: what is the purpo

[issue11699] Documentation for get_option_group is wrong

2011-03-28 Thread Sandro Tosi
Changes by Sandro Tosi : -- nosy: +sandro.tosi ___ Python tracker <http://bugs.python.org/issue11699> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1571878] Improvements to socket module exceptions

2011-03-28 Thread Sandro Tosi
Changes by Sandro Tosi : -- nosy: +sandro.tosi versions: +Python 3.3 -Python 3.2 ___ Python tracker <http://bugs.python.org/issue1571878> ___ ___ Python-bug

[issue1571878] Improvements to socket module exceptions

2011-03-28 Thread Sandro Tosi
Changes by Sandro Tosi : -- keywords: -patch ___ Python tracker <http://bugs.python.org/issue1571878> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10632] multiprocessing generates a fatal error

2011-03-28 Thread Sandro Tosi
Sandro Tosi added the comment: Hi Brian, are you able to replicate it? I just build 3.2 and default (3.3) on a Debian unstable system and wasn't able to replicate it (with a busy loop like while date ; do ./python -c "import multiprocessing.managers ; mpp = multiprocessing.P

[issue10517] test_concurrent_futures crashes with "--with-pydebug" on RHEL5 with "Fatal Python error: Invalid thread state for this thread"

2011-03-28 Thread Sandro Tosi
Sandro Tosi added the comment: Is someone still able to replicate this crash? I'm not, with a fresh built 3.2 and default (3.3), --with-pydebug enabled. Brian confirmed on msg132418 that he can't any longer replicate it. -- nosy: +s

[issue10632] multiprocessing generates a fatal error

2011-03-28 Thread Sandro Tosi
Sandro Tosi added the comment: can we close this issue then? -- ___ Python tracker <http://bugs.python.org/issue10632> ___ ___ Python-bugs-list mailing list Unsub

[issue8624] Aliasing warnings in multiprocessing.c

2011-03-28 Thread Sandro Tosi
Sandro Tosi added the comment: This was fixed in f8fc2d03d7e4 by Benjamin Peterson. -- nosy: +sandro.tosi resolution: -> out of date stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker <http://bug

[issue9067] Use macros from pyctype.h

2011-03-28 Thread Sandro Tosi
Sandro Tosi added the comment: Hi Stefan, can you please expand a bit this issue and details the places you think can benefit from pyctype macros? you know, a patch would be the best :) -- nosy: +sandro.tosi versions: +Python 3.3 ___ Python tracker

[issue7365] grp and pwd should treat uid and gid as unsigned

2011-03-29 Thread Sandro Tosi
Sandro Tosi added the comment: I took the freedom to refresh the patch against default (I don't know yet the policies for what to backport and what not), built a debug version of python with the patch applied and run the test suite with no regression. A test would be nice to be added

[issue7124] idle.py -n : help() doesn't work in a reopened shell window

2011-03-29 Thread Sandro Tosi
Sandro Tosi added the comment: Hi Gregor, are you still able to replicate this bug? I just tried on a freshly built 3.3 and (hopefully correctly) following your description, I can print help just fine: >>> help(print) Help on built-in function print in module builtins: print(...)

[issue7101] tarfile: OSError with TarFile.add(..., recursive=True) about non-existing file

2011-03-29 Thread Sandro Tosi
Sandro Tosi added the comment: Hi, I don't understand why you think tarfile should not fail in case you're trying to add a non-existing file. the problem is that glob() already extracted a list of files&dirs and then while the script is tar-ring them, you're removing some

[issue9331] sys.setprofile is not described as CPython implementation detail

2011-03-29 Thread Sandro Tosi
Sandro Tosi added the comment: As Benjamin just confirmed on #python-dev, sys.setprofile is not a cpython impl detail, hence closing this issue. -- nosy: +benjamin.peterson, sandro.tosi resolution: -> invalid stage: needs patch -> committed/rejected status: open -&g

[issue7124] idle.py -n : help() doesn't work in a reopened shell window

2011-03-29 Thread Sandro Tosi
Sandro Tosi added the comment: that's great, closing then :) -- resolution: -> out of date stage: needs patch -> status: open -> closed ___ Python tracker <http://bugs.pyt

[issue10219] BufferedReader.read1 does not check for closed file

2011-03-30 Thread Sandro Tosi
Sandro Tosi added the comment: Hi, on a freshly built python 3.3 I got: $ ./python Python 3.3a0 (default:22ae2b002865, Mar 30 2011, 20:18:39) [GCC 4.4.5] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> f

[issue10234] ResourceWarnings in test_subprocess

2011-03-30 Thread Sandro Tosi
Sandro Tosi added the comment: On a freshly built 3.3 I don't get those RW anymore: $ ./python -bb -E -Wd -m test -r -w -uall test_subprocess Using random seed 7436992 [1/1] test_subprocess . this bit of output is from a test of stdout in a different process ... . this bit of outp

[issue11715] Building Python on multiarch Debian and Ubuntu

2011-04-01 Thread Sandro Tosi
Changes by Sandro Tosi : -- nosy: +sandro.tosi ___ Python tracker <http://bugs.python.org/issue11715> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10023] test_lib2to3 leaks under 3.1

2011-04-04 Thread Sandro Tosi
Sandro Tosi added the comment: As discussed with Ezio on IRC, this doesn't apply anymore in 3.2 nor in 3.3, so we guess we can simply mark is already fixed in a later version. -- nosy: +sandro.tosi resolution: -> out of date status: open -

[issue10339] test_lib2to3 leaks

2011-04-04 Thread Sandro Tosi
Sandro Tosi added the comment: closing like issue10023 -- nosy: +sandro.tosi resolution: -> out of date status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue10019] json.dumps with indent = 0 not adding newlines

2011-04-12 Thread Sandro Tosi
Sandro Tosi added the comment: Hi, I updated the patch, making one for 2.7, 3.1 and 3.2 (this last one applies cleanly on default too). As of merging simplejson, it's more a matter of porting it to Python 3. I'll drop an email to Bob soon, let's see how it goes.

[issue10019] json.dumps with indent = 0 not adding newlines

2011-04-12 Thread Sandro Tosi
Changes by Sandro Tosi : Added file: http://bugs.python.org/file21631/issue10019-py3.1.patch ___ Python tracker <http://bugs.python.org/issue10019> ___ ___ Python-bug

[issue10019] json.dumps with indent = 0 not adding newlines

2011-04-12 Thread Sandro Tosi
Changes by Sandro Tosi : Added file: http://bugs.python.org/file21632/issue10019-py2.7.patch ___ Python tracker <http://bugs.python.org/issue10019> ___ ___ Python-bug

[issue10019] json.dumps with indent = 0 not adding newlines

2011-04-12 Thread Sandro Tosi
Sandro Tosi added the comment: Oh, just to say I took the version as of http://code.google.com/p/simplejson/source/detail?r=234 -- ___ Python tracker <http://bugs.python.org/issue10

[issue11840] Improvements to c-api/unicode documentation

2011-04-12 Thread Sandro Tosi
New submission from Sandro Tosi : Hi, After reading tomo cocoa mail at docs@ I gave a look at c-api/unicode file and fixed some minor editing issues. Regards, Sandro -- assignee: docs@python components: Documentation files: unicode_doc-default.patch keywords: patch messages: 133600

[issue11840] Improvements to c-api/unicode documentation

2011-04-12 Thread Sandro Tosi
Sandro Tosi added the comment: In addition, is there a reason for the sorting of UTF-8 UTF-32 UTF-16 and UTF-7 sections? why not alphabetically? Also, several parts of the doc would need paragraph re-indentation (not done in this patch due to clarity

[issue11840] Improvements to c-api/unicode documentation

2011-04-12 Thread Sandro Tosi
Sandro Tosi added the comment: On Tue, Apr 12, 2011 at 23:34, Marc-Andre Lemburg wrote: > Sandro Tosi wrote: >> >> Sandro Tosi added the comment: >> >> In addition, is there a reason for the sorting of UTF-8 UTF-32 UTF-16 and >> UTF-7 sections? why not

[issue11840] Improvements to c-api/unicode documentation

2011-04-13 Thread Sandro Tosi
Sandro Tosi added the comment: On Tue, Apr 12, 2011 at 23:56, Marc-Andre Lemburg wrote: > Marc-Andre Lemburg added the comment: > I think you misunderstood: when reorganizing the contents of > a file, it's better to apply the patch to all branches, rather > than just t

[issue11840] Improvements to c-api/unicode documentation

2011-04-13 Thread Sandro Tosi
Changes by Sandro Tosi : Added file: http://bugs.python.org/file21657/unicode_doc-2.7.patch ___ Python tracker <http://bugs.python.org/issue11840> ___ ___ Python-bug

[issue11840] Improvements to c-api/unicode documentation

2011-04-13 Thread Sandro Tosi
Changes by Sandro Tosi : Added file: http://bugs.python.org/file21658/unicode_doc-3.1.patch ___ Python tracker <http://bugs.python.org/issue11840> ___ ___ Python-bug

[issue11840] Improvements to c-api/unicode documentation

2011-04-13 Thread Sandro Tosi
Sandro Tosi added the comment: The status of the patches is this: unicode_doc-2.7.patch - to be applied on 2.7 unicode_doc-3.1.patch - to be applied on 3.1 unicode_doc-default.patch - to be applied on 3.2 and then merged on default I had to prepare multiple patches since the files are very

[issue10121] test_multiprocessing stuck in test_make_pool if run in a loop

2011-04-14 Thread Sandro Tosi
Sandro Tosi added the comment: Thanks for reminding me of this issue. I let the same tight loop run on an up-to-date python for a whole day and not stuck happened. -- resolution: -> out of date status: open -> closed ___ Python tracker

[issue10605] ElementTree documentation

2011-04-14 Thread Sandro Tosi
Sandro Tosi added the comment: Hi Adrian, where do you see the 'entity' argument to class TreeBuilder? In case I'm just missing in, would be interested in preparing a patch? you seem to be knowledgeable about the matter, so it would be nice if you can share it with us. You c

[issue8326] Cannot import name SemLock on Ubuntu

2011-04-14 Thread Sandro Tosi
Sandro Tosi added the comment: > How do I know the configuration options that the Ubuntu packager used? the make file (likely) used is at: http://bazaar.launchpad.net/~doko/python/pkg2.7-debian/view/head:/rules Note: he is also a python developer, so you can add him to nosy and

[issue11844] Update json to upstream simplejson latest release

2011-04-14 Thread Sandro Tosi
New submission from Sandro Tosi : This issue is to track the update process of json to the latest upstream release (2.1.3). As a start, here's the p-dev thread: http://mail.python.org/pipermail/python-dev/2011-April/110704.html -- assignee: sandro.tosi components: Library

[issue11883] Call connect() before sending an email with smtplib

2011-04-19 Thread Sandro Tosi
New submission from Sandro Tosi : Hi, following up http://mail.python.org/pipermail/docs/2011-April/003742.html here are a couple of patches to call connect() after smtplib.SMTP() and sendmail(). Patches are: 2.7: to be applied in 2.7 and merged into 3.1 3.2: to be applied in 3.2 and merged

[issue11883] Call connect() before sending an email with smtplib

2011-04-19 Thread Sandro Tosi
Changes by Sandro Tosi : Added file: http://bugs.python.org/file21732/smtp_connect-3.2.patch ___ Python tracker <http://bugs.python.org/issue11883> ___ ___ Python-bug

[issue11929] Improve usage of PEP8 in Docs/includes/*

2011-04-26 Thread Sandro Tosi
New submission from Sandro Tosi : Following up http://mail.python.org/pipermail/docs/2011-April/004032.html I made a run of pep8 on Doc/includes/ py files. i've prepared a patch against default; if it's considered worth I can prepare patches for the other branches (for sure 2

[issue11940] Howto/Advocacy - update the link to John Ousterhout paper

2011-04-27 Thread Sandro Tosi
New submission from Sandro Tosi : Following up http://mail.python.org/pipermail/docs/2011-April/004031.html here's a patch to update the link to John Ousterhout paper. It can be applied on all active branches. -- assignee: docs@python components: Documentation

[issue11942] Fix signature of Py_AddPendingCall

2011-04-27 Thread Sandro Tosi
New submission from Sandro Tosi : Following up with http://mail.python.org/pipermail/docs/2011-April/004021.html here's a couple of patch (the first for 2.7/3.1, the other for 3.2/default) to fix the signature of Py_AddPendingCall (in particular the return type). Adding in CC Ezio sin

[issue11942] Fix signature of Py_AddPendingCall

2011-04-27 Thread Sandro Tosi
Changes by Sandro Tosi : Added file: http://bugs.python.org/file21814/py_addpendingcall-py32.patch ___ Python tracker <http://bugs.python.org/issue11942> ___ ___ Pytho

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-04-28 Thread Sandro Tosi
New submission from Sandro Tosi : Following up http://mail.python.org/pipermail/docs/2011-April/004029.html here's a small patch (applicable on all the active branches) to "actually" :) connects the two paragraphs about modules search path. -- assignee: docs@py

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-04-29 Thread Sandro Tosi
Sandro Tosi added the comment: Hi Raymond, thanks for looking into it! What do you think of this patch? I tried to save what I think was nice in the first paragraph and collapse it into the second one. -- ___ Python tracker <h

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-04-29 Thread Sandro Tosi
Changes by Sandro Tosi : Added file: http://bugs.python.org/file21836/issue11948.patch ___ Python tracker <http://bugs.python.org/issue11948> ___ ___ Python-bugs-list m

[issue11049] add tests for test.support

2011-05-04 Thread Sandro Tosi
Changes by Sandro Tosi : -- nosy: +sandro.tosi ___ Python tracker <http://bugs.python.org/issue11049> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11015] Bring test.support docs up to date

2011-05-04 Thread Sandro Tosi
Changes by Sandro Tosi : -- nosy: +sandro.tosi ___ Python tracker <http://bugs.python.org/issue11015> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11015] Bring test.support docs up to date

2011-05-04 Thread Sandro Tosi
Sandro Tosi added the comment: Hi all, IIUIC we are left with issue11015.py3k.testdoc.1.patch) since issue11015.py3k.remove_fcmp.{1,2}.patch has been already applied on default. I just gave a look to the doc patch and it seems fine (it also applies without any warning on default). Eli, do

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-05-06 Thread Sandro Tosi
Sandro Tosi added the comment: Here's attached the patch including Terry's suggestion (gaah, sorry for this late reply). -- Added file: http://bugs.python.org/file21913/issue11948-v2.patch ___ Python tracker <http://bugs.python.o

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-05-09 Thread Sandro Tosi
Sandro Tosi added the comment: What about the attached (v3) patch? the "This allows...experts hands." part can be remove completely if can be mis-interpreted. -- Added file: http://bugs.python.org/file21944/issue11948-v3.patch ___ Pyth

[issue12043] Update shutil documentation

2011-05-09 Thread Sandro Tosi
New submission from Sandro Tosi : This issue is to keep track of the 'shutil' documentation update, since it seems to miss several information (in particular in comparison with the docstrings). I'll post patches as soon as I get them. -- assignee: docs@py

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-05-09 Thread Sandro Tosi
Sandro Tosi added the comment: Sorry Raymond for the bad editing, I was confused by thinking 'tutorial' is particularly meant for new-coming people. Anyhow, sorry again: I attach a patch removing the badworded part. Please let me know if anything else is missing or needs fixing.

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-05-09 Thread Sandro Tosi
Sandro Tosi added the comment: Raymond, thanks for explaining the reasoning behind your replies, it really helps me understand the "spirit" behind python :) That said, and trying to be a bit more pragmatical, what are the next steps to make this patch acceptable? It's kinda o

[issue11948] Tutorial/Modules - small fix to better clarify the modules search path

2011-05-11 Thread Sandro Tosi
Sandro Tosi added the comment: I first would like to apologize if my comments were interpreted like I'd like to do a poor quality job, that's actually the opposite! I just get caught by surprise how a simple change in a word to better join two paragraphs grows up like this -

[issue12061] Remove duplicate 'key functions' entry in Glossary

2011-05-11 Thread Sandro Tosi
New submission from Sandro Tosi : Hi, only on 2.7 there were 2 entries for 'key function': this patches remove the second occurrence, leaving that part of Glossary equals to the other branches. -- assignee: docs@python components: Documentation files: remove_duplicate_key

[issue12072] Missing parenthesis in c-api/buffer PyBuffer_FillContiguousStrides

2011-05-13 Thread Sandro Tosi
New submission from Sandro Tosi : Following up with http://mail.python.org/pipermail/docs/2011-April/004159.html here's a tiny patch to add a missing parenthesis. -- assignee: docs@python components: Documentation files: capi_buffer_PyBuffer_FillContiguousStrides-py27.patch key

[issue12043] Update shutil documentation

2011-05-13 Thread Sandro Tosi
Sandro Tosi added the comment: nope, from a quick glance at the docstrings text and what's on the ReST documentation - was I a bit too catastrophic? :) -- ___ Python tracker <http://bugs.python.org/is

[issue12092] Clarify sentence in tutorial

2011-05-16 Thread Sandro Tosi
New submission from Sandro Tosi : following up http://mail.python.org/pipermail/docs/2011-April/004161.html, it would be nice to have changeset 1811eb03ba00 applied in 2.7 (it's already there in 3.1, 3.2 and default). Added Georg to the nosy list since it's the author of th

[issue12093] Typo in struct unpacking example

2011-05-16 Thread Sandro Tosi
New submission from Sandro Tosi : following up http://mail.python.org/pipermail/docs/2011-April/004154.html and what was done in 1de718a31004, here's a tiny patch to correct that typo in 2.7 too. -- assignee: docs@python components: Documentation files: struct_unpack_record.

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

2010-12-02 Thread Sandro Tosi
New submission from Sandro Tosi : 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 Dec 02 21:51:06 2010

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

2010-12-02 Thread Sandro Tosi
Sandro Tosi 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 "", line 1, in AttributeError: '_dbm.dbm' object has no attribute 'item

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

2010-12-24 Thread Sandro Tosi
New submission from Sandro Tosi : 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, S

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

2010-12-25 Thread Sandro Tosi
New submission from Sandro Tosi : 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; there are som

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

2010-12-25 Thread Sandro Tosi
Sandro Tosi 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, I&#

[issue9361] Tests for leapdays in calendar.py module

2010-12-31 Thread Sandro Tosi
Sandro Tosi 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 be good to apply

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

2010-12-31 Thread Sandro Tosi
Sandro Tosi 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 -- nos

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

2010-12-31 Thread Sandro Tosi
Sandro Tosi 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 ___ P

[issue10270] Fix resource warnings in test_threading

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

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

2011-01-01 Thread Sandro Tosi
Sandro Tosi 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 ___ Pyth

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

2011-01-01 Thread Sandro Tosi
Sandro Tosi 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 optional argu

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

2011-01-01 Thread Sandro Tosi
Sandro Tosi 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/file2021

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

2011-01-01 Thread Sandro Tosi
Sandro Tosi 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: Python

[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 added the comment: Hi Amaury, Martin ack'ed the patch: is there something else you want to do? -- nosy: +sandro.tosi ___ Python tracker <http://bugs.python.org/i

[issue4662] posix module lacks several DeprecationWarning's

2011-01-01 Thread Sandro Tosi
Sandro Tosi 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

[issue4662] posix module lacks several DeprecationWarning's

2011-01-01 Thread Sandro Tosi
Changes by Sandro Tosi : -- versions: -Python 2.7 ___ Python tracker <http://bugs.python.org/issue4662> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4662] posix module lacks several DeprecationWarning's

2011-01-01 Thread Sandro Tosi
Changes by Sandro Tosi : -- versions: +Python 2.7 -Python 2.6 ___ Python tracker <http://bugs.python.org/issue4662> ___ ___ Python-bugs-list mailing list Unsub

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

2011-01-01 Thread Sandro Tosi
Sandro Tosi 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-dev/py3k/Modules

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

2011-01-01 Thread Sandro Tosi
Sandro Tosi 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 ___ P

[issue4662] posix module lacks several DeprecationWarning's

2011-01-02 Thread Sandro Tosi
Sandro Tosi 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 tracke

[issue1665333] Documentation missing for OptionGroup class in optparse

2011-01-02 Thread Sandro Tosi
Sandro Tosi 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 <http://bugs.python.org/issue1

[issue9554] test_argparse.py: use new unittest features

2011-01-04 Thread Sandro Tosi
Sandro Tosi 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: ->

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

2011-01-04 Thread Sandro Tosi
Sandro Tosi 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 a Fedora

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

2011-01-04 Thread Sandro Tosi
New submission from Sandro Tosi : 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.

[issue5485] pyexpat has no unit tests for UseForeignDTD functionality

2011-01-04 Thread Sandro Tosi
Sandro Tosi 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: +sandro.t

[issue5485] pyexpat has no unit tests for UseForeignDTD functionality

2011-01-05 Thread Sandro Tosi
Sandro Tosi 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 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 tra

[issue10848] Move test.regrtest from getopt to argparse

2011-01-06 Thread Sandro Tosi
Sandro Tosi 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 <http://bugs.python.org

[issue10849] Backport test/__main__

2011-01-06 Thread Sandro Tosi
Changes by Sandro Tosi : -- nosy: +sandro.tosi ___ Python tracker <http://bugs.python.org/issue10849> ___ ___ Python-bugs-list mailing list Unsubscribe:

<    1   2   3   4   5   >