[issue12677] Turtle, fix right/left rotation orientation

2011-08-04 Thread Sandro Tosi
Sandro Tosi added the comment: As mentioned by Ezio, and I also verified myself, mode() doesn't influence the orientation on left()/right() methods (probably it affects some other functs?). Following was Ezio and I discussed on IRC, I've updated the 2 patches to add a small not

[issue12677] Turtle, fix right/left rotation orientation

2011-08-04 Thread Sandro Tosi
Changes by Sandro Tosi : Added file: http://bugs.python.org/file22835/turtle_right-2.7-v2.patch ___ Python tracker <http://bugs.python.org/issue12677> ___ ___ Python-bug

[issue11572] bring Lib/copy.py to 100% coverage

2011-08-04 Thread Sandro Tosi
Sandro Tosi added the comment: Hi Brandon, I really like to see your patch applied, let's see what I can do (I also added Ezio in the loop). I think you only addressed half of msg132140 : could you please have a look at the first Éric's question? Also, still Éric made a comment o

[issue12691] tokenize.untokenize is broken

2011-08-04 Thread Sandro Tosi
Sandro Tosi added the comment: Hi Gareth, would you like to provide a patch to fix the bug you spotted and add the relative case into the testsuite? -- nosy: +sandro.tosi ___ Python tracker <http://bugs.python.org/issue12

[issue11572] bring Lib/copy.py to 100% coverage

2011-08-04 Thread Sandro Tosi
Sandro Tosi added the comment: After a quick chat with Ezio, we tried to revert the changes to copy.py while keeping the ones on test, and the test suite passes. The next steps would probably be to just commit the diff for test_copy.py and see if the changes on copy.py are really worth

[issue12691] tokenize.untokenize is broken

2011-08-04 Thread Sandro Tosi
Sandro Tosi added the comment: The general rule would be to have separate patches. But in this case, if we have interdipendent changes, then those should be "packed" in a single patch (f.e. if changes to tokenize break untokenize, than those parts should

[issue12326] Linux 3: code should avoid using sys.platform == 'linux2'

2011-08-05 Thread Sandro Tosi
Sandro Tosi added the comment: On Mon, Jul 25, 2011 at 13:50, Éric Araujo wrote: > Éric Araujo added the comment: > > FTR, for Debian and derivatives, doko chose to use 'linux2' when building on > linux3. Luckily that has just been reverted. ---

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

2011-08-05 Thread Sandro Tosi
Changes by Sandro Tosi : Added file: http://bugs.python.org/file22841/shutil_chown-default-v5.patch ___ Python tracker <http://bugs.python.org/issue12191> ___ ___ Pytho

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

2011-08-05 Thread Sandro Tosi
Changes by Sandro Tosi : Removed file: http://bugs.python.org/file22675/shutil_chown-default-v5.patch ___ Python tracker <http://bugs.python.org/issue12191> ___ ___ Pytho

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

2011-08-05 Thread Sandro Tosi
Sandro Tosi added the comment: Gaaah, sorry about that: I've just uploaded the correct fifth version. -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/is

[issue11572] bring Lib/copy.py to 100% coverage

2011-08-05 Thread Sandro Tosi
Sandro Tosi added the comment: Brandon, thanks for your work on this patch! I've just committed the unittests update+removal of _test() part. For the remaining part, I see that Nick and you worked on it during a sprint, so I'm quite sure it's fine, but nonetheless it would be

[issue12675] tokenize module happily tokenizes code with syntax errors

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

[issue11047] Bad description for an entry in whatsnew/2.7

2011-08-05 Thread Sandro Tosi
Sandro Tosi added the comment: Hello, the patch seems indeed to fix a "reverse" description of issue 7902. Was there a reason (given the quite long list of nosy people) why it was not applied? "lack of time" doesn't count :) -- nosy: +ezio.melotti, sand

[issue12256] Link isinstance/issubclass doc to abc module

2011-08-05 Thread Sandro Tosi
Sandro Tosi added the comment: I think the patch is fine to apply. -- nosy: +ezio.melotti, sandro.tosi stage: patch review -> commit review ___ Python tracker <http://bugs.python.org/issu

[issue11481] The copy module already uses copyreg

2011-08-05 Thread Sandro Tosi
Sandro Tosi added the comment: A quick reword could be the one attached. -- keywords: +patch nosy: +ezio.melotti, sandro.tosi stage: -> patch review versions: +Python 2.7 -Python 3.1 Added file: http://bugs.python.org/file22843/issue11481.pa

[issue11572] bring Lib/copy.py to 100% coverage

2011-08-06 Thread Sandro Tosi
Sandro Tosi added the comment: JFTR, the same kind of check of __reduce_ex__ and then falling back on __reduce__ is prenset in pickle too: maybe it's worth align them? -- ___ Python tracker <http://bugs.python.org/is

[issue11481] The copy module already uses copyreg

2011-08-06 Thread Sandro Tosi
Sandro Tosi added the comment: After quite a long chat with Ezio, I'm just proposing this updated patch: - it fixes the copy doc, explicitly acknowledging the use of copyreg functionalities - it rewords the first paragraph of copyreg doc, which was a bit too pickle-centric - it ad

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

2011-08-07 Thread Sandro Tosi
Sandro Tosi added the comment: grepping over the stdlib, LookupError is only used in codecs exception; also the documentation of LE is "The base class for the exceptions that are raised when a key or index used on a mapping or sequence is invalid: IndexError, KeyError. This can be r

[issue12677] Turtle, fix right/left rotation orientation

2011-08-07 Thread Sandro Tosi
Changes by Sandro Tosi : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue10741] PyGILState_GetThisThreadState() lacks a doc entry

2011-08-07 Thread Sandro Tosi
Sandro Tosi added the comment: Here attached a very simple patch, made by slightly re-editing the comment in pystate.h. -- keywords: +patch nosy: +ezio.melotti, sandro.tosi stage: -> patch review versions: +Python 3.3 -Python 3.1 Added file: http://bugs.python.org/file22

[issue10741] PyGILState_GetThisThreadState() lacks a doc entry

2011-08-07 Thread Sandro Tosi
Sandro Tosi added the comment: I just committed an improved version of the proposed patch (thanks Ezio for the review and help!). -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python track

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

2011-08-07 Thread Sandro Tosi
Sandro Tosi added the comment: On Mon, Aug 8, 2011 at 00:12, R. David Murray wrote: > > R. David Murray added the comment: > > Well, you could consider codecs an example in the stdlib of using it, and the > doc could be changed to something like "stdlib modules that look

[issue12709] In multiprocessing, error_callback isn't documented for map_async

2011-08-08 Thread Sandro Tosi
Sandro Tosi added the comment: Would you like to provide a doc patch about it? Thanks in advance -- nosy: +sandro.tosi stage: -> needs patch versions: +Python 2.7, Python 3.2, Python 3.3 -Python 3.4 ___ Python tracker <http://bugs.pyth

[issue12710] GTK crash

2011-08-08 Thread Sandro Tosi
Sandro Tosi added the comment: Hello, this is not a but in the python interpreter (f.e., the traceback in the image is referring to twisted) so I'm closing it as invalid. The best way of action is contacting the deluge developers, as you did with the other report. --

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2011-08-08 Thread Sandro Tosi
Sandro Tosi added the comment: Here's a patch to add SimpleQueue to doc and __all__ . I didn't document the 'sentinels' argument of SimpleQueue.get() because I got lost into Pipe _pool and can't understand how those sentinels are actually used/useful

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2011-08-08 Thread Sandro Tosi
Changes by Sandro Tosi : -- keywords: +patch Added file: http://bugs.python.org/file22863/issue11836-default.patch ___ Python tracker <http://bugs.python.org/issue11

[issue12709] In multiprocessing, error_callback isn't documented for map_async

2011-08-08 Thread Sandro Tosi
Sandro Tosi added the comment: Hynek, thanks for your contribution to Python! -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

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

2011-08-08 Thread Sandro Tosi
Sandro Tosi added the comment: after a review from Ezio (thanks!) we've come out with this updated patch; main changes are in the test suite, where now it's checked that chown() succeed. about !r/!a I've left !r; and changed the 2 ValueError in LookupError (the first, in ca

[issue12326] Linux 3: code should avoid using sys.platform == 'linux2'

2011-08-16 Thread Sandro Tosi
Sandro Tosi added the comment: On Tue, Aug 16, 2011 at 16:21, Barry A. Warsaw wrote: > > Barry A. Warsaw added the comment: > > @Sandro: > >>> FTR, for Debian and derivatives, doko chose to use 'linux2' when building >>> on linux3. > >>

[issue12761] Typo in Doc/license.rst

2011-08-16 Thread Sandro Tosi
Changes by Sandro Tosi : -- nosy: +ezio.melotti, sandro.tosi stage: -> commit review versions: +Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issu

[issue12761] Typo in Doc/license.rst

2011-08-16 Thread Sandro Tosi
Sandro Tosi added the comment: Thanks Jakub for the report and Gennadiy for the patch (that I applied on all the active braches). -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python track

[issue12761] Typo in Doc/license.rst

2011-08-18 Thread Sandro Tosi
Sandro Tosi added the comment: After a closer look (thanks Ezio), the proper patch should be something like: diff --git a/Doc/license.rst b/Doc/license.rst --- a/Doc/license.rst +++ b/Doc/license.rst @@ -874,9 +874,8 @@ zlib -The :mod:`zlib` extension is built using an included copy

[issue12781] Mention SO_REUSEADDR near socket doc examples

2011-08-18 Thread Sandro Tosi
New submission from Sandro Tosi : Following up http://mail.python.org/pipermail/docs/2011-April/004025.html here's a patch to add a notice about SO_REUSEADDR after the examples, so even re-running several times and getting that error, wont scare anyone. -- assignee: docs@p

[issue12781] Mention SO_REUSEADDR near socket doc examples

2011-08-19 Thread Sandro Tosi
Sandro Tosi added the comment: Sure it could be a solution, but I didn't go that way since it *may* complicate the example (which I see a something to get quick ready to test some code, there's always time for improvements later). I'm

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

2011-08-19 Thread Sandro Tosi
Sandro Tosi added the comment: version 7 here we come :) I've addressed Eric's commenta on rietveld (all but one, I need input from him) and also updated the tests for new helper functions. -- Added file: http://bugs.python.org/file22949/shutil_chown-defaul

[issue12787] xmlrpc.client documentation (MultiCall Objects) points to a broken link

2011-08-19 Thread Sandro Tosi
New submission from Sandro Tosi : following up http://mail.python.org/pipermail/docs/2011-March/003506.html , I verified that indeed http://www.xmlrpc.com/discuss/msgReader$1208 is broken. I wrote to d...@scripting.com (the address you get when viewing http://www.xmlrpc.com/discuss/) on

[issue12787] xmlrpc.client documentation (MultiCall Objects) points to a broken link

2011-08-20 Thread Sandro Tosi
Sandro Tosi added the comment: Thanks Ezio for the suggestions. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue12798] Update mimetypes documentation

2011-08-20 Thread Sandro Tosi
New submission from Sandro Tosi : Following http://mail.python.org/pipermail/docs/2011-June/004727.html I've updated the mimetypes module doc. Some changes I would like to do (but I didn't, since I'd like to hear comments): - move the example of the module before the definiti

[issue5301] add mimetype for image/vnd.microsoft.icon (patch)

2011-08-20 Thread Sandro Tosi
Sandro Tosi added the comment: Thanks Drew for the issue and the patch: it has now been committed on all the active branches! -- assignee: -> sandro.tosi nosy: +sandro.tosi resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions:

[issue11362] image/webp missing from mimetypes.py

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

[issue1043134] Add preferred extensions for MIME types

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

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

2011-08-22 Thread Sandro Tosi
Sandro Tosi added the comment: At last, it's in :) thanks a lot to all the people that helped me in the process! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http:

[issue12409] Moving "Documenting Python" to Devguide

2011-08-22 Thread Sandro Tosi
Changes by Sandro Tosi : Removed file: http://bugs.python.org/file23005/unnamed ___ Python tracker <http://bugs.python.org/issue12409> ___ ___ Python-bugs-list mailin

[issue12409] Moving "Documenting Python" to Devguide

2011-08-22 Thread Sandro Tosi
Sandro Tosi added the comment: @Fred: thanks about it :) @Éric: I just want to have clear in mind what you mean; my original proposal was to move completely, the whole section "Documenting python" to devguide since it contains building instructions and how's the markup works

[issue12828] xml.dom.minicompat is not documented

2011-08-23 Thread Sandro Tosi
New submission from Sandro Tosi : There's no documentation for xml.dom.minicompat - it's a public module and it should have (even a brief) doc. -- assignee: docs@python components: Documentation messages: 142845 nosy: docs@python, sandro.tosi priority: normal severity: nor

[issue12828] xml.dom.minicompat is not documented

2011-08-23 Thread Sandro Tosi
Sandro Tosi added the comment: > Éric Araujo added the comment: > > I’m not sure at all this module should be treated as anything but an internal > detail.  The docstring of xml.dom only mentions two submodules. If it's an implementation detail, then probably a small refere

[issue12820] Tests for Lib/xml/dom/minicompat.py

2011-08-23 Thread Sandro Tosi
Sandro Tosi added the comment: Hi, I just left a very light review on rietveld (the 'review' link below). I think in the next run you can add the tests for defproperty. Thanks for working on code coverage! -- nosy: +ezio.melotti, sandro.tosi stage: ->

[issue12798] Update mimetypes documentation

2011-08-23 Thread Sandro Tosi
Sandro Tosi added the comment: Here attached a new patch incorporating Ezio & Eric suggestions. -- Added file: http://bugs.python.org/file23021/mimetypes_doc_update-v2.patch ___ Python tracker <http://bugs.python.org/iss

[issue12781] Mention SO_REUSEADDR near socket doc examples

2011-09-02 Thread Sandro Tosi
Changes by Sandro Tosi : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue12887] Documenting all SO_* constants in socket module

2011-09-02 Thread Sandro Tosi
New submission from Sandro Tosi : spinning off msg142613 - it would be interesting to have in the socket module documentation also an explanation of all the several SO_ flags available; even a compact table could be ok; or even a link to a remote reference for them. -- assignee: docs

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

2010-09-25 Thread Sandro Tosi
Sandro Tosi 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 <http://bugs.python.

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

2010-09-25 Thread Sandro Tosi
Sandro Tosi 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 fil

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

2010-09-25 Thread Sandro Tosi
Sandro Tosi 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 -- keywords: +

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

2010-09-25 Thread Sandro Tosi
Sandro Tosi 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 <http://bugs.python.org/issue9

[issue6031] BaseServer.shutdown documentation is incomplete

2010-09-26 Thread Sandro Tosi
Sandro Tosi 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: http://b

[issue8158] documentation of 'optparse' module incomplete

2010-09-27 Thread Sandro Tosi
Sandro Tosi 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 tracker <h

[issue8158] documentation of 'optparse' module incomplete

2010-09-27 Thread Sandro Tosi
Sandro Tosi 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 I'll

[issue1665333] Documentation missing for OptionGroup class in optparse

2010-09-27 Thread Sandro Tosi
Sandro Tosi added the comment: I will work on it, it noone objects. Cheers, Sandro -- nosy: +sandro.tosi ___ Python tracker <http://bugs.python.org/issue1665

[issue1665333] Documentation missing for OptionGroup class in optparse

2010-09-28 Thread Sandro Tosi
Sandro Tosi 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 wi

[issue1665333] Documentation missing for OptionGroup class in optparse

2010-09-28 Thread Sandro Tosi
Sandro Tosi 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 <http://bugs.python.org/issue1665

[issue6253] optparse.OptionParser.get_usage uses wrong formatter

2010-09-30 Thread Sandro Tosi
Sandro Tosi 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 st

[issue9112] argparse missing documentation for error() method

2010-09-30 Thread Sandro Tosi
Sandro Tosi 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 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 ___ Python

[issue5501] Update multiprocessing docs re: freeze_support

2010-10-01 Thread Sandro Tosi
Sandro Tosi 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 <http://bugs.python.org/i

[issue5088] optparse: inconsistent default value for append actions

2010-10-04 Thread Sandro Tosi
Sandro Tosi 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 (either

[issue5501] Update multiprocessing docs re: freeze_support

2010-10-04 Thread Sandro Tosi
Sandro Tosi 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 <http

[issue9093] Tools/README is out of date

2010-10-04 Thread Sandro Tosi
Sandro Tosi 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 added the comment: On Mon, Oct 4, 2010 at 20:18, Éric Araujo wrote: > Éric Araujo 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 remember what it is.  Your

[issue7285] multiprocessing module, example code error

2010-10-07 Thread Sandro Tosi
Sandro Tosi 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 authkey that it

[issue6417] multiprocessing Process examples: print and getppid

2010-10-07 Thread Sandro Tosi
Sandro Tosi 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 hav

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

2010-10-07 Thread Sandro Tosi
Sandro Tosi 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: +patch nosy: +s

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

2010-10-08 Thread Sandro Tosi
Sandro Tosi 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 file: http

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

2010-10-08 Thread Sandro Tosi
Sandro Tosi 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://bugs.python.org/file

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

2010-10-08 Thread Sandro Tosi
Changes by Sandro Tosi : -- versions: +Python 3.2 -Python 2.6, Python 2.7 ___ Python tracker <http://bugs.python.org/issue7642> ___ ___ Python-bugs-list mailin

[issue7771] dict view comparison methods are not documented

2010-10-08 Thread Sandro Tosi
Sandro Tosi 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

[issue7771] dict view comparison methods are not documented

2010-10-08 Thread Sandro Tosi
Sandro Tosi 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 the one for &#

[issue7771] dict view comparison methods are not documented

2010-10-09 Thread Sandro Tosi
Sandro Tosi 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 the Colle

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

2010-10-11 Thread Sandro Tosi
Sandro Tosi 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 trac

[issue6417] multiprocessing Process examples: print and getppid

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

[issue7287] import hook demo does not work

2010-10-13 Thread Sandro Tosi
Sandro Tosi 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? In case it&#x

[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 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: -Pytho

[issue7642] Minor improvement to os.system doc

2010-10-13 Thread Sandro Tosi
Sandro Tosi added the comment: On Thu, Oct 14, 2010 at 08:36, Georg Brandl wrote: > > Georg Brandl added the comment: > > Unfortunately, the rewrap makes it much more complicated to see what  the > patch changes (i.e. the whole second part of the hunk only adds Windows >

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

2010-10-16 Thread Sandro Tosi
New submission from Sandro Tosi : 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 test_make_pool

[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 added the comment: On Mon, Oct 18, 2010 at 15:29, Éric Araujo wrote: > Éric Araujo added the comment: >> Sandro, this is only reproducible on systems without python >>- so by definition, you can hit this only during installation > > Hm, Sandro didn’t say wh

[issue6460] test failure in test_xmlrpc on Gentoo in trunk

2010-10-19 Thread Sandro Tosi
Sandro Tosi 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 -- nosy: +sandro

[issue7096] test_curses fails on 3.1 when run under regrtest

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

[issue9791] nntplib.py lacks a test suite

2010-10-19 Thread Sandro Tosi
Sandro Tosi 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 on the test suite (I ad

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

2010-10-20 Thread Sandro Tosi
Sandro Tosi 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 <http://bugs.python.org/issue10

[issue8332] regrtest single TestClass/test_method

2010-10-28 Thread Sandro Tosi
Sandro Tosi 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 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 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 <http://bugs.python.org/i

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

2010-10-29 Thread Sandro Tosi
Sandro Tosi 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 support.transient_int

[issue3699] test_bigaddrspace broken

2010-11-03 Thread Sandro Tosi
Sandro Tosi 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: +sandro.tosi

[issue3699] test_bigaddrspace broken

2010-11-04 Thread Sandro Tosi
Sandro Tosi 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 ___ Python t

[issue11292] Curses - add A_REVERSE to attributes table

2011-02-22 Thread Sandro Tosi
New submission from Sandro Tosi : 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: patch messages: 1

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

2011-02-22 Thread Sandro Tosi
New submission from Sandro Tosi : 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-file-py3k.

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

2011-02-22 Thread Sandro Tosi
New submission from Sandro Tosi : 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_} descriptions are written (are not a native to know if it's better 'a date' or 'da

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

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

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

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

[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 : -- assignee: sandro.tosi -> docs@python nosy: +docs@python ___ Python tracker <http://bugs.python.org/issue11232> ___ ___ Python-

<    1   2   3   4   5   >