[issue13030] Be more generic when identifying the Windows main dir in installation doc
New submission from Sandro Tosi : Given I have no knowledge of the windows system, I'm just proxying http://mail.python.org/pipermail/docs/2011-September/005793.html : >>> Under: http://docs.python.org/install/index.html#inst-how-install-works It notes "Windows prefix\Lib\site-packages C:\PythonXY\Lib\site-packages" for default values on Windows. In the paragraph following the table is the text: "prefix and exec-prefix stand for the directories that Python is installed to, and where it finds its libraries at run-time. They are always the same under Windows, and very often the same under Unix and Mac OS X. " I don't know if it's hardcoded into Python distributions to use C, but it's not correct. The correct way to identify what most people think of as C is via the %SYSTEMROOT% environment variable, so the path described would be "%SYSTEMROOT%\PythonXY\Lib\site-packages" (This is still not the correct way to do things on Windows, but it at least shouldn't break on systems with a %SYSTEMROOT% other than C. I've seen configurations like that on systems which boot multiple versions of Windows.) <<< -- assignee: docs@python components: Documentation messages: 144422 nosy: brian.curtin, docs@python, sandro.tosi, tim.golden priority: normal severity: normal stage: needs patch status: open title: Be more generic when identifying the Windows main dir in installation doc type: behavior versions: Python 2.7, Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issue13030> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1234674] filecmp.cmp's "shallow" option
Sandro Tosi 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 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue1234674> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13302] Clarification needed in C API arg parsing
New submission from Sandro Tosi : 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 some string parsing. In my opinion the doc page about parsing arguments (http://docs.python.org/c-api/arg.html) is missing the information, that you must not free the returned const char *, like e.g. said here (http://docs.python.org/c-api/string.html#PyString_AsString). It was quite confusing for my first, so I would suggest adding this tiny bit of information. <<< -- assignee: docs@python components: Documentation messages: 146687 nosy: docs@python, sandro.tosi priority: normal severity: normal stage: needs patch status: open title: Clarification needed in C API arg parsing versions: Python 2.7, Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issue13302> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13478] No documentation for timeit.default_timer
New submission from Sandro Tosi : 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 -- assignee: docs@python components: Documentation messages: 148307 nosy: docs@python, georg.brandl, sandro.tosi priority: normal severity: normal stage: needs patch status: open title: No documentation for timeit.default_timer versions: Python 2.7, Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issue13478> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5364] documentation in epub format
Sandro Tosi added the comment: Hello James, please note that EPUB is already available for Python 3 documentation: http://docs.python.org/py3k/download.html . We will probably make it available also for 2.7 when I'll find the time to work on upgrading sphinx on 2.7 branch. -- nosy: +sandro.tosi ___ Python tracker <http://bugs.python.org/issue5364> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13359] urllib2 doesn't escape spaces in http requests
Changes by Sandro Tosi : -- nosy: +sandro.tosi ___ Python tracker <http://bugs.python.org/issue13359> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13663] pootle.python.org is outdated.
Sandro Tosi added the comment: Yeah, I really would like to help with pootle, but it seems we don't have a current status of the thing + a roadmap to where we want to go. >From the top of my head, I think we need at least: - the current setup of the machine/service - updated packages for pootle + its deps (it should be a debian machine, so I can leverage my DD status to help here) - plan the migration from the current pootle to the updated one - start advertise pootle, which is much better than having a lot of people translating python doc on their own websites instead of a central (official) place - maybe rename the service? -- ___ Python tracker <http://bugs.python.org/issue13663> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13689] fix CGI Web Applications with Python link in howto/urllib2
New submission from Sandro Tosi : Hi, as discussed on irc, howto/urllib2 refers to "CGI Web Applications with Python, Part One" on http://www.pyzine.com/Issue008/Section_Articles/article_CGIOne.html which is no more accessible. Given part two of that document is on Michael's website (http://www.voidspace.org.uk/python/articles/cgi_web_applications_two.shtml), maybe Michael could move Part One too so we can fix the broken link. -- assignee: michael.foord components: Documentation messages: 150421 nosy: michael.foord, sandro.tosi priority: normal severity: normal status: open title: fix CGI Web Applications with Python link in howto/urllib2 versions: Python 2.7, Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issue13689> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13683] Docs in Python 3:raise statement mistake
Changes by Sandro Tosi : -- nosy: +sandro.tosi resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.org/issue13683> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13690] Add DEBUG flag to documentation of re.compile
Changes by Sandro Tosi : -- assignee: -> docs@python components: +Documentation nosy: +docs@python, sandro.tosi resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 2.7, Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issue13690> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13680] Aifc comptype write fix
Changes by Sandro Tosi : -- nosy: +sandro.tosi resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.org/issue13680> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13640] add mimetype for application/vnd.apple.mpegurl
Sandro Tosi added the comment: I've also added 'm3u' which is the companion of 'm3u8'. -- nosy: +sandro.tosi resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.org/issue13640> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13594] Aifc markers write fix
Changes by Sandro Tosi : -- nosy: +sandro.tosi resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.org/issue13594> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13302] Clarification needed in C API arg parsing
Sandro Tosi added the comment: Thanks Antoine for the pointer. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed versions: -Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issue13302> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8245] email examples don't actually work (SMTP.connect is not called)
Sandro Tosi added the comment: This has already been fixed in issue11883 changing the SMTP constructor call. -- nosy: +sandro.tosi resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> Call connect() before sending an email with smtplib versions: +Python 2.7, Python 3.2, Python 3.3 -Python 2.6, Python 3.1 ___ Python tracker <http://bugs.python.org/issue8245> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9349] document argparse's help=SUPPRESS
Changes by Sandro Tosi : -- nosy: +sandro.tosi resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.3 ___ Python tracker <http://bugs.python.org/issue9349> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6031] BaseServer.shutdown documentation is incomplete
Sandro Tosi added the comment: yep indeed, I've removed the deadlock part and committed. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.3 -Python 3.1 ___ Python tracker <http://bugs.python.org/issue6031> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8416] python 2.6.5 documentation can't search
Sandro Tosi added the comment: Hi Georg, I've verified doc search works with 2.6.[467], so if the fix is so easy to just add that js, could you please give it a look? TIA -- nosy: +sandro.tosi ___ Python tracker <http://bugs.python.org/issue8416> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11648] openlog()s 'logopt' keyword broken in syslog module
Sandro Tosi added the comment: This has already been fixed with 71f7175e2b34 & friends. -- nosy: +sandro.tosi resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: -Python 3.4 ___ Python tracker <http://bugs.python.org/issue11648> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10772] Several actions for argparse arguments missing from docs
Sandro Tosi added the comment: Thanks Marc for the patch, I've just committed it. -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.org/issue10772> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11984] Wrong "See also" in symbol and token module docs
Sandro Tosi added the comment: Hi Davi, thanks for your report! I've removed the reference from symbol to parser, given this last module doesn't show anymore how to user symbol, and it's encouraging to use ast module instead. -- nosy: +sandro.tosi resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: -Python 3.1 ___ Python tracker <http://bugs.python.org/issue11984> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12042] What's New multiprocessing example error
Sandro Tosi added the comment: Thanks Davi for the report and Jordan for the patch! Jordan, a tip for your (hopefully) future contributions: for doc patches, please don't re-indent the whole paragraph, since it makes harder to identify the actual changes, just change what is needed, and the committer will take care (if needed) to re indent the paragraph. I've re-edited a bit and committed the fix in the active branches. -- nosy: +sandro.tosi resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: -Python 3.1 ___ Python tracker <http://bugs.python.org/issue12042> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12415] Missing: How to checkout the Doc sources
Sandro Tosi added the comment: Hi Éric, did you reconsider the text of the patch or this issue just passed under your radar? -- ___ Python tracker <http://bugs.python.org/issue12415> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13728] Description of -m and -c cli options wrong?
New submission from Sandro Tosi : Hi, looking at http://mail.python.org/pipermail/docs/2011-December/006672.html I tried to replicate what the user said, and *it seems* that -c and -m doesn't add the current directory to the start of sys.path: $ echo -e "import sys\nprint (sys.path)" > dummy.py ; ./python -mdummy ['', '/usr/local/lib/python27.zip', '/home/morph/cpython/py27/Lib', '/home/morph/cpython/py27/Lib/plat-linux2', '/home/morph/cpython/py27/Lib/lib-tk', '/home/morph/cpython/py27/Lib/lib-old', '/home/morph/cpython/py27/build/lib.linux-x86_64-2.7-pydebug', '/usr/local/lib/python2.7/site-packages'] and $ ./python -c "import dummy" ['', '/usr/local/lib/python27.zip', '/home/morph/cpython/py27/Lib', '/home/morph/cpython/py27/Lib/plat-linux2', '/home/morph/cpython/py27/Lib/lib-tk', '/home/morph/cpython/py27/Lib/lib-old', '/home/morph/cpython/py27/build/lib.linux-x86_64-2.7-pydebug', '/usr/local/lib/python2.7/site-packages'] the same sys.path as from the interactive shell: $ ./python Python 2.7.2+ (2.7:f0666e56a552, Jan 7 2012, 16:31:06) [GCC 4.6.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import sys [38650 refs] >>> sys.path ['', '/usr/local/lib/python27.zip', '/home/morph/cpython/py27/Lib', '/home/morph/cpython/py27/Lib/plat-linux2', '/home/morph/cpython/py27/Lib/lib-tk', '/home/morph/cpython/py27/Lib/lib-old', '/home/morph/cpython/py27/build/lib.linux-x86_64-2.7-pydebug', '/usr/local/lib/python2.7/site-packages'] [38657 refs] So, is http://docs.python.org/using/cmdline.html#interface-options correct in saying "he current directory will be added to the start of sys.path (allowing modules in that directory to be imported as top level modules)."? (and so forth for -m option?) am I confused? -- assignee: docs@python components: Documentation messages: 150802 nosy: docs@python, sandro.tosi priority: normal severity: normal stage: needs patch status: open title: Description of -m and -c cli options wrong? versions: Python 2.7, Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issue13728> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13729] Evaluation order for dics key/value
New submission from Sandro Tosi : Hello, following up http://mail.python.org/pipermail/docs/2011-December/006782.html , I'm opening this issue to have others confirmation of what's happening: echo -e "def ev(r):\nprint(r)\nreturn r\n\n{ev(1): ev(2), ev(3): ev(4)}" | ./python 2 1 4 3 (this applies for 2.7/3.2/default) so it seems the value expressions are evaluated before the key expressions, so the {expr1: expr2, expr3: expr4} in http://docs.python.org/reference/expressions.html#evaluation-order has to be updated in {expr2: expr1, expr4: expr3} Is that correct/can someone confirm this is the expected behavior? -- assignee: docs@python components: Documentation messages: 150804 nosy: docs@python, sandro.tosi priority: normal severity: normal stage: needs patch status: open title: Evaluation order for dics key/value versions: Python 2.7, Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issue13729> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13122] Out of date links in the sidebar of the documentation index of versions 3.1 and 3.2
Sandro Tosi added the comment: Hi all, how can we fix it? or better, should we fix it? From a user POV, it is a weird to see 3.1 doc referring to 3.2 doc as "in development" then clicking on that link, being redirect to 3.3a0 doc and see there that 3.2 is stable (with no reference back to 3.1). Maybe we can adjust the sidebar in 3.1 references and do a manual rebuild or just wait for another security release? maybe we can discuss a policy for such things and write it in stone (aka devguide). -- nosy: +sandro.tosi ___ Python tracker <http://bugs.python.org/issue13122> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13026] Dis module - documentation of MAKE_FUNCTION
Sandro Tosi added the comment: Hi Arnaud, would you like to provide a patch to update the MAKE_FUNCTION opcode description? That would speed up a bit the fix-up. Also, I don't have that clear what "For each keyword only default, ..." mean: are those the default values for keyword arguments? something else? Thanks in advance, Sandro -- nosy: +sandro.tosi stage: -> needs patch versions: +Python 3.2 ___ Python tracker <http://bugs.python.org/issue13026> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13743] xml.dom.minidom.Document class is not documented
New submission from Sandro Tosi : Hello, following up http://mail.python.org/pipermail/docs/2012-January/007026.html I noticed the whole Document class (and relative methods) is not documented. Maybe it is a choice to not document it, or maybe it's just a missing doc, dunno, the's why I'm opening this :) -- assignee: docs@python components: Documentation messages: 150935 nosy: docs@python, sandro.tosi priority: normal severity: normal stage: needs patch status: open title: xml.dom.minidom.Document class is not documented versions: Python 2.7, Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issue13743> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11205] Evaluation order of dictionary display is different from reference manual.
Changes by Sandro Tosi : -- nosy: +sandro.tosi ___ Python tracker <http://bugs.python.org/issue11205> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13762] missing section: how to contribute to devguide
Sandro Tosi added the comment: Hello Tshepang, The current section is at: http://docs.python.org/devguide/docquality.html#helping-with-the-developer-s-guide reachable from the mainpage looking for helping with documentation. it may be a little to condense but it is a good start (and it seems to cover the points you made in the issue): do you find it useful as it is? would you like to add something? -- nosy: +sandro.tosi ___ Python tracker <http://bugs.python.org/issue13762> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13762] missing section: how to contribute to devguide
Changes by Sandro Tosi : -- resolution: -> invalid ___ Python tracker <http://bugs.python.org/issue13762> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12409] Moving "Documenting Python" to Devguide
Sandro Tosi added the comment: Hi, i'm at last back with some work to show; I've integrated all the "Documenting python" doc into devguide, and the commits are in this sandbox: http://hg.python.org/sandbox/morph-devguide/shortlog/a92d431ef749 (`documenting` branch). I took the files from default branch and merged all of them in a single page. It might be a bit log, but it has the advantage (at least for me) that there you can find all the info you need for documenting python, a ctrl+f works and you don't need to follow tons of links to find what you're looking for. then I've removed all the info from default branch (here: http://hg.python.org/sandbox/morph/shortlog/e9a4276b19d4 in default-documenting branch) which left only documenting/index.rst as mainly a reference to the devguide. I don't know what would be the best way to handle this transition on the python doc side, maybe converting that to a simple Doc/documenting.rst as it's now index.rst? but what text to left? Comments are very welcome! -- stage: needs patch -> patch review ___ Python tracker <http://bugs.python.org/issue12409> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13681] Aifc read compressed frames fix
Sandro Tosi added the comment: Hi Oleg, thanks for your interest in aifc module! I think that if the fix for audioop has a reason for itself to exists, then another issue (for that only) has to be filed and set the accordingly dependency on this one. -- nosy: +sandro.tosi ___ Python tracker <http://bugs.python.org/issue13681> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13763] rm obsolete reference in devguide
Sandro Tosi added the comment: But we may explain what's behind: "after the mercury chemical element symbol" - what do you think? -- nosy: +sandro.tosi stage: -> patch review ___ Python tracker <http://bugs.python.org/issue13763> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12409] Moving "Documenting Python" to Devguide
Sandro Tosi added the comment: Sure, sorry I didn't make it before; here attached the 2 patches, one against devguide, the other to default cpython repo. -- keywords: +patch Added file: http://bugs.python.org/file24218/doc2devguide-devguide.patch ___ Python tracker <http://bugs.python.org/issue12409> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12409] Moving "Documenting Python" to Devguide
Changes by Sandro Tosi : Added file: http://bugs.python.org/file24219/doc2devguide-cpython.patch ___ Python tracker <http://bugs.python.org/issue12409> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12191] Shutil - add chown() in order to allow to use user and group name (and not only uid/gid)
New submission from Sandro Tosi : 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 the occasion to rewrap os.chown() doc text). As of now only the one-file function is implemented, let's see at a later time what's about for a recursive one. The patch was prepared against default, but it probably makes sense to backport it to 2.7? Any comment/suggestion is welcome! -- assignee: sandro.tosi components: Library (Lib) files: shutil_chown-default.patch keywords: patch messages: 137004 nosy: sandro.tosi priority: low severity: normal stage: patch review status: open title: Shutil - add chown() in order to allow to use user and group name (and not only uid/gid) type: feature request Added file: http://bugs.python.org/file22132/shutil_chown-default.patch ___ Python tracker <http://bugs.python.org/issue12191> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12191] Shutil - add chown() in order to allow to use user and group name (and not only uid/gid)
Changes by Sandro Tosi : -- versions: +Python 3.3 ___ Python tracker <http://bugs.python.org/issue12191> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12191] Add shutil.chown to allow to use user and group name (and not only uid/gid)
Sandro Tosi 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 it signals that we don't want to change the uid/gid, and then I recheck for None after _get_uid/gid, and only there raise a ValueError (is there a better exception for cases like this?) - what do you think about it? @Éric: re rewrap: I kinda find that almost every core dev has his opinion on this :) some don't want to rewrap, others are fine if you're touching that paragraph, and so on. Anyhow, to be on the safe-side, I un-rewrapped the first paragraph of os.chown(). @Gregory: I'd like to first concentrate on the "single path" function, then we'll look at the "tree" version. Thanks a lot to everyone for the review/comment/inspiration: attached you can find the updated patch. If something still needs a fix, I'd be happy to work on it. -- Added file: http://bugs.python.org/file22200/shutil_chown-default-v2.patch ___ Python tracker <http://bugs.python.org/issue12191> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12228] Stat doc - fix swap of UF_OPAQUE and UF_NOUNLINK description
New submission from Sandro Tosi : 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@python components: Documentation files: doc_stat_uf_opaque_nounlink-py27.patch keywords: patch messages: 137377 nosy: docs@python, sandro.tosi priority: low severity: normal stage: patch review status: open title: Stat doc - fix swap of UF_OPAQUE and UF_NOUNLINK description versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3 Added file: http://bugs.python.org/file22212/doc_stat_uf_opaque_nounlink-py27.patch ___ Python tracker <http://bugs.python.org/issue12228> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10772] Several actions for argparse arguments missing from docs
Changes by Sandro Tosi : -- nosy: +sandro.tosi ___ Python tracker <http://bugs.python.org/issue10772> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12341] Some additions to .hgignore
New submission from Sandro Tosi : following http://docs.python.org/devguide/coverage.html doc you'll end up with several "new" files/dirs in your checkout: - .coverage, used by coveragepy to save its info - coverage/ , the symlink to coveragepy/coverage - htmlcov/ , the dir where the coverage HTML pages are written I think they should be added to .hgignore so that hg st won't show them, and the attached patch just does it. It's meant for 'default' but should there be no problem to backport it to previous branches. -- assignee: sandro.tosi components: None files: hgignore_additions-default.patch keywords: patch messages: 138386 nosy: sandro.tosi priority: low severity: normal stage: patch review status: open title: Some additions to .hgignore type: behavior versions: Python 3.3 Added file: http://bugs.python.org/file22371/hgignore_additions-default.patch ___ Python tracker <http://bugs.python.org/issue12341> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12191] Add shutil.chown to allow to use user and group name (and not only uid/gid)
Sandro Tosi added the comment: Here's the updated patch following review on Rietveld -- Added file: http://bugs.python.org/file22372/shutil_chown-default-v3.patch ___ Python tracker <http://bugs.python.org/issue12191> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12341] Some additions to .hgignore
Sandro Tosi added the comment: Awesome, in a 3 line patch I managed to add an error... nice :) -- Added file: http://bugs.python.org/file22378/hgignore_additions-default-v2.patch ___ Python tracker <http://bugs.python.org/issue12341> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12349] Typo in 3.2 "What's New": WGSI / WSGI
New submission from Sandro Tosi : Following up http://mail.python.org/pipermail/docs/2011-June/004729.html, here's a patch to correct the WGSI/WSGI typo in 3.2 "What's new" (to be applied in 3.2 and default). -- assignee: docs@python components: Documentation files: 3.2_whatsnew_WSGI-3.2.patch keywords: patch messages: 138465 nosy: docs@python, sandro.tosi priority: low severity: normal stage: patch review status: open title: Typo in 3.2 "What's New": WGSI / WSGI versions: Python 3.2, Python 3.3 Added file: http://bugs.python.org/file22381/3.2_whatsnew_WSGI-3.2.patch ___ Python tracker <http://bugs.python.org/issue12349> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12351] Update URL for pycrypto project
New submission from Sandro Tosi : Following up http://mail.python.org/pipermail/docs/2011-June/004728.html, here's a patch (appliable on 2.7, 3.1, 3.2 and default) to update the pycrypto URL to its new home. -- assignee: docs@python components: Documentation files: pycrypto_new_url-2.7.patch keywords: patch messages: 138470 nosy: docs@python, sandro.tosi priority: low severity: normal stage: patch review status: open title: Update URL for pycrypto project versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3 Added file: http://bugs.python.org/file22383/pycrypto_new_url-2.7.patch ___ Python tracker <http://bugs.python.org/issue12351> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12349] Typo in 3.2 "What's New": WGSI / WSGI
Sandro Tosi added the comment: Fixed by Raymond (thanks!) with these commits: http://hg.python.org/cpython/rev/0fe3b81c7c89 http://hg.python.org/cpython/rev/cf56abd14eef -- nosy: +rhettinger resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.org/issue12349> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10583] Encoding issue with chm help in 2.7.1
Sandro Tosi added the comment: Hello, can you still replicate it with 2.7.2 ? -- nosy: +sandro.tosi ___ Python tracker <http://bugs.python.org/issue10583> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10583] Encoding issue with chm help in 2.7.1
Sandro Tosi added the comment: Adding Georg to nosy, he might now how CHM is generated on Windows and shine some light here -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue10583> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11758] increase xml.dom.minidom test coverage
Sandro Tosi added the comment: I checked the patch, and it works (in 2.7, 3.2 and default) and it would be nice if it can be committed. -- nosy: +sandro.tosi stage: -> commit review versions: +Python 2.7, Python 3.2 ___ Python tracker <http://bugs.python.org/issue11758> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11758] increase xml.dom.minidom test coverage
Changes by Sandro Tosi : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker <http://bugs.python.org/issue11758> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12409] Moving "Documenting Python" to Devguide
New submission from Sandro Tosi : Hi! We have the devguide now, and it should be the place where to look for references and docs about contributing to Python, that means also for the documentation. In the official Python doc we have a section "Documenting Python" (http://docs.python.org/py3k/documenting/index.html) and I think it should be merged into the devguide - what's your opinion on that? -- assignee: docs@python components: Documentation messages: 139062 nosy: brett.cannon, docs@python, ezio.melotti, georg.brandl, sandro.tosi priority: normal severity: normal status: open title: Moving "Documenting Python" to Devguide ___ Python tracker <http://bugs.python.org/issue12409> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11551] test_dummy_thread.py test coverage improvement
Sandro Tosi added the comment: I run a review on rietveld, just minor stuff (even though I don't see the 100% coverage). -- nosy: +sandro.tosi ___ Python tracker <http://bugs.python.org/issue11551> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11869] Include information about the bug tracker Rietveld code review tool
Changes by Sandro Tosi : -- nosy: +sandro.tosi ___ Python tracker <http://bugs.python.org/issue11869> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12296] Minor clarification in devguide
Sandro Tosi added the comment: (this obviously does not apply to new classes, functions or *optional* arguments) ? -- nosy: +sandro.tosi ___ Python tracker <http://bugs.python.org/issue12296> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11233] clarifying Availability: Unix
Changes by Sandro Tosi : -- Removed message: http://bugs.python.org/msg130754 ___ Python tracker <http://bugs.python.org/issue11233> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11669] Clarify Lang Ref "Compound statements" footnote
Sandro Tosi added the comment: Just to make explicit what's happening: >>> try: ... try: ... raise TypeError() ... finally: ... raise ValueError() ... except TypeError as e: ... print('mmm') ... Traceback (most recent call last): File "", line 3, in TypeError During handling of the above exception, another exception occurred: Traceback (most recent call last): File "", line 5, in ValueError while >>> try: ... try: ... raise TypeError() ... finally: ... raise ValueError() ... except ValueError as e: ... print ('mmm') ... mmm -- nosy: +sandro.tosi ___ Python tracker <http://bugs.python.org/issue11669> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11669] Clarify Lang Ref "Compound statements" footnote
Sandro Tosi added the comment: Ok, I send it too soon... attached is a patch to fix this bug (it applies on default, 3.2 and 2.7). -- ___ Python tracker <http://bugs.python.org/issue11669> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11669] Clarify Lang Ref "Compound statements" footnote
Changes by Sandro Tosi : -- keywords: -needs review Added file: http://bugs.python.org/file22471/issue11669-default.patch ___ Python tracker <http://bugs.python.org/issue11669> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12409] Moving "Documenting Python" to Devguide
Sandro Tosi added the comment: Hi Fred, thanks for your input! Let's see what others think, but I think that at the very least, the "Building the documentation" section (that seams very specific to python) should be moved into the devguide. -- ___ Python tracker <http://bugs.python.org/issue12409> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12415] Missing: How to checkout the Doc sources
Changes by Sandro Tosi : -- nosy: +sandro.tosi ___ Python tracker <http://bugs.python.org/issue12415> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12211] Better document math.copysign behavior.
Sandro Tosi added the comment: Taken from http://www.slac.stanford.edu/comp/unix/package/rtems/doc/html/libm/libm.info.copysign.html i'd suggest to extend Return a float with the magnitude of x to Return a float with the magnitude (absolute value) of x It could probably help people less math-savvy in understand what's going to happen :) Maybe also (only in rest doc) might be nice to describe what happens in case the arguments are NaN, f.e.: >>> import math >>> x = float('nan') >>> math.copysign(1., x) 1.0 >>> math.copysign(-1., x) 1.0 >>> math.copysign(x, -1) nan >>> math.copysign(x, x) nan umedoblock: would you like to expand the patch with these notes (unless someone objects :)). -- nosy: +sandro.tosi stage: needs patch -> patch review ___ Python tracker <http://bugs.python.org/issue12211> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12277] Missing comma in os.walk docs
Sandro Tosi added the comment: Marking the issue as pending (inferred from Éric msg): Éric, will this be in your July big-push? :) -- nosy: +sandro.tosi resolution: -> accepted stage: -> commit review status: open -> pending ___ Python tracker <http://bugs.python.org/issue12277> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12160] codecs doc: what is StreamCodec?
Sandro Tosi added the comment: Hi Victor, would you update the patch? -- nosy: +sandro.tosi ___ Python tracker <http://bugs.python.org/issue12160> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11363] Curses - add missing functions to doc
Sandro Tosi added the comment: As requested by Ezio, I'm attaching a "pre-patch" to bring curses doc a bit more adherent to current standards like by s/Returns/Return/ , ``True`` instead of true and so on. It applies ok on 3.3 and 3.2, on 2.7 a hunk is failing (but Ezio said it's fine this way :)). After this patch is applies, the previous one (to add missing functs) can be applied. -- nosy: +ezio.melotti versions: -Python 3.1 Added file: http://bugs.python.org/file22481/curses_doc_update.diff ___ Python tracker <http://bugs.python.org/issue11363> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11363] Curses - add missing functions to doc
Sandro Tosi added the comment: Still following Ezio suggestion, I've reworked a bit the original patch, attaching its -v2 . -- Added file: http://bugs.python.org/file22482/curses_missing_functs-py3k-v2.patch ___ Python tracker <http://bugs.python.org/issue11363> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11493] Add python.exe-gdb.py to .hgignore
Sandro Tosi added the comment: @Éric: it was introduced with issue8032 to easy debugging python with gdb @Santoso: this was fixed in the 2.7 branch with 421c941c529f -> closing. -- nosy: +sandro.tosi resolution: -> out of date stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.org/issue11493> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11689] sqlite: Incorrect unit test fails to detect failure
Sandro Tosi added the comment: I've commented on the Rietveld review page - forgive me if I missed something and didn't get the patch meaning right. -- nosy: +sandro.tosi stage: -> patch review versions: +Python 3.2 ___ Python tracker <http://bugs.python.org/issue11689> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11895] pybench prep_times calculation error
Changes by Sandro Tosi : -- nosy: +sandro.tosi resolution: -> accepted stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.org/issue11895> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12211] Better document math.copysign behavior.
Sandro Tosi added the comment: well, what I actually meant is to describe the behavior in case one (or both) of the arguments is NaN (so not cut&pasting the code), while the example was just provided as a quick reference. -- ___ Python tracker <http://bugs.python.org/issue12211> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11469] Fix resource warning in test_trailers
Sandro Tosi added the comment: This has been fixed by Brett in 9050675cb94e . -- nosy: +sandro.tosi resolution: -> accepted stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.org/issue11469> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11568] docstring of select.epoll.register() is wrong
Sandro Tosi added the comment: The patch is fine: but would you be interested in trying to write a unittest for select.epoll.register ? it would be really nice to start having 'select' tested (oh no, don't ask me how to test select since I have no idea :)). -- nosy: +sandro.tosi stage: -> patch review versions: +Python 2.7, Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issue11568> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11302] Add more tests to test_ast.py
Sandro Tosi added the comment: Hi Benjamin, we know have rietveld directly integrated in the tracker, so it might be time to add you comments? If you still can remember them, given it passed some time :) -- nosy: +sandro.tosi stage: -> patch review ___ Python tracker <http://bugs.python.org/issue11302> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11568] docstring of select.epoll.register() is wrong
Sandro Tosi added the comment: Ah, I find the test file name a bit unhappy (why not test select.epoll in test_select? or add select in the filename?) but since it's covered - I'm fine! :) Next time I'll grep instead of simple file glob - thanks for your help, Senthil. -- ___ Python tracker <http://bugs.python.org/issue11568> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12043] Update shutil documentation
Changes by Sandro Tosi : -- versions: -Python 3.1 ___ Python tracker <http://bugs.python.org/issue12043> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12043] Update shutil documentation
Sandro Tosi added the comment: I'm starting to work on a patch right now. -- ___ Python tracker <http://bugs.python.org/issue12043> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11363] Curses - add missing functions to doc
Sandro Tosi added the comment: I think the same typo is also on default (since merged from 3.2): Ezio, do you want me to upload a patch or you'll fix it? Éric: I can see the tparm() example is failing, since tgetstr() is returning bytes while it expects a string: did you already file about about it? want me to? -- ___ Python tracker <http://bugs.python.org/issue11363> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12191] Add shutil.chown to allow to use user and group name (and not only uid/gid)
Sandro Tosi added the comment: I've applied some of the suggestions Victor made (and also refresh to be cleanly applicable on default). -- Added file: http://bugs.python.org/file22540/shutil_chown-default-v4.patch ___ Python tracker <http://bugs.python.org/issue12191> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12470] Fix cut&paste typo in test_shutil
New submission from Sandro Tosi : There is a cut & paste typo in test_shutil file, this patch fixes it. -- components: Tests files: shutil_tests_cut_paste_typo.patch keywords: patch messages: 139606 nosy: sandro.tosi priority: normal severity: normal stage: patch review status: open title: Fix cut&paste typo in test_shutil versions: Python 3.2, Python 3.3 Added file: http://bugs.python.org/file22541/shutil_tests_cut_paste_typo.patch ___ Python tracker <http://bugs.python.org/issue12470> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12043] Update shutil documentation
Sandro Tosi added the comment: It turns out it was just move() with a slightly outdated description; so I take the occasion to fix some minor stuff in the doc. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file22548/issue12043-default.patch ___ Python tracker <http://bugs.python.org/issue12043> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12043] Update shutil documentation
Changes by Sandro Tosi : Added file: http://bugs.python.org/file22549/issue12043-27.patch ___ Python tracker <http://bugs.python.org/issue12043> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12478] Possible error in HTTPErrorProcessor documentation
New submission from Sandro Tosi : Hello, I think HTTPErrorProcessor documentation at [1] contains a cut&paste error (from UnknownHandler) for the only method available [1] http://docs.python.org/py3k/library/urllib.request.html#httperrorprocessor-objects because: ./python -c "import urllib.request as ur; print ('unknown_open' in dir(ur.HTTPErrorProcessor))" False If you can confirm that http_response() should be used instead, I'll provide a patch to fix it. -- assignee: docs@python components: Documentation messages: 139685 nosy: docs@python, sandro.tosi priority: normal severity: normal stage: needs patch status: open title: Possible error in HTTPErrorProcessor documentation versions: Python 2.7, Python 3.2, Python 3.3 ___ Python tracker <http://bugs.python.org/issue12478> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12479] Add HTTPErrorProcessor class definition
New submission from Sandro Tosi : As reported in http://mail.python.org/pipermail/docs/2011-June/004879.html urllibs/urllib.request misses the definition of HTTPErrorProcessor class; the attached patches add it to the documentation. -- assignee: docs@python components: Documentation files: HTTPErrorProcessor_class-default.patch keywords: patch messages: 139687 nosy: docs@python, sandro.tosi priority: normal severity: normal stage: patch review status: open title: Add HTTPErrorProcessor class definition versions: Python 2.7, Python 3.2, Python 3.3 Added file: http://bugs.python.org/file22552/HTTPErrorProcessor_class-default.patch ___ Python tracker <http://bugs.python.org/issue12479> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12479] Add HTTPErrorProcessor class definition
Changes by Sandro Tosi : Added file: http://bugs.python.org/file22553/HTTPErrorProcessor_class-py27.patch ___ Python tracker <http://bugs.python.org/issue12479> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12191] Add shutil.chown to allow to use user and group name (and not only uid/gid)
Sandro Tosi added the comment: Sorry for the late reply: I've applied Éric comments made on Rietveld. -- Added file: http://bugs.python.org/file22675/shutil_chown-default-v5.patch ___ Python tracker <http://bugs.python.org/issue12191> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7620] Vim syntax highlight
Changes by Sandro Tosi : -- nosy: +sandro.tosi ___ Python tracker <http://bugs.python.org/issue7620> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8912] `make patchcheck` should check the whitespace of .c/.h files
Changes by Sandro Tosi : -- nosy: +sandro.tosi ___ Python tracker <http://bugs.python.org/issue8912> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12597] List created by multiplication behaves different
Sandro Tosi added the comment: Hi, no it's not a bug :) What you actually get with [[0]]*3 is a list of 3 references to the same list, [0]: >>> a = [[0], [0], [0]] >>> b = [[0]]*3 >>> for i in a: print(id(i)) ... 139807725184032 139807725300280 139807725300520 >>> for i in b: print(id(i)) ... 139807725324016 139807725324016 139807725324016 -- nosy: +sandro.tosi resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.org/issue12597> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12624] failfast support for regrtest
Changes by Sandro Tosi : -- resolution: invalid -> fixed ___ Python tracker <http://bugs.python.org/issue12624> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12652] Move documentation of test.support into the devguide
Changes by Sandro Tosi : -- nosy: +sandro.tosi ___ Python tracker <http://bugs.python.org/issue12652> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12663] ArgumentParser.error writes to stderr not to stdout
New submission from Sandro Tosi : Hello, following up http://mail.python.org/pipermail/docs/2011-July/005210.html , here's a patch to fix it. It applies to all the relevant branches. -- assignee: docs@python components: Documentation files: ArgumentParser.error_stderr-default.patch keywords: patch messages: 141467 nosy: docs@python, sandro.tosi priority: normal severity: normal stage: patch review status: open title: ArgumentParser.error writes to stderr not to stdout versions: Python 2.7, Python 3.2, Python 3.3 Added file: http://bugs.python.org/file22808/ArgumentParser.error_stderr-default.patch ___ Python tracker <http://bugs.python.org/issue12663> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12665] Dictionary view example has error in set ops
New submission from Sandro Tosi : Hello, following up http://mail.python.org/pipermail/docs/2011-July/005209.html here's a patch to fix the example error on active 3.x branches. -- assignee: docs@python components: Documentation files: dict_view_examples-default.patch keywords: patch messages: 141469 nosy: docs@python, sandro.tosi priority: normal severity: normal stage: patch review status: open title: Dictionary view example has error in set ops versions: Python 3.2, Python 3.3 Added file: http://bugs.python.org/file22809/dict_view_examples-default.patch ___ Python tracker <http://bugs.python.org/issue12665> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12667] Better logging.handler.SMTPHandler doc for 'secure' argument
New submission from Sandro Tosi : Hello, following up http://mail.python.org/pipermail/docs/2011-July/005207.html here are 2 patches to correct the documentation for 'secure' argument of SMTPHandler: - the one for default (applicable also on 3.2) adds completely the 'secure' arg (missing) - the one for 2.7 corrects the wrong information. Both are taken from the docstring, that seems perfectly usable for the doc. -- assignee: docs@python components: Documentation files: logging_smtphandler_secure-default.patch keywords: patch messages: 141473 nosy: docs@python, sandro.tosi, vinay.sajip priority: normal severity: normal stage: patch review status: open title: Better logging.handler.SMTPHandler doc for 'secure' argument versions: Python 2.7, Python 3.2, Python 3.3 Added file: http://bugs.python.org/file22810/logging_smtphandler_secure-default.patch ___ Python tracker <http://bugs.python.org/issue12667> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12667] Better logging.handler.SMTPHandler doc for 'secure' argument
Changes by Sandro Tosi : Added file: http://bugs.python.org/file22811/logging_smtphandler_secure-2.7.patch ___ Python tracker <http://bugs.python.org/issue12667> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12668] 3.2 What's New: it's integer->string, not the opposite
New submission from Sandro Tosi : Hello, following up http://mail.python.org/pipermail/docs/2011-July/005087.html, here's a patch to fix the 3.2 What's New section. -- assignee: docs@python components: Documentation files: whatsnew_3.2_int2str-default.patch keywords: patch messages: 141476 nosy: docs@python, sandro.tosi priority: normal severity: normal stage: patch review status: open title: 3.2 What's New: it's integer->string, not the opposite versions: Python 3.2, Python 3.3 Added file: http://bugs.python.org/file22813/whatsnew_3.2_int2str-default.patch ___ Python tracker <http://bugs.python.org/issue12668> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12670] Fix struct code after forward declaration on ctypes doc
New submission from Sandro Tosi : Hello, following up http://mail.python.org/pipermail/docs/2011-July/004974.html here's a patch (applicable on 2.7, 3.2 and 3.3) to fix the struct declaration in the "forward declaration" example. -- assignee: docs@python components: Documentation files: ctypes_fwd_declaration-default.patch keywords: patch messages: 141480 nosy: docs@python, sandro.tosi priority: normal severity: normal stage: patch review status: open title: Fix struct code after forward declaration on ctypes doc versions: Python 2.7, Python 3.2, Python 3.3 Added file: http://bugs.python.org/file22814/ctypes_fwd_declaration-default.patch ___ Python tracker <http://bugs.python.org/issue12670> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12677] Turtle, fix right/left rotation orientation
New submission from Sandro Tosi : Hello, following up http://mail.python.org/pipermail/docs/2011-July/005235.html here's 2 patch (for 3.3 + 3.2 and 2.7) to correct the orientation in the documentation, using turtle.right instead of turtle.left, since the work 'counterclockwise' (even if correct and already used) might be "too heavy". I don't think the sense of the introductory part is voided with the change in the method name instead of fixing what it does. -- assignee: docs@python components: Documentation files: turtle_right-default.patch keywords: patch messages: 141511 nosy: docs@python, sandro.tosi priority: normal severity: normal stage: patch review status: open title: Turtle, fix right/left rotation orientation versions: Python 2.7, Python 3.2, Python 3.3 Added file: http://bugs.python.org/file22818/turtle_right-default.patch ___ Python tracker <http://bugs.python.org/issue12677> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12677] Turtle, fix right/left rotation orientation
Changes by Sandro Tosi : Added file: http://bugs.python.org/file22819/turtle_right-2.7.patch ___ Python tracker <http://bugs.python.org/issue12677> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12670] Fix struct code after forward declaration on ctypes doc
Changes by Sandro Tosi : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.org/issue12670> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12665] Dictionary view example has error in set ops
Changes by Sandro Tosi : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.org/issue12665> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com