New submission from Philip Olson phi...@roshambo.org:
I was unable to determine how to download the Python documentation source files
(for building via Sphinx) but did figure out the following:
hg clone http://hg.python.org/cpython
cd cpython/Doc
make html
Where to get the Doc
Changes by Sandro Tosi sandro.t...@gmail.com:
--
nosy: +sandro.tosi
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12415
___
___
Python-bugs-list
Sandro Tosi sandro.t...@gmail.com 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
Sandro Tosi sandro.t...@gmail.com 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
___
Sandro Tosi sandro.t...@gmail.com added the comment:
Hi Victor, would you update the patch?
--
nosy: +sandro.tosi
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12160
___
engelbert gruber grub...@users.sourceforge.net added the comment:
add interleaved writing to the same file (which might happen or not?)
the tests pass when vinay's marshal.c is applied.
sorry for another patch
--
Added file:
Alan McIntyre alan.mcint...@gmail.com added the comment:
Here's an updated patch for the py3k trunk with tests. This pretty much
doubles the runtime of test_zipfile64.py. The patch also removes some
unnecessary code from the existing test_zipfile64 tests.
Hello Alan
I've faced this
Roundup Robot devnull@devnull added the comment:
New changeset b11e7bc76d07 by Ezio Melotti in branch '2.7':
#11669: rephrase footnote in the Compound Statements page.
http://hg.python.org/cpython/rev/b11e7bc76d07
New changeset 74e9f94d8440 by Ezio Melotti in branch '3.2':
#11669: rephrase
Ezio Melotti ezio.melo...@gmail.com added the comment:
Fixed, thanks for the patch!
--
assignee: docs@python - ezio.melotti
nosy: +ezio.melotti
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker
umedoblock umedobl...@gmail.com added the comment:
sandro: OK, I attached the new patch.
--
Added file: http://bugs.python.org/file22480/issue_12211_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12211
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
After more thought, will just close this report. If a new project emerges to
improve the design of filecmp, it can be done in a separate tracker entry.
--
resolution: later - fixed
status: open - closed
Charles-François Natali neolo...@free.fr added the comment:
[...]
I don't like touching such global variable, but you are right.
Well, I don't like it either, but I can't really think of any other solution.
Antoine, any thought on that?
--
___
Kristian Vlaardingerbroek kristian.vlaardingerbr...@gmail.com added the
comment:
On Python 2.7.2 this can not be reproduced. Instead of the segmentation fault
an AssertionError is raised:
AssertionError: invalid Element proxy at 39359432
In Python 3.2 the p1.send(n) step in the example
Changes by Charles-François Natali neolo...@free.fr:
--
resolution: - out of date
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9955
___
Sandro Tosi sandro.t...@gmail.com 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
Sandro Tosi sandro.t...@gmail.com 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
Charles-François Natali neolo...@free.fr added the comment:
You are probably right. Can't we use a lock-less list? list.append is
atomic thanks to the GIL, isn't it? But I don't know how to implement
the lock-less list consumer. It would be nice to have a function to
remove and return the
Charles-François Natali neolo...@free.fr added the comment:
You mean that the tracebacks of children should be dumped on a timeout of the
parent? Or do you also want them on a segfault of the parent? In my
experience, the most common problem with the multiprocessing and subprocess
modules
Stefan Krah stefan-use...@bytereef.org added the comment:
[Nick]
Another idea we may want to revisit is the PyManagedBuffer concept,
which would be a true PyObject that existed solely to simplify sharing
of Py_buffer structs.
If memoryview used such an object internally, then copying and
Roundup Robot devnull@devnull added the comment:
New changeset 3eb9c31a0b03 by Ezio Melotti in branch '2.7':
#11363: clean up curses doc.
http://hg.python.org/cpython/rev/3eb9c31a0b03
New changeset 3dc602b1f4a2 by Ezio Melotti in branch '2.7':
#11363: add missing functions from curses doc.
Ezio Melotti ezio.melo...@gmail.com added the comment:
Fixed, thanks for the patch!
--
assignee: docs@python - ezio.melotti
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11682
___
___
Mark Mc Mahon mtnbikingm...@gmail.com added the comment:
This mostly a documentation concern - correct? ctypes.wintypes is sparsely
documented - in 2.7 the help for it seems to be:
The ctypes.wintypes module provides quite some other Windows specific data
types, for example HWND, WPARAM, or
Charles-François Natali neolo...@free.fr added the comment:
So people who say sys.platform shouldn't be used: what do you propose
to do with Lib/plat-linux2 (or, more generally, Lib/plat-*)?
I can't speak, as I've never used those.
But can't those directories be renamed to
Jonas Meurer jo...@freesources.org added the comment:
I would be interested in that feature as well. It's currently impossible to use
custom new versions of a python module by adding the directory with
site.addsitedir in case a old version of the module is already installed in the
python
Sandro Tosi sandro.t...@gmail.com 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:
Martin v. Löwis mar...@v.loewis.de added the comment:
any broken-down time has issues of time stamp ordering in the
duplicate hour of switching from DST to normal time
I understand that it is an issue of the datetime module. Can it be
solved, or is there a design issue in the module?
It's
Roundup Robot devnull@devnull added the comment:
New changeset c0a68b948f5d by Raymond Hettinger in branch '3.2':
Issue #4608: urllib.request.urlopen does not return an iterable object
http://hg.python.org/cpython/rev/c0a68b948f5d
New changeset d4aeeddf72e3 by Raymond Hettinger in branch
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
Thanks for the patch.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4608
___
Nick Coghlan ncogh...@gmail.com added the comment:
The idea of PyManagedBuffer is for it to be an almost completely passive object
that *just* acts as a refcounted wrapper around the Py_buffer structure, so it
doesn't care about the actual contents. The only supplemental functionality I
think
Nick Coghlan ncogh...@gmail.com added the comment:
I should also note that if memoryview ends up growing enough state to cope
correctly with numpy-style multi-dimensional slicing, I'm actually OK with
that. You could get a long way just using the array module to allocate a large
chunk of
Dave King d...@davbo.org added the comment:
Spotted another use of /tmp/ in the logging howto. Attached a diff.
--
nosy: +davbo
Added file: http://bugs.python.org/file22483/tmp_logging_howto.diff
___
Python tracker rep...@bugs.python.org
Sandro Tosi sandro.t...@gmail.com 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
Roundup Robot devnull@devnull added the comment:
New changeset 1ed71544fceb by Raymond Hettinger in branch '3.2':
Issue #8890: Remove /tmp from examples.
http://hg.python.org/cpython/rev/1ed71544fceb
New changeset fcf242243d46 by Raymond Hettinger in branch 'default':
Issue #8890: Remove /tmp
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8890
___
___
Changes by Sandro Tosi sandro.t...@gmail.com:
--
nosy: +sandro.tosi
resolution: - accepted
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11895
Stefan Schwarzer sschwar...@sschwarzer.net added the comment:
I was able to get some error output with the code of the OP. However, I only
saw the opposite message, such as:
Retrieval of
'ftp://ftp.gnome.org/pub/debian/dists/stable/main/source/Sources.bz2' failed
with error: [Errno ftp
Stefan Schwarzer sschwar...@sschwarzer.net added the comment:
I converted the script to be executable with manual intervention (see
attachment).
This should have been without manual intervention. :)
--
___
Python tracker rep...@bugs.python.org
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
Go head an patch the first self.matching_blocks to also return a named tuple.
Also, correct any doctests or examples using these.
The docs could also mention that list of namedtuples with fields a, b, and size
is returned by
Stefan Schwarzer sschwar...@sschwarzer.net added the comment:
I can confirm the bug for the Python 2.7 tip (changeset b11e7bc76d07) after
using the script urllibftpbug-non-interactive.py.
--
___
Python tracker rep...@bugs.python.org
Sandro Tosi sandro.t...@gmail.com 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 cutpasting the code), while the example was
just provided as a quick reference.
--
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
As Antoine and Eric stated, the module is working as intended and we don't
document implementation details and generally stay away from talking about
performance in the docs.
--
resolution: - rejected
status: open -
engelbert gruber grub...@users.sourceforge.net added the comment:
Assumption:
/tmp is used in examples so the examples work
because /tmp is always writeable
module tempfile is for creating temporary files, the name of which is
unimported, when a user is trying code from documentation it
Sandro Tosi sandro.t...@gmail.com added the comment:
This has been fixed by Brett in 9050675cb94e .
--
nosy: +sandro.tosi
resolution: - accepted
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Stefan Schwarzer sschwar...@sschwarzer.net added the comment:
After running the adapted test script three times for Python 3 tip (changeset
c5b0585624ef), I didn't get an error message / exception.
--
Added file: http://bugs.python.org/file22485/urllibftpbug-non-interactive-py3.py
Stefan Schwarzer sschwar...@sschwarzer.net added the comment:
The traceback and its context for the exception raised in Python 2.7 is:
...
###
99 %
engelbert gruber grub...@users.sourceforge.net added the comment:
+1*4
--
nosy: +grubert
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5950
___
Sandro Tosi sandro.t...@gmail.com 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 :)).
--
Sandro Tosi sandro.t...@gmail.com 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
mouad mouad...@gmail.com added the comment:
I took on consideration the two suggestion that was in the issue and create
this patch that basically show only until the last character that differ and
truncate the rest.
I just included one test case, other test case if they should be included
Terry J. Reedy tjre...@udel.edu added the comment:
I agree with adding '(absolute value)'. I think the following covers the NaN
behavior. NaN acts as a positive value that cannot be negated. This should be
added to both doc and docstring.
I do not think we generally specify the nan behavior
Terry J. Reedy tjre...@udel.edu added the comment:
Brett, Nick, this could be considered a patch to the import machinery as the
bugs shows with a import statement. In any case, no one is signed up for
zipimport specifically.
--
nosy: +brett.cannon, ncoghlan
versions: +Python 3.3
Changes by Petri Lehtinen pe...@digip.org:
--
nosy: +petri.lehtinen
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10181
___
___
Python-bugs-list
flashk fla...@gmail.com added the comment:
Yes, I still notice this issue with the 2.7.2 release.
As I mentioned earlier, I did not notice this problem with 2.7. Were there any
significant changes to the docs between 2.7 and 2.7.1?
Considering the bug with HTML Help pointed out by Kristian,
Senthil Kumaran sent...@uthcode.com added the comment:
On Sat, Jun 25, 2011 at 08:38:04PM +, Senthil Kumaran wrote:
As I am not affected by remains of .rej and .orig (neither have I
found their usefulness (yet)), so my concerns can be stepped over.
Just a side-note. I wondered why is
Ross Lagerwall rosslagerw...@gmail.com added the comment:
From the FreeBSD 6.4 buildbot:
[172/356/2] test_signal
error: 'NoneType' object has no attribute 'si_signo'
error: False is not true
test test_signal failed -- multiple errors occurred; run in verbose mode for
details
Re-running test
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6721
___
___
Python-bugs-list
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: +Python 3.3 -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6717
___
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: +Python 3.3 -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8743
___
___
Terry J. Reedy tjre...@udel.edu added the comment:
I am closing this because none of the reports are for current versions (2.7,3.2)
--
nosy: +terry.reedy
resolution: - out of date
status: open - closed
versions: +Python 3.3 -Python 3.1
___
Python
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: +Python 3.3 -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1475523
___
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11726
___
___
Python-bugs-list
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: +Python 3.2, Python 3.3 -Python 3.0, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4924
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4924
___
___
Python-bugs-list
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: +Python 3.2 -Python 2.6, Python 3.0, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4672
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
type: - feature request
versions: +Python 3.3 -Python 2.7, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5159
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: +Python 3.2, Python 3.3 -Python 3.0, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5225
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5225
___
___
Python-bugs-list
Terry J. Reedy tjre...@udel.edu added the comment:
This a type of feature request and such a change would only go into a new
version. Given the absence of response from djc, perhaps this should be closed
as languishing-postponed?
--
nosy: +terry.reedy
versions: +Python 3.3 -Python
Terry J. Reedy tjre...@udel.edu added the comment:
In 3.2, winxp, (with Tkinter = tkinter), I get
invalid command name 12277720callit
while executing
12277720callit
(after script)
and no new prompt and ^C ineffective. Had to kill command window.
With IDLE, get nothing and have to kill
Terry J. Reedy tjre...@udel.edu added the comment:
I am not marking 'test needed' since the problem is 'hardly reproducible'.
--
nosy: +stutzbach, terry.reedy -josiah.carlson
stage: - patch review
versions: +Python 3.2, Python 3.3 -Python 2.6, Python 3.0, Python 3.1
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: +Python 3.2, Python 3.3 -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5619
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: +Python 3.2, Python 3.3 -Python 3.0, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4591
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4591
___
___
Python-bugs-list
Martin v. Löwis mar...@v.loewis.de added the comment:
This looks fine, except for the Tk changes, which should not be made.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12406
___
Terry J. Reedy tjre...@udel.edu added the comment:
I am following Andrew's suggestion. This issue can serve as 'don't do that' doc.
The 3.2 README has been edited and slimmed down by Georg Brandl. It is limited
to general build instructions. It would not be the place for such a nit. It
does
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
Thanks, Martin. I've realised there are more additions due to packaging - for
example there is a whole set of wininst-X.Y[-amd64].exe files in
Lib/packaging/command. I won't commit anything just yet - I've made the changes
I need to my
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk:
Added file: http://bugs.python.org/file22487/0feab4e7b27f.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12291
___
Martin v. Löwis mar...@v.loewis.de added the comment:
I'd add them to msierror, with no inclusion of the file name.
If you want the file name in the exception, you should uniformly apply this to
all errors in OpenDatabase, and then subclass MSIError to, say, MSIOpenError
which includes a
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
I've incorporated Engelbert's two patches into test_marshal.py in my sandbox
fix branch. I coalesced them into a single additional test in the existing
BugsTestCase.
--
type: - behavior
___
Terry J. Reedy tjre...@udel.edu added the comment:
The original snippet works the same on 3.2.0. Was their any conclusion as to
whether or not a change should be made?
--
nosy: +terry.reedy
versions: +Python 3.2, Python 3.3 -Python 3.1
___
Python
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: +Python 3.2 -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5875
___
___
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
BTW I made those Tcl/Tk changes because the instructions point to getting the
files from the svn repository (using svn export), and they unpack into
directories with a hyphen before the 8.
--
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: +Python 3.2, Python 3.3 -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1662
___
Martin v. Löwis mar...@v.loewis.de added the comment:
For composite objects, getsizeof should only return the memory of the object
itself, and not that of other objects it refers to. the object itself
definitely includes the struct of the object, and also definitely includes
non-PyObject
Martin v. Löwis mar...@v.loewis.de added the comment:
I can't speak, as I've never used those. But can't those directories
be renamed to Lib/plat-platform.system()?
That would be incorrect for some systems. For example, FreeBSD does
change sets of symbolic constants across system releases
STINNER Victor victor.stin...@haypocalc.com added the comment:
In which case is Python the leader of the group? ...
Yes, it's the case by default when you launch a process through a shell.
subprocess doesn't use a shell by default, and I don't think that
multiprocessing uses a shell to
Martin v. Löwis mar...@v.loewis.de added the comment:
BTW I made those Tcl/Tk changes because the instructions point to
getting the files from the svn repository (using svn export), and
they unpack into directories with a hyphen before the 8.
Yes, that's unfortunate. These instructions are
Terry J. Reedy tjre...@udel.edu added the comment:
Naoyuki, unless you can confirm that Daniel's patch works, we will have to
close this as out-of-date.
Martin: PEP 11 lists platforms no-longer supported, but does not list those
that are. For writing/reviewing patches like this, it would be
Martin v. Löwis mar...@v.loewis.de added the comment:
Martin: PEP 11 lists platforms no-longer supported, but does not list
those that are.
You mean, doesn't list the platforms that are still supported?
That's on purpose: the point of PEP 11 is to warn current users about
forthcoming
sbt shibt...@gmail.com added the comment:
sigint_event.patch is a patch to make
_multiprocessing.win32.WaitForMultipleObjects interruptible. It
applies directly on to default.
The patch also adds functions _PyOS_SigintEvent and _PyOS_IsMainThread
which are implemented in signalmodule.c and
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12392
___
Terry J. Reedy tjre...@udel.edu added the comment:
The patch adds this check:
+ if not filename.endswith((.pyc, .pyo, .py)):
+continue
This is not valid. A Python file is a text file with python code. In spite of
import conventions, they are not required to have any
sbt shibt...@gmail.com added the comment:
I have noticed a few more problems.
* Because poll() isn't thread safe on Windows, neither is Queue.empty(). Since
a queue's pipe will never contain empty messages, this can be fixed easily by
using (a wrapper for) win32.PeekNamedPipe().
*
Terry J. Reedy tjre...@udel.edu added the comment:
Should this be closed for the same reason #1730480 was?
If not, would this effectively be a feature request and have to wait for a new
version (3.3)?
--
nosy: +alexandre.vassalotti, pitrou, terry.reedy
versions: +Python 2.7, Python 3.2
Roundup Robot devnull@devnull added the comment:
New changeset a4d418e8010d by Senthil Kumaran in branch '2.7':
Fix closes issue1067702 The problem with close multiple ftp transfers were due
cases where sockets/file were not closed immediately. Tightned those cases and
failure is no longer
Changes by Terry J. Reedy tjre...@udel.edu:
--
stage: - needs patch
versions: +Python 3.2, Python 3.3 -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5308
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
@Victor, you've had some experience with fixing signals
on the FreeBSD 6 buildbot...
It's not exactly that I had some experience, it's just that I have a SSH access
to the buildbot.
The following code hangs for (exactly?) 30
Charles-François Natali neolo...@free.fr added the comment:
Patch attached.
--
Added file: http://bugs.python.org/file22489/test_threading_fork.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11870
Changes by Charles-François Natali neolo...@free.fr:
Removed file: http://bugs.python.org/file22468/test_threading_fork.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11870
___
1 - 100 of 124 matches
Mail list logo