[issue6417] multiprocessing Process examples: print and getppid

2010-10-07 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello, indentation problem has been fixed in r79901 and py3k syntax has been fixed in r74764. wrt os.getppid(), in the documentation it's stated that with 3.2 it added support for windows too: I'd like someone running a windows box (I don't

[issue6825] Minor documentation bug with os.path.split

2010-10-07 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello, I find the proposed text change good, and so here's a patch to add that in a bit different format (sorry it's quite of a mess, but I took the occasion to wrap that paragraph to 80th column). Regards, Sandro -- keywords

[issue6825] Minor documentation bug with os.path.split

2010-10-08 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hi Evan, all your comments make sense, so I prepared a new patch about it. I decided to go with the first option and adding a note about the possible different strings. Regards, Sandro -- versions: +Python 3.2 -Python 2.6 Added

[issue7642] [patch] Minor improvement in os.system doc

2010-10-08 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello, I took the freedom to refresh this patch, clarifying the first Val's addition (as requested by Éric) and reformat the whole system() section to wrap a column 80. Regards, Sandro -- nosy: +sandro.tosi Added file: http

[issue7642] [patch] Minor improvement in os.system doc

2010-10-08 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- versions: +Python 3.2 -Python 2.6, Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7642

[issue7771] dict view comparison methods are not documented

2010-10-08 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello, here attached a patch for this bug. I hope the format / = / == / != / = / is clearly understandable as an alternative sequence of different operations. Regards, Sandro -- keywords: +patch nosy: +sandro.tosi Added file: http

[issue7771] dict view comparison methods are not documented

2010-10-08 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello Raymond, thanks for the review. I've reworked the patch to refer to Collections.Set (but is there a way to make that reference a link to the description of Collections ABCs?) and so I've also removed all the examples, leaving only

[issue7771] dict view comparison methods are not documented

2010-10-09 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: gaah, sorry about that. I've prepared another patch that removes the '^' part and adds an example about that. About the reference to Collections.Set to be a link to the Collections page, do you think it's acceptable to define all

[issue3865] explain that profilers should be used for profiling, not benchmarking

2010-10-11 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello, Here's a patch that implement what's request by Fredrik. Regards, Sandro -- keywords: +patch nosy: +sandro.tosi Added file: http://bugs.python.org/file19188/issue3865-py3k.patch ___ Python

[issue6417] multiprocessing Process examples: print and getppid

2010-10-12 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Thanks Michael for checking it, this bug can be closed then, since all the points mentioned were already fixed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6417

[issue7287] import hook demo does not work

2010-10-13 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hi Benjamin, you are the author of r63966 (I know, it's quite old, sorry about that) where you removed Demo/imputil/importers.py : do you think Demo/imputil/knee.py is still something interesting to have or should this be removed altogether

[issue9539] python-2.6.4: test failure in test_distutils due to linking to system libpython2.6

2010-10-13 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello, on an up-to-date 2.7 I can't replicate this bug: $ ./python Lib/test/regrtest.py test_distutils test_distutils 1 test OK. Is it just me or is been fixed already? -- nosy: +sandro.tosi versions: -Python 2.6

[issue7642] Minor improvement to os.system doc

2010-10-14 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: On Thu, Oct 14, 2010 at 08:36, Georg Brandl rep...@bugs.python.org wrote: Georg Brandl ge...@python.org added the comment: Unfortunately, the rewrap makes it much more complicated to see what  the patch changes (i.e. the whole second

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

2010-10-16 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: Hello, when trying to see if issue6661 was still valid, I run test_multiprocessing in a tight loop and I got it reproducibly stuck on test_make_pool: ... test_imap_unordered (test.test_multiprocessing.WithManagerTestPool) ... ok

[issue9539] python-2.6.4: test failure in test_distutils due to linking to system libpython2.6

2010-10-18 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: On Mon, Oct 18, 2010 at 15:29, Éric Araujo rep...@bugs.python.org wrote: Éric Araujo mer...@netwok.org added the comment: Sandro, this is only reproducible on systems without python - so by definition, you can hit this only during

[issue6460] test failure in test_xmlrpc on Gentoo in trunk

2010-10-19 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello, can we consider this bug as fixed? test has been fixed, buildbots don't show this problem anymore and a run on my system with 300 instances of the test_xmlrpc running in parallel generated only OK as result. Regards, Sandro

[issue7096] test_curses fails on 3.1 when run under regrtest

2010-10-19 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: mh, 3 months and no taker, let's close it? :) -- nosy: +sandro.tosi ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7096

[issue9791] nntplib.py lacks a test suite

2010-10-19 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello, in r85111 Antoine revamped nntplib modules, making it compatible with Python 3, improving its documentation and also adding a test suite. I'm marking this bug as closed/accepted; Giampaolo, if you feel you still want to work

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

2010-10-20 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: just for the reference, the loop I ran was: while date ; do ./python Lib/test/regrtest.py -v test_multiprocessing ; done -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue8332] regrtest single TestClass/test_method

2010-10-28 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello, as explained in msg108109 (of issue9028) you can actually call a single test, or a single TestClass: $ ./python -m unittest test.test_httpservers.BaseHTTPServerTestCase.test_handler

[issue6661] Transient test_multiprocessing failure (test_active_children)

2010-10-28 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello, what can we do with this issue? It doesn't seem it happened again after Antoine's report (or at least no-one had followed it up) and it doesn't happen nowdays (f.e. I exec'd test_multiprocessing in a loop for some time, and no error

[issue6661] Transient test_multiprocessing failure (test_active_children)

2010-10-28 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: well, at least we have a confirmation it's still there :) any idea how we can try to debug it? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6661

[issue7547] test_timeout should skip, not fail, when the remote host is not available

2010-10-29 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello, as discussed on irc, I'm proposing a patch that: - wraps the test with support.transient_internet - limits the assert to only socket.timeout (what we want to test) test_smptnet.py is already fixed, since it already uses

[issue3699] test_bigaddrspace broken

2010-11-03 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: After quite a bit of discussion with Antoine on IRC, here it is a preliminary patch: it uses byte instead of string, but at least it works :) I'll work on a string (additional) test class hopefully tomorrow -- keywords: +patch nosy

[issue3699] test_bigaddrspace broken

2010-11-04 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: The attached patch implements the same tests of byte for string objects. -- assignee: - sandro.tosi stage: - patch review Added file: http://bugs.python.org/file19497/issue3699-py3k-v2.patch

[issue11363] Curses - add missing functions to doc

2011-03-01 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: 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

[issue11363] Curses - add missing functions to doc

2011-03-01 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: On Tue, Mar 1, 2011 at 19:50, Sandro Tosi rep...@bugs.python.org wrote: New submission from Sandro Tosi sandro.t...@gmail.com: Following up http://mail.python.org/pipermail/docs/2011-January/002922.html , I did a check on all

[issue11392] Turtle - better explain 'chaos' demo

2011-03-03 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: 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 sandro.t...@gmail.com 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

[issue10617] Collections ABCs can’t be linked to

2011-03-08 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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 .. class

[issue11009] urllib.splituser is not documented

2011-03-08 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- nosy: +sandro.tosi versions: +Python 2.7, Python 3.2, Python 3.3 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11009

[issue10617] Collections ABCs can’t be linked to

2011-03-09 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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 rep...@bugs.python.org http

[issue11009] urllib.splituser is not documented

2011-03-11 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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

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

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

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

2011-03-22 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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 rep

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

2011-03-24 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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

[issue11699] Documentation for get_option_group is wrong

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

[issue1571878] Improvements to socket module exceptions

2011-03-28 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- nosy: +sandro.tosi versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1571878

[issue1571878] Improvements to socket module exceptions

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

[issue10632] multiprocessing generates a fatal error

2011-03-28 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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

[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 sandro.t...@gmail.com 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: +sandro.tosi

[issue10632] multiprocessing generates a fatal error

2011-03-28 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: can we close this issue then? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10632

[issue8624] Aliasing warnings in multiprocessing.c

2011-03-28 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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 rep

[issue9067] Use macros from pyctype.h

2011-03-28 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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

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

2011-03-29 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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

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

2011-03-29 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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

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

2011-03-29 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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 filesdirs 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 sandro.t...@gmail.com 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

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

2011-03-29 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: that's great, closing then :) -- resolution: - out of date stage: needs patch - status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7124

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

2011-03-30 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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 = open('foo', 'rb') print(f.read1(1

[issue10234] ResourceWarnings in test_subprocess

2011-03-30 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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

[issue11715] Building Python on multiarch Debian and Ubuntu

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

[issue10023] test_lib2to3 leaks under 3.1

2011-04-04 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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 - closed

[issue10339] test_lib2to3 leaks

2011-04-04 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: closing like issue10023 -- nosy: +sandro.tosi resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10339

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

2011-04-12 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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 sandro.t...@gmail.com: Added file: http://bugs.python.org/file21631/issue10019-py3.1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10019

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

2011-04-12 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: Added file: http://bugs.python.org/file21632/issue10019-py2.7.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10019

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

2011-04-12 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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 rep...@bugs.python.org http://bugs.python.org/issue10019

[issue11840] Improvements to c-api/unicode documentation

2011-04-12 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: 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

[issue11840] Improvements to c-api/unicode documentation

2011-04-12 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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 sandro.t...@gmail.com added the comment: On Tue, Apr 12, 2011 at 23:34, Marc-Andre Lemburg rep...@bugs.python.org wrote: Sandro Tosi wrote: Sandro Tosi sandro.t...@gmail.com added the comment: In addition, is there a reason for the sorting of UTF-8 UTF-32 UTF-16 and UTF-7

[issue11840] Improvements to c-api/unicode documentation

2011-04-13 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: On Tue, Apr 12, 2011 at 23:56, Marc-Andre Lemburg rep...@bugs.python.org wrote: Marc-Andre Lemburg m...@egenix.com added the comment: I think you misunderstood: when reorganizing the contents of a file, it's better to apply the patch to all

[issue11840] Improvements to c-api/unicode documentation

2011-04-13 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: Added file: http://bugs.python.org/file21657/unicode_doc-2.7.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11840

[issue11840] Improvements to c-api/unicode documentation

2011-04-13 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: Added file: http://bugs.python.org/file21658/unicode_doc-3.1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11840

[issue11840] Improvements to c-api/unicode documentation

2011-04-13 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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

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

2011-04-14 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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

[issue10605] ElementTree documentation

2011-04-14 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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

[issue8326] Cannot import name SemLock on Ubuntu

2011-04-14 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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

[issue11844] Update json to upstream simplejson latest release

2011-04-14 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: 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

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

2011-04-19 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: 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

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

2011-04-19 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: Added file: http://bugs.python.org/file21732/smtp_connect-3.2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11883

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

2011-04-26 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: 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

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

2011-04-27 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: 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 sandro.t...@gmail.com: 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

[issue11942] Fix signature of Py_AddPendingCall

2011-04-27 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: Added file: http://bugs.python.org/file21814/py_addpendingcall-py32.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11942

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

2011-04-28 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: 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@python

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

2011-04-29 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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

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

2011-04-29 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: Added file: http://bugs.python.org/file21836/issue11948.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11948

[issue11049] add tests for test.support

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

[issue11015] Bring test.support docs up to date

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

[issue11015] Bring test.support docs up to date

2011-05-04 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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

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

2011-05-06 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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 rep

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

2011-05-09 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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

[issue12043] Update shutil documentation

2011-05-09 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: 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@python

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

2011-05-09 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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

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

2011-05-09 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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

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

2011-05-11 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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

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

2011-05-11 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: 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

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

2011-05-13 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: 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

[issue12043] Update shutil documentation

2011-05-13 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com 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 rep...@bugs.python.org http://bugs.python.org

[issue12092] Clarify sentence in tutorial

2011-05-16 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: 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

[issue12093] Typo in struct unpacking example

2011-05-16 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: 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

[issue12191] Shutil - add chown() in order to allow to use user and group name (and not only uid/gid)

2011-05-26 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: Hi, following up the discussion on http://mail.python.org/pipermail/python-dev/2011-May/111642.html here'a patch to introduce shutil.chown() along with doc, tests and a change in os doc to link to the new function (I also took

[issue12191] Shutil - add chown() in order to allow to use user and group name (and not only uid/gid)

2011-05-26 Thread Sandro Tosi
Changes by Sandro Tosi sandro.t...@gmail.com: -- versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12191 ___ ___ Python-bugs

[issue12191] Add shutil.chown to allow to use user and group name (and not only uid/gid)

2011-05-30 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: @Eric: ok, I was just asking given the unusual situation 2.7 is (i.e. a very long support series), but it's perfectly fine not to backport the feature. @Charles-François: I changed a bit the logic: I check for 'None' at first, since

[issue12228] Stat doc - fix swap of UF_OPAQUE and UF_NOUNLINK description

2011-05-31 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: Following http://mail.python.org/pipermail/docs/2011-May/004429.html, here's a patch that fix the swap of those 2 flags description; it applies cleanly (except for some offset) on 2.7, 3.1, 3.2 and default. -- assignee: docs

[issue10772] Several actions for argparse arguments missing from docs

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

[issue1234674] filecmp.cmp's shallow option

2011-10-31 Thread Sandro Tosi
Sandro Tosi sandro.t...@gmail.com added the comment: Hello, we recently received a this message on docs@ : http://mail.python.org/pipermail/docs/2011-October/006121.html that's actually related to this issue: how can we move it forward? -- nosy: +sandro.tosi versions: +Python 3.3

[issue13302] Clarification needed in C API arg parsing

2011-10-31 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: Hello, given I can't fully comprehend the user request (sent on docs@ as of http://mail.python.org/pipermail/docs/2011-September/005791.html), I'm just echoing it : recently I embedded Python into one of my applications, which included

[issue13478] No documentation for timeit.default_timer

2011-11-25 Thread Sandro Tosi
New submission from Sandro Tosi sandro.t...@gmail.com: Hello, timeit documentation doesn't mention default_timer, while the module exposes it publicly and there's code snippets on the web using it. It should be documented then. ps: adding Georg to nosy as per Experts list

<    1   2   3   4   5   >