[issue1744382] Read Write lock

2013-02-25 Thread Vladimir Rutsky
Changes by Vladimir Rutsky : -- nosy: +rutsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue16930] mention limitations and/or alternatives to hg graft

2013-02-25 Thread Ezio Melotti
Ezio Melotti added the comment: http://docs.python.org/devguide/committing.html#porting-changesets-between-the-two-major-python-versions-2-x-and-3-x now mentions both "hg graft" and "hg export|import". Do you think this is enough or should we add a link to http://mercurial.selenic.com/wiki/Fi

[issue16612] Integrate "Argument Clinic" specialized preprocessor into CPython trunk

2013-02-25 Thread Stefan Behnel
Stefan Behnel added the comment: I still can't see a reference to Cython in the PEP. Larry, I don't really mind adding a newly designed DSL for this, but regarding the implementation of the actual argument parser, could you at least add a short paragraph to the PEP that mentions it as worth be

[issue17263] crash when tp_dealloc allows other threads

2013-02-25 Thread Charles-François Natali
Charles-François Natali added the comment: > Note that in threadmodule.c, in local_clear, we are iterating through all > threads: > > In PyDict_DelItem, if the GIL is released and meanwhile, the list of > threadstates is altered, is that a problem for this loop? So maybe tstate > becomes inval

[issue17289] readline.set_completer_delims() doesn't play well with others

2013-02-25 Thread Christoph Gohlke
Changes by Christoph Gohlke : -- nosy: +cgohlke ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue14468] Update cloning guidelines in devguide

2013-02-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have no intention of excluding you ;-). Please comment on any or all of the other 19. But if an issue is stuck with inadequate or conflicting developer opinion, getting supplemental opinions from target users, as in "There is a proposal to change 'abc' to 'x

[issue16942] urllib still doesn't support persistent connections

2013-02-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: +class FileCookieJar(CookieJar, metaclass=ABCMeta): +"""Abstract Base Class for any file-based CookieJar.""" Is it just me or is it a bit strange to derive an abstract base class from a concrete class? Is CookieJar meant to be directly used? +with

[issue14468] Update cloning guidelines in devguide

2013-02-25 Thread Ned Deily
Ned Deily added the comment: "I think the core-mentorship list would be one place to get more opinions if more are needed." Keep in mind that the core-mentorship list is a closed list so any discussions there would take place without direct participation of the (many?) core developers, like m

[issue14468] Update cloning guidelines in devguide

2013-02-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: While multiple, spaced, commits might have been better, if the first had been made at least 6 months ago, I agree that the best thing *now* was to commit these as a base for further improvements. There are 19 other open devguide issues to review and close as o

[issue11448] docs for HTTPConnection.set_tunnel are ambiguous

2013-02-25 Thread karl
karl added the comment: This is a possible additional example for set_tunnel, modification of python3.3/html/_sources/library/http.client.txt Hope it helps. -- nosy: +karlcow Added file: http://bugs.python.org/file29243/http.client.patch ___ Python

[issue17284] create mercurial section in devguide's committing.rst

2013-02-25 Thread Ezio Melotti
Ezio Melotti added the comment: This has now been committed as part of #14468. Regarding the change of the section title, I'm not sure that's necessary. Currently the section covers all the fundamental Mercurial-related operations that a committers needs to know (set up, commit, merge, push), no

[issue14468] Update cloning guidelines in devguide

2013-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset a50e537c5914 by Ezio Melotti in branch 'default': #14468: document the use of the share extension as the suggested approach for core developers. http://hg.python.org/devguide/rev/a50e537c5914 New changeset 3e213eaf85a6 by Ezio Melotti in branch 'de

[issue14468] Update cloning guidelines in devguide

2013-02-25 Thread Ezio Melotti
Ezio Melotti added the comment: This was a somewhat major rewrite. The fact that we had no rietveld available made things more complicated on the reviewer side, and splitting the patch in smaller chunks made things more complicated on my side. FWIW I have 2 major doc issues up next: #4153 and

[issue14468] Update cloning guidelines in devguide

2013-02-25 Thread Chris Jerdonek
Chris Jerdonek added the comment: > But, surely at this point, it would be easier to get meaningful additional > review after the current set of changes are committed rather than continually > redoing a large set of patches. This was my reason for asking early on that the changes be proposed a

[issue14468] Update cloning guidelines in devguide

2013-02-25 Thread Ezio Melotti
Ezio Melotti added the comment: OK, I'll commit 1-6 and 7-8 then. After that we can further improve things starting from there. > it would be easier to get meaningful additional review after the > current set of changes are committed rather than continually redoing a > large set of patches.

[issue14468] Update cloning guidelines in devguide

2013-02-25 Thread Ned Deily
Ned Deily added the comment: ISTM, committing changes to the devguide is fundamentally different from committing a change to Python itself. The devguide has a much smaller and focused audience, does not have compatibility considerations, it's continuously releasable etc etc. So there's no ne

[issue14468] Update cloning guidelines in devguide

2013-02-25 Thread Chris Jerdonek
Chris Jerdonek added the comment: For the record, I don't recall *any* changes being made to any of the patches in response to mine or others' comments, other than dividing them up. So we're not talking about perfection. If they're going to be committed as is, it might as well be one patch.

[issue14468] Update cloning guidelines in devguide

2013-02-25 Thread Ezio Melotti
Ezio Melotti added the comment: > Perfect is the enemy of good. I vote for just committing it, then > Chris can propose additional fixes/changes in a subsequent patch. Agreed. Chris, any preference about the number of commits (8 separate commits, 1-6 + 7-8, 2 on its own)? --

[issue17290] pythonw - loading cursor bug when launching scripts

2013-02-25 Thread Vinay Sajip
Vinay Sajip added the comment: Good catch, Mark! I'll wait for confirmation that your patched pyw.exe works, then make the changes in the Python repository and also update the standalone launcher. -- ___ Python tracker

[issue14468] Update cloning guidelines in devguide

2013-02-25 Thread Nick Coghlan
Nick Coghlan added the comment: Perfect is the enemy of good. I vote for just committing it, then Chris can propose additional fixes/changes in a subsequent patch. On 26 Feb 2013 09:52, "Chris Jerdonek" wrote: > > Chris Jerdonek added the comment: > > > I still fail to understand what are you t

[issue17290] pythonw - loading cursor bug when launching scripts

2013-02-25 Thread Mark Hammond
Mark Hammond added the comment: If anyone would like to test the fix out, I've put a 32bit pyw.exe with the fix at http://starship.python.net/crew/skippy/downloads/pyw.exe -- ___ Python tracker ___

[issue17290] pythonw - loading cursor bug when launching scripts

2013-02-25 Thread Mark Hammond
Mark Hammond added the comment: The problem is that Explorer displays the IDC_APPSTARTING icon when an app launches, until that app does something ui-ish (eg, creating a window, fetching a windows message). I could reproduce the problem on XP, and pushed a fix for the launcher to https://bit

[issue12345] Add math.tau

2013-02-25 Thread Simon Baird
Simon Baird added the comment: https://github.com/search?q=%22TAU+%3D+2+%2A+Math.PI%22&type=Code https://github.com/search?q=%22TAU+%3D+PI+*+2%22&type=Code -- ___ Python tracker

[issue17289] readline.set_completer_delims() doesn't play well with others

2013-02-25 Thread Thomas Kluyver
Changes by Thomas Kluyver : -- nosy: +takluyver ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue14468] Update cloning guidelines in devguide

2013-02-25 Thread Chris Jerdonek
Chris Jerdonek added the comment: > I still fail to understand what are you trying to achieve. My goal is to reach consensus on changes and have them committed. In its current form, I don't agree with the patch. The length of the comment thread and the length of the patch has discouraged me

[issue16612] Integrate "Argument Clinic" specialized preprocessor into CPython trunk

2013-02-25 Thread Larry Hastings
Larry Hastings added the comment: A quick note about the extension mechanism. Currently the only way to extend PyArg_Parse* is via O&. Therefore, any extended type you add will use O&, and will have a "converter". So internally all I did was say "if the parameter has a converter, ignore the

[issue17223] Initializing array.array with unicode type code and buffer segfaults

2013-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset ebeed44702ec by Victor Stinner in branch '3.3': Issue #17223: array module: Fix a crasher when converting an array containing http://hg.python.org/cpython/rev/ebeed44702ec New changeset 381de621ff6a by Victor Stinner in branch 'default': (Merge 3.3)

[issue17223] Initializing array.array with unicode type code and buffer segfaults

2013-02-25 Thread STINNER Victor
STINNER Victor added the comment: > I think this should be updated to work with the PEP 393 implementation, > rather than raising an error. It was discussed to add new formats for UCS1, UCS2 and UCS4 formats to the array module, but nobody implemented the idea. The "u" format is kept unchanged

[issue17223] Initializing array.array with unicode type code and buffer segfaults

2013-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset c354afedb866 by Victor Stinner in branch '3.3': Issue #17223: Fix PyUnicode_FromUnicode() for string of 1 character outside http://hg.python.org/cpython/rev/c354afedb866 New changeset a4295ab52427 by Victor Stinner in branch 'default': (Merge 3.3) I

[issue17223] Initializing array.array with unicode type code and buffer segfaults

2013-02-25 Thread Ezio Melotti
Ezio Melotti added the comment: We discussed this on IRC, and apparently the seemingly valid result I got on 3.2 was because I had a narrow build. On a wide 3.2 build I get: >>> str(array('u', b'asdf')) "array('u', '\\U66647361')" Since 3.3+ behaves like a wide build and since \U66647361 is no

[issue17298] Twisted test failure triggered by change in 2.7 branch

2013-02-25 Thread STINNER Victor
STINNER Victor added the comment: > Yes; perhaps that change should be rolled back until a fix for the regression > can be added? Try on your side to check if it's really a duplicate. If yes, please join the discussion on issue #13555. -- ___ Pytho

[issue17223] Initializing array.array with unicode type code and buffer segfaults

2013-02-25 Thread Ezio Melotti
Ezio Melotti added the comment: > If the problem is that PyUnicode_FromUnicode() rejects character > outside range [U+; U+10], But this used to return two valid characters: >>> str(array('u', b'asdf')) "array('u', '獡晤')" so I think it still should -- unless the operation was already non

[issue17298] Twisted test failure triggered by change in 2.7 branch

2013-02-25 Thread Glyph Lefkowitz
Glyph Lefkowitz added the comment: Yes; perhaps that change should be rolled back until a fix for the regression can be added? -- ___ Python tracker ___

[issue17298] Twisted test failure triggered by change in 2.7 branch

2013-02-25 Thread STINNER Victor
STINNER Victor added the comment: It looks like #13555. -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue17298] Twisted test failure triggered by change in 2.7 branch

2013-02-25 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue17298] Twisted test failure triggered by change in 2.7 branch

2013-02-25 Thread Glyph Lefkowitz
New submission from Glyph Lefkowitz: As reported in Twisted: https://twistedmatrix.com/trac/ticket/6314 and as seen on the Twisted buildbot: https://buildbot.twistedmatrix.com/builders/lucid32-py2.7maint/builds/2327/steps/trial/logs/problems The tip of the 2.7 branch is now failing Twisted's

[issue17220] Little enhancements of _bootstrap.py

2013-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset d98a82f4c9bd by Brett Cannon in branch 'default': Issue #17220: two fixes for changeset 2528e4aea338. http://hg.python.org/cpython/rev/d98a82f4c9bd -- ___ Python tracker

[issue17220] Little enhancements of _bootstrap.py

2013-02-25 Thread Brett Cannon
Brett Cannon added the comment: Found another bug introduced by this patch which I will have a patch for shortly. -- ___ Python tracker ___ _

[issue14468] Update cloning guidelines in devguide

2013-02-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: I haven't really followed the discussion here, but both patches look ok to me (the committing.rst one, especially, is a welcome cleanup). -- ___ Python tracker ___

[issue17220] Little enhancements of _bootstrap.py

2013-02-25 Thread Brett Cannon
Brett Cannon added the comment: I dug into http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/1517/steps/compile/logs/stdio and found this traceback: EXEC : Fatal Python error : Py_Initialize: unable to load the file system codec [C:\buildbot.python.org\3.x.kloth-win6

[issue17290] pythonw - loading cursor bug when launching scripts

2013-02-25 Thread netrick
netrick added the comment: Of course, the "py.exe" launcher with console (both standalone and from python 3.3) DOES NOT produce the error even when launching with double click. It's only pyw.exe double click thing. -- ___ Python tracker

[issue17290] pythonw - loading cursor bug when launching scripts

2013-02-25 Thread netrick
netrick added the comment: Well I installed python using standard python 3.3.0.msi from python.org, so maybe there is something wrong with setting registry keys? I downloaded standalone launcher from bitbucket and the results are the same: 1) command line "pyw.exe app.pyw" no bug 2) I assigned

[issue9285] Add a profile decorator to profile and cProfile

2013-02-25 Thread Lukas Lueg
Changes by Lukas Lueg : -- nosy: -ebfe ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue9285] Add a profile decorator to profile and cProfile

2013-02-25 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Ok, here's an updated patch modeled after: http://hg.python.org/cpython/rev/422169310b7c It works fine with cProfile.py but not with profile.py where I get this exception when I try to use the context manager (tests can be run in order to reproduce it):

[issue17290] pythonw - loading cursor bug when launching scripts

2013-02-25 Thread Vinay Sajip
Changes by Vinay Sajip : -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue17290] pythonw - loading cursor bug when launching scripts

2013-02-25 Thread Vinay Sajip
Vinay Sajip added the comment: Does the error occur with the standalone launcher downloadable from BitBucket? The "value not set" for shell\open is not good. -- ___ Python tracker _

[issue747320] rfc2822 formatdate functionality duplication

2013-02-25 Thread karl
Changes by karl : Removed file: http://bugs.python.org/file29240/server.patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue747320] rfc2822 formatdate functionality duplication

2013-02-25 Thread karl
karl added the comment: Made a mistake in the previous server.patch, use server.2.patch -- Added file: http://bugs.python.org/file29241/server2.patch ___ Python tracker ___

[issue17220] Little enhancements of _bootstrap.py

2013-02-25 Thread Zachary Ware
Zachary Ware added the comment: 2528e4aea338 seems to have broken building on Windows: http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/1517 -- nosy: +zach.ware ___ Python tracker __

[issue10572] Move test sub-packages to Lib/test

2013-02-25 Thread Ned Deily
Ned Deily added the comment: Geoff, you need to use hg's optional "git" format diff to preserve rename info. See "hg help diffs". -- nosy: +ned.deily ___ Python tracker ___ ___

[issue7370] BaseHTTPServer reinventing rfc822 date formatting

2013-02-25 Thread karl
karl added the comment: I think it is now fixed by my patch in http://bugs.python.org/issue747320 -- nosy: +karlcow ___ Python tracker ___

[issue747320] rfc2822 formatdate functionality duplication

2013-02-25 Thread karl
karl added the comment: http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-22#section-7.1.1 quoting from HTTP 1.1 bis Prior to 1995, there were three different formats commonly used by servers to communicate timestamps. For compatibility with old implementations, all three are

[issue13555] cPickle MemoryError when loading large file (while pickle works)

2013-02-25 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: 680959a3ae2e has caused that g-ir-scanner tool from gobject-introspection (which seems to create some pickles and next load them?) fails with MemoryError, e.g. during building of GTK+. MemoryError occurs only for a subset of pickles. I atta

[issue16612] Integrate "Argument Clinic" specialized preprocessor into CPython trunk

2013-02-25 Thread Larry Hastings
Larry Hastings added the comment: Argument Clinic is now PEP 436. http://www.python.org/dev/peps/pep-0436/ -- ___ Python tracker ___

[issue17290] pythonw - loading cursor bug when launching scripts

2013-02-25 Thread netrick
netrick added the comment: Differences: [HKEY_CLASSES_ROOT\Python.CompiledFile\DefaultIcon] @="F:\Python33\DLLs\pyc.ico" [HKEY_CLASSES_ROOT\Python.CompiledFile\shell\open] value not set [HKEY_CLASSES_ROOT\Python.File\DefaultIcon] @="F:\Python33\DLLs\py.ico" [HKEY_CLASSES_ROOT\Python.File\shel

[issue11671] Security hole in wsgiref.headers.Headers

2013-02-25 Thread Devin Cook
Changes by Devin Cook : Removed file: http://bugs.python.org/file29193/header_newlines_2.6.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue11671] Security hole in wsgiref.headers.Headers

2013-02-25 Thread Devin Cook
Changes by Devin Cook : Removed file: http://bugs.python.org/file29192/header_newlines_2.7.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue11671] Security hole in wsgiref.headers.Headers

2013-02-25 Thread Devin Cook
Devin Cook added the comment: The spec doesn't say anything about the header name. It probably should though, as the same issue exists there. I used two searches because that's how it's done in wsgiref.validate, and it's not a huge deal to do that because the second one will only execute when

[issue11671] Security hole in wsgiref.headers.Headers

2013-02-25 Thread Devin Cook
Changes by Devin Cook : Removed file: http://bugs.python.org/file29182/header_newlines.patch ___ Python tracker ___ ___ Python-bugs-list maili

[issue17290] pythonw - loading cursor bug when launching scripts

2013-02-25 Thread Vinay Sajip
Vinay Sajip added the comment: The .pys entry needn't be there - I left it in by mistake. -- ___ Python tracker ___ ___ Python-bugs-li

[issue17290] pythonw - loading cursor bug when launching scripts

2013-02-25 Thread Vinay Sajip
Vinay Sajip added the comment: Please post, on a machine where the problem is occurring, the contents of the following keys in the registry. What I have shown below is what you should have (allowing for differing locations for Windows): [HKEY_CLASSES_ROOT\.py] @="Python.File" [HKEY_CLASSES_RO

[issue3991] urllib.request.urlopen does not handle non-ASCII characters

2013-02-25 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue11671] Security hole in wsgiref.headers.Headers

2013-02-25 Thread STINNER Victor
STINNER Victor added the comment: +if bad_header_value_re.search(_value): +error_str = "Bad header value: {0!r} (bad char: {1!r})" +raise AssertionError(error_str.format( +_value, bad_header_value_re.search(_value).group(0))) Why do you search the

[issue17297] Issue with return in recursive functions

2013-02-25 Thread R. David Murray
R. David Murray added the comment: Yes, the bug tracker is not a good place to get help on programming. python-list, or the python-tutors list, will produce much more useful results for you. -- nosy: +r.david.murray resolution: -> invalid stage: -> committed/rejected status: open ->

[issue17290] pythonw - loading cursor bug when launching scripts

2013-02-25 Thread netrick
netrick added the comment: Well I did fresh install of windows xp and encountered it. On the other pc with xp I tried it is also present. I don't know why I encounter this, I must try more PCs. If you have xp, please try if you can reproduce the issue and post your result here. -- __

[issue16632] Enable DEP and ASLR

2013-02-25 Thread Lukas Lueg
Changes by Lukas Lueg : -- nosy: -ebfe ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue16632] Enable DEP and ASLR

2013-02-25 Thread STINNER Victor
STINNER Victor added the comment: > I see a crash in test_capi and a couple of crashes > in test_faulthandler but these don't seem to be related. Which kind of crash? faulthandler has functions to make Python crash, crashes are expected :-) -- nosy: +haypo

[issue16935] unittest should understand SkipTest at import time during test discovery

2013-02-25 Thread Zachary Ware
Zachary Ware added the comment: Thanks for the review, Ezio. I've made some changes and here's the new patch. -- Added file: http://bugs.python.org/file29237/issue16935.v3.diff ___ Python tracker _

[issue17297] Issue with return in recursive functions

2013-02-25 Thread Matthew Barnett
Matthew Barnett added the comment: This question should've been posted to python-l...@python.org, not here. Your functions are calling themselves, but not returning the result of the call to their own callers. -- ___ Python tracker

[issue17223] Initializing array.array with unicode type code and buffer segfaults

2013-02-25 Thread STINNER Victor
STINNER Victor added the comment: If the problem is that PyUnicode_FromUnicode() rejects character outside range [U+; U+10], it would be better to use the byte string '\xff' * sizeof_PY_UNICODE. U+66647361 may become valid in a future version of Unicode, I don't thing that U+ w

[issue17297] Issue with return in recursive functions

2013-02-25 Thread Luis López Lázaro
New submission from Luis López Lázaro: Sorry if I am raising something naive as perhaps I am doing something wrong as I am both an amateur programmer and a newcomer to Python, but version 3.3 appears to have an issue with the return statement in the setting of recursive functions. When implem

[issue17290] pythonw - loading cursor bug when launching scripts

2013-02-25 Thread Tim Golden
Tim Golden added the comment: I can't reproduce this on XP either. I've tried various combinations of .py / .pyw, command line, double-click, etc. and I've not had a single problem. Let's hope someone else can suggest something -- ___ Python tracke

[issue16482] pdb.set_trace() clobbering traceback on error

2013-02-25 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue7238] frame.f_lineno doesn't get updated after local trace function assigned to it

2013-02-25 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue17296] Cannot unpickle classes derived from 'Exception'

2013-02-25 Thread R. David Murray
R. David Murray added the comment: I modified your script to run under both python2 and python3. I get the error for 2.5, 2.6, and 2.7. The script produces the same output (without the EXCEPTION ## EXCEPTION) under 2.4 and 3.3. -- Added file: http://bugs.python.org/file29235/bug_cpic

[issue17296] Cannot unpickle classes derived from 'Exception'

2013-02-25 Thread R. David Murray
R. David Murray added the comment: The reason I ask is because that issue ends with "reopen if you think this should be backported", so a backport is at least within the real of possibility :) -- ___ Python tracker

[issue17296] Cannot unpickle classes derived from 'Exception'

2013-02-25 Thread Andreas Hausmann
Andreas Hausmann added the comment: I have not tried in 3.3. I have no running installation of 3.3. I need a solution for 2.7 for a Zope project that was just ported to 2.7. My test for Python3 was halfheartedly on my standard Python3 installation (3.2) after reading Issue1692335. --

[issue17296] Cannot unpickle classes derived from 'Exception'

2013-02-25 Thread R. David Murray
R. David Murray added the comment: That issue was only fixed in 3.3. Does your code work in 3.3? -- nosy: +r.david.murray ___ Python tracker ___

[issue17296] Cannot unpickle classes derived from 'Exception'

2013-02-25 Thread Andreas Hausmann
New submission from Andreas Hausmann: When pickling/unpickling a class that derives from the builtin class Exception, unpickling results in a TypeError: ('__init__() takes at least 2 arguments (1 given)', , ()) A standard exception like ValueError can be pickled/unpickled without any problem.

[issue17295] __slots__ on PyVarObject subclass

2013-02-25 Thread Ronald Oussoren
New submission from Ronald Oussoren: Currently a subclass of a PyVarObject (such as 'int') cannot use a non-empty slots, for example: >>> class L (int): ...__slots__ = ('a', 'b') ... Traceback (most recent call last): File "", line 1, in TypeError: nonempty __slots__ not supported for s

[issue11470] Flag inappropriate uses of callable class attributes

2013-02-25 Thread Ulrich Eckhardt
Changes by Ulrich Eckhardt : -- nosy: +eckhardt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue17290] pythonw - loading cursor bug when launching scripts

2013-02-25 Thread netrick
netrick added the comment: And remember that on the exactly the same computers when I uninstalled python 3.3 and installed python 3.2, everything works flawlessy (because python 3.2 sets .pyw files to open through pythonw.exe). -- ___ Python tracker

[issue17290] pythonw - loading cursor bug when launching scripts

2013-02-25 Thread netrick
netrick added the comment: I can use assoc command for .py extension but I can't for .pyw. Maybe that's some clue... The strange thing is that explicit "pyw.exe app.pyw" gives no bug, and associating .pyw files to "pyw.exe" gives the bug when double clicking. Honestly I have no idea what's go

[issue17290] pythonw - loading cursor bug when launching scripts

2013-02-25 Thread netrick
netrick added the comment: So: 1) "assoc .pyw # -> Python.NoConFile" gives an error that it can't find association for .pyw extension 2) opening terminal in proper directory and typing just "app.pyw" gives error that this is not known command I did small test. Using normal (from explorer) "ope

[issue17277] incorrect line numbers in backtrace after removing a trace function

2013-02-25 Thread Xavier de Gaye
Xavier de Gaye added the comment: The traced_frame.patch fixes also issue 7238 and issue 16482. -- ___ Python tracker ___ ___ Python-b

[issue10572] Move test sub-packages to Lib/test

2013-02-25 Thread Geoff Wilson
Geoff Wilson added the comment: Odd. I must be doing something wrong. My test workflow was: 1. hg mv 1a. modify files to resolve issues from the move 2. hg diff > issue.patch # attached 3. hg revert --all 4. patch -p1 < issue.patch Reading the hg docs more, I should have used 'hg patch

[issue17290] pythonw - loading cursor bug when launching scripts

2013-02-25 Thread Tim Golden
Tim Golden added the comment: Things may be a little more complicated, because one of two distinct mechanisms may be invoked to determine what to run when double-clicking: an Explorer-based mechanism, and a non-Explorer one. AFAICT, the former falls back to the latter. To check the latter, the c

[issue9285] Add a profile decorator to profile and cProfile

2013-02-25 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +Python 3.4 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue9285] Add a profile decorator to profile and cProfile

2013-02-25 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +bjorns ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue17130] Add runcall() function to profile.py and cProfile.py

2013-02-25 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> duplicate stage: needs patch -> committed/rejected status: open -> closed superseder: -> Add a profile decorator to profile and cProfile ___ Python tracker _

[issue10572] Move test sub-packages to Lib/test

2013-02-25 Thread Éric Araujo
Éric Araujo added the comment: Mercurial’s diff formats are actually able to represent file creation, deletion and rename. -- ___ Python tracker ___

[issue17290] pythonw - loading cursor bug when launching scripts

2013-02-25 Thread netrick
netrick added the comment: My OS is Windows XP so it may be only XP related. So, python 3.3 and my testing: 1) pythonw app.pyw - no bug 2) python app.pyw - no bug 3) pyw app.pyw - no bug 4) py app.pyw - no bug 5) double click on app.pyw - BUG Tested on 2 different computers with exactly the sam

[issue16986] ElementTree incorrectly parses strings with declared encoding not UTF-8

2013-02-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch for C implementation. Python implementation was fixed in issue17089. -- dependencies: +Expat parser parses strings only when XML encoding is UTF-8 -Parameter type error for xml.sax.parseString(string, ...) keywords: +patch Added file:

[issue17290] pythonw - loading cursor bug when launching scripts

2013-02-25 Thread Tim Golden
Changes by Tim Golden : -- nosy: +mhammond, vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue17290] pythonw - loading cursor bug when launching scripts

2013-02-25 Thread Tim Golden
Tim Golden added the comment: I can't reproduce this running Python 3.3 on Win7. I'll try WinXP later. I'll also add Mark Hammond & Vinay as they implemented the PEP397 loader. -- ___ Python tracker ___

[issue15083] Rewrite ElementTree tests in a cleaner and safer way

2013-02-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset af570205b978 by Serhiy Storchaka in branch '3.3': Issue #15083: Convert ElementTree doctests to unittests. http://hg.python.org/cpython/rev/af570205b978 New changeset 5eefc85b8be8 by Serhiy Storchaka in branch 'default': Issue #15083: Convert Elemen

[issue17290] pythonw - loading cursor bug when launching scripts

2013-02-25 Thread Tim Golden
Tim Golden added the comment: netrick: can you confirm that the same thing occurs when you explicitly run your code via the pyw command. ie when you do this: pyw myprog.pyw Also, what happens when you run: py myprog.pyw ie when you use the Console launcher to launch the .pyw? --

[issue4331] Can't use _functools.partial() created function as method

2013-02-25 Thread R. David Murray
R. David Murray added the comment: See also issue 11470. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue17290] pythonw - loading cursor bug when launching scripts

2013-02-25 Thread netrick
netrick added the comment: The issue is NOT present in python 3.2. I'm not expert, but given that it work in 3.2 and works in 3.3 using direct "pythonw" command, I'm almost sure it's new windows launcher. Even if I'm wrong, you guys can be sure that the issue appeared in 3.3 so there are only

[issue15083] Rewrite ElementTree tests in a cleaner and safer way

2013-02-25 Thread Eli Bendersky
Changes by Eli Bendersky : -- versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

  1   2   >