[issue6417] multiprocessing Process examples: print and getppid

2010-10-07 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Hello,
indentation problem has been fixed in r79901 and py3k syntax has been fixed in 
r74764.

wrt os.getppid(), in the documentation it's stated that with 3.2 it added 
support for windows too: I'd like someone running a windows box (I don't have a 
win system anywhere near to me) to check if the mp example works correctly as 
it is.

Regards,
Sandro

--
nosy: +sandro.tosi
versions: +Python 3.2 -Python 3.1

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6417
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2010-10-07 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Hello,
I find the proposed text change good, and so here's a patch to add that in a 
bit different format (sorry it's quite of a mess, but I took the occasion to 
wrap that paragraph to 80th column).

Regards,
Sandro

--
keywords: +patch
nosy: +sandro.tosi
Added file: http://bugs.python.org/file19152/issue6825-py3k.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6825
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2010-10-08 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Hi Evan,
all your comments make sense, so I prepared a new patch about it.

I decided to go with the first option and adding a note about the possible 
different strings.

Regards,
Sandro

--
versions: +Python 3.2 -Python 2.6
Added file: http://bugs.python.org/file19163/issue6825-py3k-v2.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6825
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2010-10-08 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Hello,
I took the freedom to refresh this patch, clarifying the first Val's addition 
(as requested by Éric) and reformat the whole system() section to wrap a column 
80.

Regards,
Sandro

--
nosy: +sandro.tosi
Added file: http://bugs.python.org/file19164/issue7642.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7642
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2010-10-08 Thread Sandro Tosi

Changes by Sandro Tosi sandro.t...@gmail.com:


--
versions: +Python 3.2 -Python 2.6, Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7642
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7771] dict view comparison methods are not documented

2010-10-08 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Hello,
here attached a patch for this bug. I hope the format  / = / == / != / = / 
 is clearly understandable as an alternative sequence of different operations.

Regards,
Sandro

--
keywords: +patch
nosy: +sandro.tosi
Added file: http://bugs.python.org/file19165/issue7771-py3k.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7771
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7771] dict view comparison methods are not documented

2010-10-08 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Hello Raymond,
thanks for the review. I've reworked the patch to refer to Collections.Set (but 
is there a way to make that reference a link to the description of Collections 
ABCs?) and so I've also removed all the examples, leaving only the one for '^' 
because I didn't see a Set operator to do that (but I'm happy to be proven 
wrong :)

Regards,
Sandro

--
Added file: http://bugs.python.org/file19166/issue7771-py3k-v2.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7771
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7771] dict view comparison methods are not documented

2010-10-09 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

gaah, sorry about that. I've prepared another patch that removes the '^' part 
and adds an example about that.

About the reference to Collections.Set to be a link to the Collections page, do 
you think it's acceptable to define all the Collection ABCs as :class:`...` ? I 
looked at http://docs.python.org/documenting/markup.html but didn't find a 
specific markup for ABC, so I suppose 'class' is fine.

If you think it might worth the effort, I can mark those ABCs up as class, and 
scan the documentation for references to them and convert to link (if not 
already done automagically).

--
Added file: http://bugs.python.org/file19169/issue7771-py3k-v3.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7771
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2010-10-11 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Hello,
Here's a patch that implement what's request by Fredrik.

Regards,
Sandro

--
keywords: +patch
nosy: +sandro.tosi
Added file: http://bugs.python.org/file19188/issue3865-py3k.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3865
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6417] multiprocessing Process examples: print and getppid

2010-10-12 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Thanks Michael for checking it, this bug can be closed then, since all the 
points mentioned were already fixed.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6417
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com




[issue7287] import hook demo does not work

2010-10-13 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Hi Benjamin,
you are the author of r63966 (I know, it's quite old, sorry about that) where 
you removed Demo/imputil/importers.py : do you think Demo/imputil/knee.py is 
still something interesting to have or should this be removed altogether? In 
case it's still worth to be included, I can work on fix it.

Regards,
Sandro

--
nosy: +benjamin.peterson, sandro.tosi

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7287
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2010-10-13 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Hello,
on an up-to-date 2.7 I can't replicate this bug:

$ ./python Lib/test/regrtest.py test_distutils
test_distutils
1 test OK.

Is it just me or is been fixed already?

--
nosy: +sandro.tosi
versions:  -Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9539
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7642] Minor improvement to os.system doc

2010-10-14 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

On Thu, Oct 14, 2010 at 08:36, Georg Brandl rep...@bugs.python.org wrote:

 Georg Brandl ge...@python.org added the comment:

 Unfortunately, the rewrap makes it much more complicated to see what  the 
 patch changes (i.e. the whole second part of the hunk only adds Windows 
 versions).  Please leave that to the committer in the future.

Sorry about that :( I'll just leave a note on the tracker if the
changed paragraphs are in need of wrap (but I guess the committer
would notice anyhow ;) .

 Otherwise, committed in r85450; I also removed mention of the unsupported 
 Win9x family.

Thanks!

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7642
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2010-10-16 Thread Sandro Tosi

New submission from Sandro Tosi sandro.t...@gmail.com:

Hello,
when trying to see if issue6661 was still valid, I run test_multiprocessing in 
a tight loop and I got it reproducibly stuck on test_make_pool:

...

test_imap_unordered (test.test_multiprocessing.WithManagerTestPool) ... ok
test_make_pool (test.test_multiprocessing.WithManagerTestPool) ... 

when I enter Ctrl+C here's the traceback (on 2.7 HEAD):

test_make_pool (test.test_multiprocessing.WithManagerTestPool) ... ^CProcess 
PoolWorker-5:3:
Traceback (most recent call last):
  File 
/home/morph/python-dev/release2.7-maint/Lib/multiprocessing/process.py, line 
232, in _bootstrap
Process PoolWorker-5:2:
Traceback (most recent call last):
Process PoolWorker-5:4:
  File 
/home/morph/python-dev/release2.7-maint/Lib/multiprocessing/process.py, line 
232, in _bootstrap
Traceback (most recent call last):
  File 
/home/morph/python-dev/release2.7-maint/Lib/multiprocessing/process.py, line 
232, in _bootstrap
Process PoolWorker-5:1:
Traceback (most recent call last):
  File 
/home/morph/python-dev/release2.7-maint/Lib/multiprocessing/process.py, line 
232, in _bootstrap
Process PoolWorker-79:
Process PoolWorker-80:
Traceback (most recent call last):
Traceback (most recent call last):
  File 
/home/morph/python-dev/release2.7-maint/Lib/multiprocessing/process.py, line 
232, in _bootstrap
  File 
/home/morph/python-dev/release2.7-maint/Lib/multiprocessing/process.py, line 
232, in _bootstrap
self.run()
self.run()
  File 
/home/morph/python-dev/release2.7-maint/Lib/multiprocessing/process.py, line 
88, in run
  File 
/home/morph/python-dev/release2.7-maint/Lib/multiprocessing/process.py, line 
88, in run
self._target(*self._args, **self._kwargs)
self._target(*self._args, **self._kwargs)
  File /home/morph/python-dev/release2.7-maint/Lib/multiprocessing/pool.py, 
line 59, in worker
  File /home/morph/python-dev/release2.7-maint/Lib/multiprocessing/pool.py, 
line 59, in worker
task = get()
task = get()
  File /home/morph/python-dev/release2.7-maint/Lib/multiprocessing/queues.py, 
line 352, in get
  File /home/morph/python-dev/release2.7-maint/Lib/multiprocessing/queues.py, 
line 350, in get

Test suite interrupted by signal SIGINT.
1 test omitted:
test_multiprocessing

and on py3k:

test_make_pool (test.test_multiprocessing.WithProcessesTestPool) ... ^CProcess 
PoolWorker-5:1:
Process PoolWorker-3:
Process PoolWorker-5:3:
Process PoolWorker-5:4:
Process PoolWorker-5:2:
Process PoolWorker-4:
Process PoolWorker-2:
Process PoolWorker-1:
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
  File /home/morph/python-dev/py3k/Lib/multiprocessing/process.py, line 233, 
in _bootstrap
  File /home/morph/python-dev/py3k/Lib/multiprocessing/process.py, line 233, 
in _bootstrap
  File /home/morph/python-dev/py3k/Lib/multiprocessing/process.py, line 233, 
in _bootstrap
  File /home/morph/python-dev/py3k/Lib/multiprocessing/process.py, line 233, 
in _bootstrap
  File /home/morph/python-dev/py3k/Lib/multiprocessing/process.py, line 233, 
in _bootstrap
  File /home/morph/python-dev/py3k/Lib/multiprocessing/process.py, line 233, 
in _bootstrap
Traceback (most recent call last):
Traceback (most recent call last):
  File /home/morph/python-dev/py3k/Lib/multiprocessing/process.py, line 233, 
in _bootstrap
  File /home/morph/python-dev/py3k/Lib/multiprocessing/process.py, line 233, 
in _bootstrap
Process PoolWorker-29:
Traceback (most recent call last):
  File /home/morph/python-dev/py3k/Lib/multiprocessing/process.py, line 233, 
in _bootstrap

Test suite interrupted by signal SIGINT.
1 test omitted:
self.run()
self.run()
self.run()
  File /home/morph/python-dev/py3k/Lib/multiprocessing/process.py, line 88, 
in run
  File /home/morph/python-dev/py3k/Lib/multiprocessing/process.py, line 88, 
in run
  File /home/morph/python-dev/py3k/Lib/multiprocessing/process.py, line 88, 
in run
self._target(*self._args, **self._kwargs)
self._target(*self._args, **self._kwargs)
self._target(*self._args, **self._kwargs)
  File /home/morph/python-dev/py3k/Lib/multiprocessing/pool.py, line 59, in 
worker
  File /home/morph/python-dev/py3k/Lib/multiprocessing/pool.py, line 59, in 
worker
  File /home/morph/python-dev/py3k/Lib/multiprocessing/pool.py, line 59, in 
worker
self.run()
  File /home/morph/python-dev/py3k/Lib/multiprocessing/process.py, line 88, 
in run
self._target(*self._args, **self._kwargs)
  File /home/morph/python-dev/py3k/Lib/multiprocessing/pool.py, line 59, in 
worker
self.run()
  File /home/morph/python-dev/py3k/Lib/multiprocessing/process.py, line 88, 
in run
self.run()
  File /home/morph/python-dev/py3k/Lib/multiprocessing/process.py, line 88, 
in run
self._target(*self._args, **self._kwargs)
  File /home/morph/python-dev/py3k/Lib/multiprocessing

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

2010-10-18 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

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

 Hm, Sandro didn’t say whether he had a system Python or not.

yes I have :) I can try on an isolated chroot to replicate the
problem, but it will probably take me some day to have the time to do
that,

Cheers,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9539
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6460] test failure in test_xmlrpc on Gentoo in trunk

2010-10-19 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Hello,
can we consider this bug as fixed? test has been fixed, buildbots don't show 
this problem anymore and a run on my system with 300 instances of the 
test_xmlrpc running in parallel generated only OK as result.

Regards,
Sandro

--
nosy: +sandro.tosi

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6460
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7096] test_curses fails on 3.1 when run under regrtest

2010-10-19 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

mh, 3 months and no taker, let's close it? :)

--
nosy: +sandro.tosi

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7096
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9791] nntplib.py lacks a test suite

2010-10-19 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Hello, in r85111 Antoine revamped nntplib modules, making it compatible with 
Python 3, improving its documentation and also adding a test suite. I'm marking 
this bug as closed/accepted; Giampaolo, if you feel you still want to work on 
the test suite (I admit I didn't check the coverage), please reopen it (or log 
a new one).

Regards,
Sandro

--
nosy: +sandro.tosi
resolution:  - accepted
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9791
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2010-10-20 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

just for the reference, the loop I ran was:

 while date ; do ./python Lib/test/regrtest.py -v test_multiprocessing ; done

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10121
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8332] regrtest single TestClass/test_method

2010-10-28 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Hello,
as explained in msg108109 (of issue9028) you can actually call a single test, 
or a single TestClass:

$ ./python -m unittest test.test_httpservers.BaseHTTPServerTestCase.test_handler
.
--
Ran 1 test in 0.168s

OK
$ ./python -m unittest test.test_httpservers.BaseHTTPServerTestCase
..
--
Ran 14 tests in 1.132s

OK

I'm closing this report, but feel free to reopen it if you think I'm missing 
something.

Thanks,
Sandro

--
nosy: +sandro.tosi
resolution:  - fixed
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8332
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6661] Transient test_multiprocessing failure (test_active_children)

2010-10-28 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Hello,
what can we do with this issue? It doesn't seem it happened again after 
Antoine's report (or at least no-one had followed it up) and it doesn't happen 
nowdays (f.e. I exec'd test_multiprocessing in a loop for some time, and no 
error comes).

What do you think about closing it as sorry, unable to replicate it and so 
mark it a glitch somehow?

--
nosy: +sandro.tosi

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6661
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6661] Transient test_multiprocessing failure (test_active_children)

2010-10-28 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

well, at least we have a confirmation it's still there :)

any idea how we can try to debug it?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6661
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2010-10-29 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Hello,
as discussed on irc, I'm proposing a patch that:

- wraps the test with support.transient_internet
- limits the assert to only socket.timeout (what we want to test)

test_smptnet.py is already fixed, since it already uses 
support.transient_internet

Regards,
Sandro

--
keywords: +patch
nosy: +sandro.tosi
stage: needs patch - patch review
Added file: http://bugs.python.org/file19416/issue7547-py3k.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7547
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3699] test_bigaddrspace broken

2010-11-03 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

After quite a bit of discussion with Antoine on IRC, here it is a preliminary 
patch: it uses byte instead of string, but at least it works :) I'll work on a 
string (additional) test class hopefully tomorrow

--
keywords: +patch
nosy: +sandro.tosi
Added file: http://bugs.python.org/file19481/issue3699-py3k.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3699
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3699] test_bigaddrspace broken

2010-11-04 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

The attached patch implements the same tests of byte for string objects.

--
assignee:  - sandro.tosi
stage:  - patch review
Added file: http://bugs.python.org/file19497/issue3699-py3k-v2.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3699
___
___
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

2011-03-01 Thread Sandro Tosi

New submission from Sandro Tosi sandro.t...@gmail.com:

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

IMHO, it should be backported to the currently maintained versions (but I 
didn't check what's 2.7 status).

--
assignee: docs@python
components: Documentation
files: curses_missing_functs-py3k.patch
keywords: patch
messages: 129791
nosy: docs@python, sandro.tosi
priority: low
severity: normal
stage: patch review
status: open
title: Curses - add missing functions to doc
versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file20962/curses_missing_functs-py3k.patch

___
Python tracker rep...@bugs.python.org
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

2011-03-01 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

On Tue, Mar 1, 2011 at 19:50, Sandro Tosi rep...@bugs.python.org wrote:

 New submission from Sandro Tosi sandro.t...@gmail.com:

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

 IMHO, it should be backported to the currently maintained versions (but I 
 didn't check what's 2.7 status).

I did it now, it was quite easy: diff between 2.7 and py3k doc files
are just a bunch of line, and patch applies fine (with some hunk
offsets) on release2.7-maint too.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11363
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11392] Turtle - better explain 'chaos' demo

2011-03-03 Thread Sandro Tosi

New submission from Sandro Tosi sandro.t...@gmail.com:

Following up http://mail.python.org/pipermail/docs/2011-January/002786.html I 
prepared this patch to

- correct Verhulst name
- explain that the results can be against common sense

Also, what's exactly related to world coordinates in this example?

--
assignee: docs@python
components: Documentation
files: turle_demo_chaos-py3k.patch
keywords: patch
messages: 130012
nosy: docs@python, sandro.tosi
priority: low
severity: normal
stage: patch review
status: open
title: Turtle - better explain 'chaos' demo
versions: Python 2.7, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file20992/turle_demo_chaos-py3k.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11392
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5901] missing meta-info in documentation pdf

2011-03-07 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

AFAIK, this is obtained using \pdfinfo{} command[1][2][3]

[1] http://theoval.cmp.uea.ac.uk/~nlct/latex/pdfdoc/pdfdoc/pdfdoc.html
[2] 
http://tex.stackexchange.com/questions/5958/is-hyperref-really-the-best-way-to-add-metadata-to-a-tex-file
[3] http://www.tug.org/applications/hyperref/manual.html#x1-110003.7

Georg, do you think this is something that sphinx has to handle (in the latex 
builder) or somewhere else?

--
nosy: +sandro.tosi
versions: +Python 3.3 -Python 3.1

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5901
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10617] Collections ABCs can’t be linked to

2011-03-08 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Hi Éric, after #11085, I think the part of the doc you're referring to has been 
moved to collections.abc.rst, is that correct? If so, can you please explain 
what you'd like to see? all those :class:`Container` converted into .. 
class:: Container in the table? That will help me provide a patch :)

--
nosy: +sandro.tosi
versions: +Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10617
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11009] urllib.splituser is not documented

2011-03-08 Thread Sandro Tosi

Changes by Sandro Tosi sandro.t...@gmail.com:


--
nosy: +sandro.tosi
versions: +Python 2.7, Python 3.2, Python 3.3 -Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11009
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10617] Collections ABCs can’t be linked to

2011-03-09 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

but that will generate class collections.abc.Container as text in the first 
column of the table: do you really like it? I don't :)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10617
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11009] urllib.splituser is not documented

2011-03-11 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Hi Senthil,
what do you think about documenting those methods are private ones in the 
urllib code (if not using _, at least a short comment above them)? at least we 
have a mark it's an implementation decision and in case someone has the crazy 
idea :) to scan the module to fill in the missing methods in the doc, he'd know 
they are not to be exposed.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11009
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-03-22 Thread Sandro Tosi

Changes by Sandro Tosi sandro.t...@gmail.com:


--
nosy: +sandro.tosi

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11561
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-03-22 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Reattaching patch generated (against 3.2) with diff --git to preserve the 
rename operation.

--
Added file: http://bugs.python.org/file21339/test_future_diffgit.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11093
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-03-24 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

The number of items in the bookmark is controlled by 

\setcounter{tocdepth}{1}

in sphinxmanual.cls, that's included in every latex file (the source of the PDF 
documentation). The cls file is coming directly from sphinx, so Georg: what is 
the purpose of limiting the bookmarks depth to 1? can we consider (somehow) to 
special-case if for python?

--
nosy: +georg.brandl, sandro.tosi
versions: +Python 3.3 -Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9056
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11699] Documentation for get_option_group is wrong

2011-03-28 Thread Sandro Tosi

Changes by Sandro Tosi sandro.t...@gmail.com:


--
nosy: +sandro.tosi

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11699
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1571878] Improvements to socket module exceptions

2011-03-28 Thread Sandro Tosi

Changes by Sandro Tosi sandro.t...@gmail.com:


--
nosy: +sandro.tosi
versions: +Python 3.3 -Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1571878
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1571878] Improvements to socket module exceptions

2011-03-28 Thread Sandro Tosi

Changes by Sandro Tosi sandro.t...@gmail.com:


--
keywords:  -patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1571878
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10632] multiprocessing generates a fatal error

2011-03-28 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Hi Brian,
are you able to replicate it? I just build 3.2 and default (3.3) on a Debian 
unstable system and wasn't able to replicate it (with a busy loop like while 
date ; do ./python -c import multiprocessing.managers ; mpp = 
multiprocessing.Pool(4); sm = multiprocessing.managers.SyncManager(); 
sm.start() ; done )

--
nosy: +sandro.tosi

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10632
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-03-28 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Is someone still able to replicate this crash? I'm not, with a fresh built 3.2 
and default (3.3), --with-pydebug enabled. Brian confirmed on msg132418 that he 
can't any longer replicate it.

--
nosy: +sandro.tosi

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10517
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10632] multiprocessing generates a fatal error

2011-03-28 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

can we close this issue then?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10632
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8624] Aliasing warnings in multiprocessing.c

2011-03-28 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

This was fixed in f8fc2d03d7e4 by Benjamin Peterson.

--
nosy: +sandro.tosi
resolution:  - out of date
stage: needs patch - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8624
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9067] Use macros from pyctype.h

2011-03-28 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Hi Stefan, can you please expand a bit this issue and details the places you 
think can benefit from pyctype macros? you know, a patch would be the best :)

--
nosy: +sandro.tosi
versions: +Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9067
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-03-29 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

I took the freedom to refresh the patch against default (I don't know yet the 
policies for what to backport and what not), built a debug version of python 
with the patch applied and run the test suite with no regression.

A test would be nice to be added, but I'm not sure how to do that (is 
test_grp.py reading local /etc/groups or so?).

I'd be happy another pair of eyes to look at the patch, but it seems worth to 
be committing it (modulo the backport thing: what lower version should be 
targetting?).

--
nosy: +sandro.tosi
versions: +Python 3.3
Added file: http://bugs.python.org/file21458/issue7365_refresh_default.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7365
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-03-29 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Hi Gregor,
are you still able to replicate this bug? I just tried on a freshly built 3.3 
and (hopefully correctly) following your description, I can print help just 
fine:

 help(print)
Help on built-in function print in module builtins:

print(...)
print(value, ..., sep=' ', end='\n', file=sys.stdout)

Prints the values to a stream, or to sys.stdout by default.
Optional keyword arguments:
file: a file-like object (stream); defaults to the current sys.stdout.
sep:  string inserted between values, default a space.
end:  string appended after the last value, default a newline.



--
nosy: +sandro.tosi
versions: +Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7124
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-03-29 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Hi,
I don't understand why you think tarfile should not fail in case you're trying 
to add a non-existing file. the problem is that glob() already extracted a list 
of filesdirs and then while the script is tar-ring them, you're removing some 
of them - script crash.

if you want to do it, then wrap tar.add() in a try..catch construct, but I 
think the behavior of tar.add() is correct here.

Lars, you assigned this issue to yourself: what do you think it's the best 
action now (i was about to close it :) ?

--
nosy: +sandro.tosi

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7101
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-03-29 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

As Benjamin just confirmed on #python-dev, sys.setprofile is not a cpython impl 
detail, hence closing this issue.

--
nosy: +benjamin.peterson, sandro.tosi
resolution:  - invalid
stage: needs patch - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9331
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-03-29 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

that's great, closing then :)

--
resolution:  - out of date
stage: needs patch - 
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7124
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-03-30 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Hi,
on a freshly built python 3.3 I got:

$ ./python 
Python 3.3a0 (default:22ae2b002865, Mar 30 2011, 20:18:39) 
[GCC 4.4.5] on linux2
Type help, copyright, credits or license for more information.
 f = open('foo', 'rb')
 print(f.read1(1)) # OK
b''
 f.close()
 print(f.read1(5)) # expected ValueError(I/O operation on closed file)
Traceback (most recent call last):
  File stdin, line 1, in module
ValueError: I/O operation on closed file
 print(f.peek())   # expected ValueError(I/O operation on closed file)
Traceback (most recent call last):
  File stdin, line 1, in module
ValueError: I/O operation on closed file
 

so it seems it's been fixed in the meantime. Do you have an example for 
BufferedReader?

--
nosy: +sandro.tosi

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10219
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10234] ResourceWarnings in test_subprocess

2011-03-30 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

On a freshly built 3.3 I don't get those RW anymore:

$ ./python -bb -E -Wd -m test -r -w -uall test_subprocess
Using random seed 7436992
[1/1] test_subprocess
.
this bit of output is from a test of stdout in a different process ...
.
this bit of output is from a test of stdout in a different process ...
.
this bit of output is from a test of stdout in a different process ...
.
this bit of output is from a test of stdout in a different process ...
1 test OK.

As briefly discussed on IRC, I'm closing this as out-of-date.

--
nosy: +sandro.tosi
resolution:  - out of date
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10234
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11715] Building Python on multiarch Debian and Ubuntu

2011-04-01 Thread Sandro Tosi

Changes by Sandro Tosi sandro.t...@gmail.com:


--
nosy: +sandro.tosi

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11715
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10023] test_lib2to3 leaks under 3.1

2011-04-04 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

As discussed with Ezio on IRC, this doesn't apply anymore in 3.2 nor in 3.3, so 
we guess we can simply mark is already fixed in a later version.

--
nosy: +sandro.tosi
resolution:  - out of date
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10023
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10339] test_lib2to3 leaks

2011-04-04 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

closing like issue10023

--
nosy: +sandro.tosi
resolution:  - out of date
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10339
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-04-12 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Hi,
I updated the patch, making one for 2.7, 3.1 and 3.2 (this last one applies 
cleanly on default too).

As of merging simplejson, it's more a matter of porting it to Python 3. I'll 
drop an email to Bob soon, let's see how it goes.

--
nosy: +sandro.tosi
stage: patch review - commit review
versions: +Python 3.3
Added file: http://bugs.python.org/file21630/issue10019-py3.2.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10019
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-04-12 Thread Sandro Tosi

Changes by Sandro Tosi sandro.t...@gmail.com:


Added file: http://bugs.python.org/file21631/issue10019-py3.1.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10019
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-04-12 Thread Sandro Tosi

Changes by Sandro Tosi sandro.t...@gmail.com:


Added file: http://bugs.python.org/file21632/issue10019-py2.7.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10019
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-04-12 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Oh, just to say I took the version as of 
http://code.google.com/p/simplejson/source/detail?r=234

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10019
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11840] Improvements to c-api/unicode documentation

2011-04-12 Thread Sandro Tosi

New submission from Sandro Tosi sandro.t...@gmail.com:

Hi,
After reading tomo cocoa mail at docs@ I gave a look at c-api/unicode file and 
fixed some minor editing issues.

Regards,
Sandro

--
assignee: docs@python
components: Documentation
files: unicode_doc-default.patch
keywords: patch
messages: 133600
nosy: docs@python, sandro.tosi
priority: normal
severity: normal
stage: patch review
status: open
title: Improvements to c-api/unicode documentation
versions: Python 3.3
Added file: http://bugs.python.org/file21635/unicode_doc-default.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11840
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11840] Improvements to c-api/unicode documentation

2011-04-12 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

In addition, is there a reason for the sorting of UTF-8 UTF-32 UTF-16 and UTF-7 
sections? why not alphabetically?

Also, several parts of the doc would need paragraph re-indentation (not done in 
this patch due to clarity).

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11840
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11840] Improvements to c-api/unicode documentation

2011-04-12 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

On Tue, Apr 12, 2011 at 23:34, Marc-Andre Lemburg
rep...@bugs.python.org wrote:
 Sandro Tosi wrote:

 Sandro Tosi sandro.t...@gmail.com added the comment:

 In addition, is there a reason for the sorting of UTF-8 UTF-32 UTF-16 and 
 UTF-7 sections? why not alphabetically?

 No particular reason. Alphabetical order would be just as good.

 Note that such changes would have to be backported in order to
 keep the merge conflicts to a minimum.

It applies cleanly on 3.2 (module some offsets), not as good on 3.1
and 2.7: do you want me to prepare patches specifically for those 2
brances?

 Also, several parts of the doc would need paragraph re-indentation (not done 
 in this patch due to clarity).

 Not sure what you mean here.

sorry, I meant wrap at 80th column (or so) :)

Cheers.
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11840
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11840] Improvements to c-api/unicode documentation

2011-04-13 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

On Tue, Apr 12, 2011 at 23:56, Marc-Andre Lemburg
rep...@bugs.python.org wrote:
 Marc-Andre Lemburg m...@egenix.com added the comment:
 I think you misunderstood: when reorganizing the contents of
 a file, it's better to apply the patch to all branches, rather
 than just the current, since otherwise future patches that do
 have to be merged to all branches would cause lots of merge
 conflicts.

the problem is: the file Doc/c-api/unicode.rst is already different
between all the open branches. I'll provide patches for each of
them, or specify where the patch can be merged (and from where).

 Ezio Melotti ezio.melo...@gmail.com added the comment:

 Rewrapping the paragraphs you are changing is fine, the others can be left as 
 they are.

Once I was told not to, since in this case it will hide the changes I
made in between the rewrap.

 Patches should be against the oldest branch where they can be applied, and 
 since this is a doc patch it can go in 2.7 and 3.1 too.

I'm just about to prepare patches for all the supported branches
(where a merge is not possible).

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11840
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11840] Improvements to c-api/unicode documentation

2011-04-13 Thread Sandro Tosi

Changes by Sandro Tosi sandro.t...@gmail.com:


Added file: http://bugs.python.org/file21657/unicode_doc-2.7.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11840
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11840] Improvements to c-api/unicode documentation

2011-04-13 Thread Sandro Tosi

Changes by Sandro Tosi sandro.t...@gmail.com:


Added file: http://bugs.python.org/file21658/unicode_doc-3.1.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11840
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11840] Improvements to c-api/unicode documentation

2011-04-13 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

The status of the patches is this:

unicode_doc-2.7.patch - to be applied on 2.7
unicode_doc-3.1.patch - to be applied on 3.1
unicode_doc-default.patch - to be applied on 3.2 and then merged on default

I had to prepare multiple patches since the files are very different between 
supported branches.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11840
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-04-14 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Thanks for reminding me of this issue. I let the same tight loop run on an 
up-to-date python for a whole day and not stuck happened.

--
resolution:  - out of date
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10121
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10605] ElementTree documentation

2011-04-14 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Hi Adrian,
where do you see the 'entity' argument to class TreeBuilder?

In case I'm just missing in, would be interested in preparing a patch? you seem 
to be knowledgeable about the matter, so it would be nice if you can share it 
with us. You can also provide just the text you'd like to see, and I'll do the 
rest.

--
nosy: +sandro.tosi

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10605
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8326] Cannot import name SemLock on Ubuntu

2011-04-14 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

 How do I know the configuration options that the Ubuntu packager used?

the make file (likely) used is at:

http://bazaar.launchpad.net/~doko/python/pkg2.7-debian/view/head:/rules

Note: he is also a python developer, so you can add him to nosy and
ask clarification.

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

--
nosy: +sandro.tosi

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8326
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11844] Update json to upstream simplejson latest release

2011-04-14 Thread Sandro Tosi

New submission from Sandro Tosi sandro.t...@gmail.com:

This issue is to track the update process of json to the latest upstream 
release (2.1.3).

As a start, here's the p-dev thread: 
http://mail.python.org/pipermail/python-dev/2011-April/110704.html

--
assignee: sandro.tosi
components: Library (Lib)
messages: 133765
nosy: sandro.tosi
priority: normal
severity: normal
status: open
title: Update json to upstream simplejson latest release
versions: Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11844
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-04-19 Thread Sandro Tosi

New submission from Sandro Tosi sandro.t...@gmail.com:

Hi, following up http://mail.python.org/pipermail/docs/2011-April/003742.html 
here are a couple of patches to call connect() after smtplib.SMTP() and 
sendmail(). Patches are:

2.7: to be applied in 2.7 and merged into 3.1
3.2: to be applied in 3.2 and merged into default

That's because in 3.2 we have a change in the example to use send_message() 
instead of sendmail() (in order to allow binary contents), and so there's also 
a small fix to actually make use of send_message() email-simple.

--
assignee: docs@python
components: Documentation
files: smtp_connect-2.7.patch
keywords: patch
messages: 134100
nosy: docs@python, r.david.murray, sandro.tosi
priority: normal
severity: normal
stage: patch review
status: open
title: Call connect() before sending an email with smtplib
Added file: http://bugs.python.org/file21731/smtp_connect-2.7.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11883
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-04-19 Thread Sandro Tosi

Changes by Sandro Tosi sandro.t...@gmail.com:


Added file: http://bugs.python.org/file21732/smtp_connect-3.2.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11883
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-04-26 Thread Sandro Tosi

New submission from Sandro Tosi sandro.t...@gmail.com:

Following up http://mail.python.org/pipermail/docs/2011-April/004032.html I 
made a run of pep8 on Doc/includes/ py files.

i've prepared a patch against default; if it's considered worth I can prepare 
patches for the other branches (for sure 2.7 needs a different patch, and 
probably also 3.1).

--
assignee: docs@python
components: Documentation
files: pep8_doc_includes.patch
keywords: patch
messages: 134486
nosy: docs@python, sandro.tosi
priority: normal
severity: normal
stage: patch review
status: open
title: Improve usage of PEP8 in Docs/includes/*
versions: Python 3.3
Added file: http://bugs.python.org/file21784/pep8_doc_includes.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11929
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-04-27 Thread Sandro Tosi

New submission from Sandro Tosi sandro.t...@gmail.com:

Following up http://mail.python.org/pipermail/docs/2011-April/004031.html 
here's a patch to update the link to John Ousterhout paper. It can be applied 
on all active branches.

--
assignee: docs@python
components: Documentation
files: howto_advocacy_ousterhout_link.patch
keywords: patch
messages: 134612
nosy: docs@python, sandro.tosi
priority: low
severity: normal
stage: patch review
status: open
title: Howto/Advocacy - update the link to John Ousterhout paper
versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3
Added file: 
http://bugs.python.org/file21809/howto_advocacy_ousterhout_link.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11940
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11942] Fix signature of Py_AddPendingCall

2011-04-27 Thread Sandro Tosi

New submission from Sandro Tosi sandro.t...@gmail.com:

Following up with http://mail.python.org/pipermail/docs/2011-April/004021.html 
here's a couple of patch (the first for 2.7/3.1, the other for 3.2/default) to 
fix the signature of Py_AddPendingCall (in particular the return type).

Adding in CC Ezio since he fixed issue11865.

--
assignee: docs@python
components: Documentation
files: py_addpendingcall-py27.patch
keywords: patch
messages: 134620
nosy: docs@python, ezio.melotti, sandro.tosi
priority: normal
severity: normal
stage: patch review
status: open
title: Fix signature of Py_AddPendingCall
versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file21813/py_addpendingcall-py27.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11942
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11942] Fix signature of Py_AddPendingCall

2011-04-27 Thread Sandro Tosi

Changes by Sandro Tosi sandro.t...@gmail.com:


Added file: http://bugs.python.org/file21814/py_addpendingcall-py32.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11942
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-04-28 Thread Sandro Tosi

New submission from Sandro Tosi sandro.t...@gmail.com:

Following up http://mail.python.org/pipermail/docs/2011-April/004029.html 
here's a small patch (applicable on all the active branches) to actually :) 
connects the two paragraphs about modules search path.

--
assignee: docs@python
components: Documentation
files: tutorial_modules_actually.patch
keywords: patch
messages: 134704
nosy: docs@python, sandro.tosi
priority: normal
severity: normal
stage: patch review
status: open
title: Tutorial/Modules - small fix to better clarify the modules search path
versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file21826/tutorial_modules_actually.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11948
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-04-29 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Hi Raymond, thanks for looking into it! What do you think of this patch? I 
tried to save what I think was nice in the first paragraph and collapse it into 
the second one.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11948
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-04-29 Thread Sandro Tosi

Changes by Sandro Tosi sandro.t...@gmail.com:


Added file: http://bugs.python.org/file21836/issue11948.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11948
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11049] add tests for test.support

2011-05-04 Thread Sandro Tosi

Changes by Sandro Tosi sandro.t...@gmail.com:


--
nosy: +sandro.tosi

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11049
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11015] Bring test.support docs up to date

2011-05-04 Thread Sandro Tosi

Changes by Sandro Tosi sandro.t...@gmail.com:


--
nosy: +sandro.tosi

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11015
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11015] Bring test.support docs up to date

2011-05-04 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Hi all,
IIUIC we are left with issue11015.py3k.testdoc.1.patch) since 
issue11015.py3k.remove_fcmp.{1,2}.patch has been already applied on default.

I just gave a look to the doc patch and it seems fine (it also applies without 
any warning on default).

Eli, do you want to expand this patch further (and how :) or do you think it's 
still the version you want to commit? Can a core devel, then, give this patch a 
deeper look?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11015
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-05-06 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Here's attached the patch including Terry's suggestion (gaah, sorry for this 
late reply).

--
Added file: http://bugs.python.org/file21913/issue11948-v2.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11948
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-05-09 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

What about the attached (v3) patch? the This allows...experts hands. part can 
be remove completely if can be mis-interpreted.

--
Added file: http://bugs.python.org/file21944/issue11948-v3.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11948
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12043] Update shutil documentation

2011-05-09 Thread Sandro Tosi

New submission from Sandro Tosi sandro.t...@gmail.com:

This issue is to keep track of the 'shutil' documentation update, since it 
seems to miss several information (in particular in comparison with the 
docstrings).

I'll post patches as soon as I get them.

--
assignee: docs@python
components: Documentation
messages: 135628
nosy: docs@python, sandro.tosi
priority: low
severity: normal
stage: needs patch
status: open
title: Update shutil documentation
versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12043
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-05-09 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Sorry Raymond for the bad editing, I was confused by thinking 'tutorial' is 
particularly meant for new-coming people. Anyhow, sorry again: I attach a patch 
removing the badworded part.

Please let me know if anything else is missing or needs fixing.

Thanks for your check  time.

--
Added file: http://bugs.python.org/file21946/issue11948-v4.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11948
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-05-09 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Raymond, thanks for explaining the reasoning behind your replies, it really 
helps me understand the spirit behind python :)

That said, and trying to be a bit more pragmatical, what are the next steps to 
make this patch acceptable? It's kinda of a small patch, and I honestly didn't 
foresee the long ping-pong of corrections I received :)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11948
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-05-11 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

I first would like to apologize if my comments were interpreted like I'd like 
to do a poor quality job, that's actually the opposite! I just get caught by 
surprise how a simple change in a word to better join two paragraphs grows up 
like this - but that's perfectly fine and understandable we want to be as 
detailed and precise as possible

Here's the fifth version of the patch, including Terry's suggestions - thanks!

--
Added file: http://bugs.python.org/file21972/issue11948-v5.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11948
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-05-11 Thread Sandro Tosi

New submission from Sandro Tosi sandro.t...@gmail.com:

Hi, only on 2.7 there were 2 entries for 'key function': this patches remove 
the second occurrence, leaving that part of Glossary equals to the other 
branches.

--
assignee: docs@python
components: Documentation
files: remove_duplicate_key_functions-2.7.patch
keywords: patch
messages: 135810
nosy: docs@python, sandro.tosi
priority: low
severity: normal
stage: patch review
status: open
title: Remove duplicate 'key functions' entry in Glossary
versions: Python 2.7
Added file: 
http://bugs.python.org/file21978/remove_duplicate_key_functions-2.7.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12061
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2011-05-13 Thread Sandro Tosi

New submission from Sandro Tosi sandro.t...@gmail.com:

Following up with http://mail.python.org/pipermail/docs/2011-April/004159.html 
here's a tiny patch to add a missing parenthesis.

--
assignee: docs@python
components: Documentation
files: capi_buffer_PyBuffer_FillContiguousStrides-py27.patch
keywords: patch
messages: 135938
nosy: docs@python, sandro.tosi
priority: normal
severity: normal
stage: patch review
status: open
title: Missing parenthesis in c-api/buffer PyBuffer_FillContiguousStrides
versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3
Added file: 
http://bugs.python.org/file21994/capi_buffer_PyBuffer_FillContiguousStrides-py27.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12072
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12043] Update shutil documentation

2011-05-13 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

nope, from a quick glance at the docstrings text and what's on the ReST 
documentation - was I a bit too catastrophic? :)

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12043
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12092] Clarify sentence in tutorial

2011-05-16 Thread Sandro Tosi

New submission from Sandro Tosi sandro.t...@gmail.com:

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

--
assignee: docs@python
components: Documentation
keywords: patch
messages: 136128
nosy: docs@python, georg.brandl, sandro.tosi
priority: normal
severity: normal
stage: commit review
status: open
title: Clarify sentence in tutorial
versions: Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12092
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12093] Typo in struct unpacking example

2011-05-16 Thread Sandro Tosi

New submission from Sandro Tosi sandro.t...@gmail.com:

following up http://mail.python.org/pipermail/docs/2011-April/004154.html and 
what was done in 1de718a31004, here's a tiny patch to correct that typo in 2.7 
too.

--
assignee: docs@python
components: Documentation
files: struct_unpack_record.patch
keywords: patch
messages: 136129
nosy: docs@python, sandro.tosi
priority: normal
severity: normal
stage: patch review
status: open
title: Typo in struct unpacking example
versions: Python 2.7
Added file: http://bugs.python.org/file22011/struct_unpack_record.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12093
___
___
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)

2011-05-26 Thread Sandro Tosi

New submission from Sandro Tosi sandro.t...@gmail.com:

Hi, following up the discussion on 
http://mail.python.org/pipermail/python-dev/2011-May/111642.html here'a patch 
to introduce shutil.chown() along with doc, tests and a change in os doc to 
link to the new function (I also took 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 rep...@bugs.python.org
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)

2011-05-26 Thread Sandro Tosi

Changes by Sandro Tosi sandro.t...@gmail.com:


--
versions: +Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12191
___
___
Python-bugs-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)

2011-05-30 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

@Eric: ok, I was just asking given the unusual situation 2.7 is (i.e. a very 
long support series), but it's perfectly fine not to backport the feature.

@Charles-François: I changed a bit the logic: I check for 'None' at first, 
since 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 rep...@bugs.python.org
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

2011-05-31 Thread Sandro Tosi

New submission from Sandro Tosi sandro.t...@gmail.com:

Following http://mail.python.org/pipermail/docs/2011-May/004429.html, here's a 
patch that fix the swap of those 2 flags description; it applies cleanly 
(except for some offset) on 2.7, 3.1, 3.2 and default.

--
assignee: docs@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 rep...@bugs.python.org
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

2011-05-31 Thread Sandro Tosi

Changes by Sandro Tosi sandro.t...@gmail.com:


--
nosy: +sandro.tosi

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10772
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1234674] filecmp.cmp's shallow option

2011-10-31 Thread Sandro Tosi

Sandro Tosi sandro.t...@gmail.com added the comment:

Hello,
we recently received a this message on docs@ : 
http://mail.python.org/pipermail/docs/2011-October/006121.html that's actually 
related to this issue: how can we move it forward?

--
nosy: +sandro.tosi
versions: +Python 3.3 -Python 3.1

___
Python tracker rep...@bugs.python.org
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

2011-10-31 Thread Sandro Tosi

New submission from Sandro Tosi sandro.t...@gmail.com:

Hello,
given I can't fully comprehend the user request (sent on docs@ as of 
http://mail.python.org/pipermail/docs/2011-September/005791.html), I'm just 
echoing it :


recently I embedded Python into one of my applications, which included
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 rep...@bugs.python.org
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

2011-11-25 Thread Sandro Tosi

New submission from Sandro Tosi sandro.t...@gmail.com:

Hello,
timeit documentation doesn't mention default_timer, while the module exposes it 
publicly and there's code snippets on the web using it. It should be documented 
then.


ps: adding Georg to nosy as per Experts list

--
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 rep...@bugs.python.org
http://bugs.python.org/issue13478
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



<    1   2   3   4   5   >