[issue12415] Missing: How to checkout the Doc sources

2011-06-26 Thread Sandro Tosi
Changes by Sandro Tosi : -- nosy: +sandro.tosi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue12211] Better document math.copysign behavior.

2011-06-26 Thread Sandro Tosi
Sandro Tosi added the comment: Taken from http://www.slac.stanford.edu/comp/unix/package/rtems/doc/html/libm/libm.info.copysign.html i'd suggest to extend Return a float with the magnitude of x to Return a float with the magnitude (absolute value) of x It could probably help people les

[issue12277] Missing comma in os.walk docs

2011-06-26 Thread Sandro Tosi
Sandro Tosi added the comment: Marking the issue as pending (inferred from Éric msg): Éric, will this be in your July big-push? :) -- nosy: +sandro.tosi resolution: -> accepted stage: -> commit review status: open -> pending ___ Python tracker

[issue12160] codecs doc: what is StreamCodec?

2011-06-26 Thread Sandro Tosi
Sandro Tosi added the comment: Hi Victor, would you update the patch? -- nosy: +sandro.tosi ___ Python tracker ___ ___ Python-bugs-li

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-06-26 Thread engelbert gruber
engelbert gruber 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: http://bugs.python.org/file22479/multiple_dump_load_read_write_test.patch __

Re: [issue9720] zipfile writes incorrect local file header for large files in zip64

2011-06-26 Thread goodwin.gt
> Alan McIntyre 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 problem too. I sta

[issue11669] Clarify Lang Ref "Compound statements" footnote

2011-06-26 Thread Roundup Robot
Roundup Robot 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 footnote in the Comp

[issue11669] Clarify Lang Ref "Compound statements" footnote

2011-06-26 Thread Ezio Melotti
Ezio Melotti 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

[issue12211] Better document math.copysign behavior.

2011-06-26 Thread umedoblock
umedoblock added the comment: sandro: OK, I attached the new patch. -- Added file: http://bugs.python.org/file22480/issue_12211_2.patch ___ Python tracker ___ __

[issue11802] filecmp.cmp needs a documented way to clear cache

2011-06-26 Thread Raymond Hettinger
Raymond Hettinger 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 ___ Py

[issue12352] multiprocessing.Value() hangs

2011-06-26 Thread Charles-François Natali
Charles-François Natali 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? -- ___ Python tracker

[issue9955] multiprocessing.Pipe segmentation fault when recv of unpicklable object

2011-06-26 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek 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 raises a PicklingError when trying to pa

[issue9955] multiprocessing.Pipe segmentation fault when recv of unpicklable object

2011-06-26 Thread Charles-François Natali
Changes by Charles-François Natali : -- resolution: -> out of date stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue11363] Curses - add missing functions to doc

2011-06-26 Thread Sandro Tosi
Sandro Tosi added the comment: As requested by Ezio, I'm attaching a "pre-patch" to bring curses doc a bit more adherent to current standards like by s/Returns/Return/ , ``True`` instead of true and so on. It applies ok on 3.3 and 3.2, on 2.7 a hunk is failing (but Ezio said it's fine this wa

[issue11363] Curses - add missing functions to doc

2011-06-26 Thread Sandro Tosi
Sandro Tosi added the comment: Still following Ezio suggestion, I've reworked a bit the original patch, attaching its -v2 . -- Added file: http://bugs.python.org/file22482/curses_missing_functs-py3k-v2.patch ___ Python tracker

[issue12352] multiprocessing.Value() hangs

2011-06-26 Thread Charles-François Natali
Charles-François Natali 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 content of the

[issue12413] make faulthandler dump traceback of child processes

2011-06-26 Thread Charles-François Natali
Charles-François Natali 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 is the hang.

[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

2011-06-26 Thread Stefan Krah
Stefan Krah 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 slicing > would be quite

[issue11363] Curses - add missing functions to doc

2011-06-26 Thread Roundup Robot
Roundup Robot 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. Patch by Sandro Tosi

[issue11363] Curses - add missing functions to doc

2011-06-26 Thread Ezio Melotti
Ezio Melotti 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 _

[issue11682] PEP 380 reference implementation for 3.3

2011-06-26 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11253] autodocument first appearance of ctypes.wintypes constants

2011-06-26 Thread Mark Mc Mahon
Mark Mc Mahon 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 DWORD. Some useful struct

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

2011-06-26 Thread Charles-François Natali
Charles-François Natali 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 Lib/plat-? As for the performance

[issue7744] Allow site.addsitedir insert to beginning of sys.path

2011-06-26 Thread Jonas Meurer
Jonas Meurer 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 systemwide path.

[issue11493] Add python.exe-gdb.py to .hgignore

2011-06-26 Thread Sandro Tosi
Sandro Tosi added the comment: @Éric: it was introduced with issue8032 to easy debugging python with gdb @Santoso: this was fixed in the 2.7 branch with 421c941c529f -> closing. -- nosy: +sandro.tosi resolution: -> out of date stage: -> committed/rejected status: open -> closed _

[issue11457] Expose nanosecond precision from system calls

2011-06-26 Thread Martin v . Löwis
Martin v. Löwis 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 an inherent

[issue4608] urllib.request.urlopen does not return an iterable object

2011-06-26 Thread Roundup Robot
Roundup Robot 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 'default': Issue #4608

[issue4608] urllib.request.urlopen does not return an iterable object

2011-06-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the patch. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list maili

[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

2011-06-26 Thread Nick Coghlan
Nick Coghlan 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 it should provide

[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

2011-06-26 Thread Nick Coghlan
Nick Coghlan 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 memory and then a suita

[issue8890] Use tempfile instead of /tmp in examples

2011-06-26 Thread Dave King
Dave King 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 __

[issue11689] sqlite: Incorrect unit test fails to detect failure

2011-06-26 Thread Sandro Tosi
Sandro Tosi added the comment: I've commented on the Rietveld review page - forgive me if I missed something and didn't get the patch meaning right. -- nosy: +sandro.tosi stage: -> patch review versions: +Python 3.2 ___ Python tracker

[issue8890] Use tempfile instead of /tmp in examples

2011-06-26 Thread Roundup Robot
Roundup Robot 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 from examples. ht

[issue8890] Use tempfile instead of /tmp in examples

2011-06-26 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue11895] pybench prep_times calculation error

2011-06-26 Thread Sandro Tosi
Changes by Sandro Tosi : -- nosy: +sandro.tosi resolution: -> accepted stage: -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue1067702] urllib fails with multiple ftp transfers

2011-06-26 Thread Stefan Schwarzer
Stefan Schwarzer 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 error] 200 Switching to Binar

[issue1067702] urllib fails with multiple ftp transfers

2011-06-26 Thread Stefan Schwarzer
Stefan Schwarzer added the comment: > I converted the script to be executable with manual intervention (see > attachment). This should have been "without manual intervention". :) -- ___ Python tracker

[issue12384] difflib.SequenceMatcher and Match: code and doc bugs

2011-06-26 Thread Raymond Hettinger
Raymond Hettinger 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 get_matching_blocks(). --

[issue1067702] urllib fails with multiple ftp transfers

2011-06-26 Thread Stefan Schwarzer
Stefan Schwarzer 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 __

[issue12211] Better document math.copysign behavior.

2011-06-26 Thread Sandro Tosi
Sandro Tosi added the comment: well, what I actually meant is to describe the behavior in case one (or both) of the arguments is NaN (so not cut&pasting the code), while the example was just provided as a quick reference. -- ___ Python tracker

[issue12134] json.dump much slower than dumps

2011-06-26 Thread Raymond Hettinger
Raymond Hettinger 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 -> closed _

[issue8890] Use tempfile instead of /tmp in examples

2011-06-26 Thread engelbert gruber
engelbert gruber 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 might be hard on him/her to a

[issue11469] Fix resource warning in test_trailers

2011-06-26 Thread Sandro Tosi
Sandro Tosi added the comment: This has been fixed by Brett in 9050675cb94e . -- nosy: +sandro.tosi resolution: -> accepted stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue1067702] urllib fails with multiple ftp transfers

2011-06-26 Thread Stefan Schwarzer
Stefan Schwarzer 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 _

[issue1067702] urllib fails with multiple ftp transfers

2011-06-26 Thread Stefan Schwarzer
Stefan Schwarzer added the comment: The traceback and its context for the exception raised in Python 2.7 is: ... ### 99 %

[issue5950] Make zipimport work with zipfile containing comments

2011-06-26 Thread engelbert gruber
engelbert gruber added the comment: +1*4 -- nosy: +grubert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue11568] docstring of select.epoll.register() is wrong

2011-06-26 Thread Sandro Tosi
Sandro Tosi added the comment: The patch is fine: but would you be interested in trying to write a unittest for select.epoll.register ? it would be really nice to start having 'select' tested (oh no, don't ask me how to test select since I have no idea :)). -- nosy: +sandro.tosi stage

[issue11302] Add more tests to test_ast.py

2011-06-26 Thread Sandro Tosi
Sandro Tosi added the comment: Hi Benjamin, we know have rietveld directly integrated in the tracker, so it might be time to add you comments? If you still can remember them, given it passed some time :) -- nosy: +sandro.tosi stage: -> patch review __

[issue12038] assertEqual doesn't display newline differences quite well

2011-06-26 Thread mouad
mouad 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 (and if my solution g

[issue12211] Better document math.copysign behavior.

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy 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 for each functio

[issue5950] Make zipimport work with zipfile containing comments

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy 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 -Python 3.2 _

[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

2011-06-26 Thread Petri Lehtinen
Changes by Petri Lehtinen : -- nosy: +petri.lehtinen ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue10583] Encoding issue with chm help in 2.7.1

2011-06-26 Thread flashk
flashk 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, I'm thinking there

[issue12255] A few changes to .*ignore

2011-06-26 Thread Senthil Kumaran
Senthil Kumaran 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 my case so, and I r

[issue12303] expose sigwaitinfo() and sigtimedwait() in the signal module

2011-06-26 Thread Ross Lagerwall
Ross Lagerwall 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 test_signal in verbose

[issue6721] Locks in python standard library should be sanitized on fork

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue6717] Some problem with recursion handling

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8743] set() operators don't work with collections.Set instances

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1669349] make install fails if no previous Python installation

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy 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 tracker

[issue1475523] gettext breaks on plural-forms header

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue11726] linecache becomes specific to Python scripts in Python 3

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue4924] gc.collect() won't always collect as expected

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2, Python 3.3 -Python 3.0, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list ma

[issue4924] gc.collect() won't always collect as expected

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue4672] Distutils SWIG support blocks use of SWIG -outdir option

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.6, Python 3.0, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list ma

[issue5159] Indicating packages to be loaded when a Tcl interpreter is created in tkinter

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- type: -> feature request versions: +Python 3.3 -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Pytho

[issue5225] OS X "Update Shell Profile" may not update $PATH if run more than once

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2, Python 3.3 -Python 3.0, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list ma

[issue5225] OS X "Update Shell Profile" may not update $PATH if run more than once

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue5375] Unified locals/consts array + register-based instructions

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy 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 2.7, Python 3.1 ___

[issue978604] wait_variable hangs at exit

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy 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 with Task Ma

[issue5661] asyncore should catch EPIPE while sending() and receiving()

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy 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 __

[issue5619] Pass MS CRT debug flags into subprocesses

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2, Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue4591] 32-bits unsigned user/group identifier

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2, Python 3.3 -Python 3.0, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list ma

[issue4591] 32-bits unsigned user/group identifier

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue12406] msi.py needs updating for Python 3.3

2011-06-26 Thread Martin v . Löwis
Martin v. Löwis added the comment: This looks fine, except for the Tk changes, which should not be made. -- ___ Python tracker ___ __

[issue5722] settimer / gettimer functionality on FreeBSD 6.3 (not 7.x)

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy 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 say "You can pass

[issue12406] msi.py needs updating for Python 3.3

2011-06-26 Thread Vinay Sajip
Vinay Sajip 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 local branch for testing

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-06-26 Thread Vinay Sajip
Changes by Vinay Sajip : Added file: http://bugs.python.org/file22487/0feab4e7b27f.diff ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue12382] [msilib] Obscure exception message when trying to open a non-existent MSI database

2011-06-26 Thread Martin v . Löwis
Martin v. Löwis 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 .filename attribute. -

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-06-26 Thread Vinay Sajip
Vinay Sajip 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 ___ Python tracker

[issue5700] io.FileIO calls flush() after file closed

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy 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 tracker

[issue5875] test_distutils failing on OpenSUSE 10.3, Py3k

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12406] msi.py needs updating for Python 3.3

2011-06-26 Thread Vinay Sajip
Vinay Sajip 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". -- ___ Python tracker

[issue1662] [patch] assert tp_traverse in PyType_GenericAlloc()

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2, Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue12414] getsizeof() on code objects is wrong

2011-06-26 Thread Martin v . Löwis
Martin v. Löwis 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 blocks uniquely refer

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

2011-06-26 Thread Martin v . Löwis
Martin v. Löwis added the comment: > I can't speak, as I've never used those. But can't those directories > be renamed to Lib/plat-? That would be incorrect for some systems. For example, FreeBSD does change sets of symbolic constants across system releases (mostly additions, but sometimes also

[issue12413] make faulthandler dump traceback of child processes

2011-06-26 Thread STINNER Victor
STINNER Victor 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 start Python. > > The subpr

[issue12406] msi.py needs updating for Python 3.3

2011-06-26 Thread Martin v . Löwis
Martin v. Löwis 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 not correct (th

[issue5895] socketmodule.c on HPUX ia64 without _XOPEN_SOURCE_EXTENDED compiles incorrectly

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy 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 helpful if it did

[issue5895] socketmodule.c on HPUX ia64 without _XOPEN_SOURCE_EXTENDED compiles incorrectly

2011-06-26 Thread Martin v . Löwis
Martin v. Löwis 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 changes, not to track

[issue12328] multiprocessing's overlapped PipeConnection on Windows

2011-06-26 Thread sbt
sbt 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 declared in intrcheck.

[issue12392] pthread_kill() doesn't work on the main thread on FreeBSD6

2011-06-26 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue3435] 3rd party program calls trace.py on non Python files

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy 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 particular

[issue12328] multiprocessing's overlapped PipeConnection on Windows

2011-06-26 Thread sbt
sbt 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(). * PipeListener/PipeClient have

[issue3635] pickle.dumps cannot save instance of dict-derived class that overrides __getattribute__

2011-06-26 Thread Terry J. Reedy
Terry J. Reedy 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 -Python 2.6, Pyt

[issue1067702] urllib fails with multiple ftp transfers

2011-06-26 Thread Roundup Robot
Roundup Robot 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 observed. http://h

[issue5308] cannot marshal objects with more than 2**31 elements

2011-06-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> needs patch versions: +Python 3.2, Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-b

[issue12303] expose sigwaitinfo() and sigtimedwait() in the signal module

2011-06-26 Thread STINNER Victor
STINNER Victor 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 seconds on sigwaitinfo():

[issue11870] test_3_join_in_forked_from_thread() of test_threading hangs 1 hour on "x86 Ubuntu Shared 3.x"

2011-06-26 Thread Charles-François Natali
Charles-François Natali added the comment: Patch attached. -- Added file: http://bugs.python.org/file22489/test_threading_fork.diff ___ Python tracker ___diff -r fca745bc70be L

[issue11870] test_3_join_in_forked_from_thread() of test_threading hangs 1 hour on "x86 Ubuntu Shared 3.x"

2011-06-26 Thread Charles-François Natali
Changes by Charles-François Natali : Removed file: http://bugs.python.org/file22468/test_threading_fork.diff ___ Python tracker ___ ___ Python

[issue12352] multiprocessing.Value() hangs

2011-06-26 Thread Charles-François Natali
Charles-François Natali added the comment: Here's a patch based on the second approach. -- Added file: http://bugs.python.org/file22490/heap_gc_deadlock_lockless.diff ___ Python tracker __

  1   2   >