[issue18079] documentation tutorial 3.1.3 typo

2013-05-28 Thread arbour
New submission from arbour: documentation tutorial 3.1.3 typo at page 15 (21/127) >>> p[0] ['a','b','c'] >>> p[0][1] 'b' should be: >>> x[0] ['a','b','c'] >>> x[0][1] 'b' -- assignee: docs@python components: Documentation files: tutorial.pdf messages: 190178 nosy: arbour, docs@python

[issue18077] dis.dis throws IndexError

2013-05-28 Thread Elazar Gershuni
Elazar Gershuni added the comment: Is it standard procedure to raise an unrelated exception in when an invalid parameter is passed? I did not encounter any other library function that behaves like this. Especially taking the fact that this is the normal usage in python3. How do I supposed to

[issue18077] dis.dis raises IndexError

2013-05-28 Thread Elazar Gershuni
Changes by Elazar Gershuni : -- title: dis.dis throws IndexError -> dis.dis raises IndexError ___ Python tracker ___ ___ Python-bugs-l

[issue18077] dis.dis throws IndexError

2013-05-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: On 28 May, 2013, at 10:28, Elazar Gershuni wrote: > > Elazar Gershuni added the comment: > > Is it standard procedure to raise an unrelated exception in when an invalid > parameter is passed? I did not encounter any other library function that > behaves li

[issue18077] dis.dis throws IndexError

2013-05-28 Thread Elazar Gershuni
Elazar Gershuni added the comment: If you pass 'None' for `path`, then "'NoneType' object has no attribute 'endswith'" is not as nearly as obscure. But if you insist not to fix it, and don't mind to leave another arbitrary inconsistency between python2 and python3 obscured, I have nothing more

[issue18080] setting CC no longer overrides default linker for extension module builds on OS X

2013-05-28 Thread Ned Deily
New submission from Ned Deily: As part of the initial changes for Issue13590 in 2.7.3, 3.2.3, and 3.3 (prior to release) to Distutils to support building extension modules on OS X with Xcode 4, code was added to substitute the clang compiler if the older gcc-4.2 supplied with Xcode 3 was not f

[issue18080] setting CC no longer overrides default linker for extension module builds on OS X

2013-05-28 Thread Ned Deily
Changes by Ned Deily : -- keywords: +patch nosy: +ronaldoussoren Added file: http://bugs.python.org/file30395/issue18080_ldshared_2.7.patch ___ Python tracker ___ ___

[issue18054] Add more exception related assertions to unittest

2013-05-28 Thread Michael Foord
Michael Foord added the comment: I'm slightly torn. TestCase has a wide (wy too wide) API and adding methods makes it wider. The use cases for these methods are relatively niche, so my instinct would be that these don't meet the bar for inclusion on TestCase. On the other hand, despite t

[issue18079] documentation tutorial 3.1.3 typo

2013-05-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: docs@python -> serhiy.storchaka nosy: +serhiy.storchaka versions: +Python 3.4 ___ Python tracker ___ __

[issue18079] documentation tutorial 3.1.3 typo

2013-05-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset bde91dddbcbc by Serhiy Storchaka in branch '3.3': Issue #18079: Fix a typo in the tutorial. http://hg.python.org/cpython/rev/bde91dddbcbc New changeset 09b88b5bebd0 by Serhiy Storchaka in branch 'default': Issue #18079: Fix a typo in the tutorial. h

[issue18077] dis.dis raises IndexError

2013-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Seconded Ronald. It's not a bug. -- nosy: +serhiy.storchaka resolution: -> invalid stage: -> committed/rejected status: open -> closed title: dis.dis throws IndexError -> dis.dis raises IndexError type: compile error -> behavior

[issue18079] documentation tutorial 3.1.3 typo

2013-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Fixed. Thank you for your report. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue18077] dis.dis raises IndexError

2013-05-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: The automatic compilation of source code cannot be added to the 2.7 version of the dis module because that would be a new feature and we don't add new features in bugfix releases. The feature was added to Python 3.x in issue #6507, and was first included in

[issue18078] threading.Condition to allow notify on a specific waiter

2013-05-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue18054] Add more exception related assertions to unittest

2013-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm sure not all user of the TestCase class even know about all it's existing methods. -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue15392] Create a unittest framework for IDLE

2013-05-28 Thread Nick Coghlan
Nick Coghlan added the comment: Building without threads is generally going to be for embedded systems without a GUI anyway, so I think it's fine to just skip the entire IDLE test suite when real threads aren't available. -- ___ Python tracker

[issue18054] Add more exception related assertions to unittest

2013-05-28 Thread Nick Coghlan
Nick Coghlan added the comment: I like the idea of a separate mixin class like TracebackMixin or TracebackHelper. -- ___ Python tracker ___ _

[issue17987] test.support.captured_stderr, captured_stdin not documented

2013-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I believe it is a mechanical mistake in test_captured_stdin(). -- nosy: +eli.bendersky versions: -Python 3.5 ___ Python tracker ___ _

[issue18075] Infinite recursion tests triggering a segfault

2013-05-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: I can confirm the problem. It appears to be a stack overflow, when I increase the stack size of the main thead (by adding "-Wl,-stack_size,2faf000" to the link command for BUILDPYTHON) the crash in test_json goes away. Appearently the default maximum stack si

[issue18054] Add more exception related assertions to unittest

2013-05-28 Thread Aaron Iles
Changes by Aaron Iles : -- nosy: +aliles ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue8083] urllib proxy interface is too limited

2013-05-28 Thread Ankur Ankan
Changes by Ankur Ankan : -- nosy: +Ankur.Ankan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue18078] threading.Condition to allow notify on a specific waiter

2013-05-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm not sure what the point is. If you want to wake up a specific thread, you'd probably be better off with a dedicated per-thread synchronization primitive (either a Condition or something else). -- nosy: +neologix ___

[issue18078] threading.Condition to allow notify on a specific waiter

2013-05-28 Thread João Bernardo
João Bernardo added the comment: I usually have hundreds of threads waiting on a single Condition object and I wake them with .notify_all() Sometimes, I want a specific thread to wake from this condition and finish their job apart from the others. The problem is that I have 2 "conditions" to

[issue18050] embedded interpreter or virtualenv fails with "ImportError: cannot import name MAXREPEAT"

2013-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I am afraid that importing MAXREPEAT is not the only issue. Short time ago, CODESIZE was increased from 2 to 4 on narrow builds (issue1160). This makes compiled patterns generated by Lib/sre_compile.py incompatible with old _sre module on narrow builds. I t

[issue18080] setting CC no longer overrides default linker for extension module builds on OS X

2013-05-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: LGTM -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue17987] test.support.captured_stderr, captured_stdin not documented

2013-05-28 Thread Dmi Baranov
Dmi Baranov added the comment: `captured_stdin` test changed, docs updated. -- Added file: http://bugs.python.org/file30396/issue17987_3.patch ___ Python tracker ___

[issue17987] test.support.captured_stderr, captured_stdin not documented

2013-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think it will be better to describe all three functions together (as sys.stdin/stdout/stderr). .. function:: captured_stdin() captured_stdout() captured_stderr() ... description ... Example use:: ... example for captu

[issue17987] test.support.captured_stderr, captured_stdin not documented

2013-05-28 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: Joining the documentation for captured_stderr and captured_stdout makes sense, as they can really use a single example, and the usage is completely parallel. I'd rather see captured_stdin handled separately, perhaps with some additional comments in the examp

[issue18075] Infinite recursion tests triggering a segfault

2013-05-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: The attached patch fixes the problem on OSX by increasing the maximum stack size of the main thread from 8M (the default) to 16M. NOTE: The -Wl,-stack_size,... option cannot be added to LDFLAGS, ld errors out when that option is used when linking a shared li

[issue18011] Inconsistency between b32decode() documentation, docstring and code

2013-05-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue18011] Inconsistency between b32decode() documentation, docstring and code

2013-05-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0b9bcb2ac145 by Serhiy Storchaka in branch '3.3': Issue #18011: base64.b32decode() now raises a binascii.Error if there are http://hg.python.org/cpython/rev/0b9bcb2ac145 New changeset 7446f53ba2d2 by Serhiy Storchaka in branch 'default': Issue #1801

[issue18011] Inconsistency between b32decode() documentation, docstring and code

2013-05-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 29a823f31465 by Serhiy Storchaka in branch 'default': Issue #18011: Silence an unrelated noise introduced in changeset 1b5ef05d6ced. http://hg.python.org/cpython/rev/29a823f31465 -- ___ Python tracker

[issue17746] test_shutil.TestWhich.test_non_matching_mode fails when running as root

2013-05-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset b98380a1d979 by Serhiy Storchaka in branch '3.3': Issue #17746: Skip test_shutil.test_non_matching_mode when run as root or http://hg.python.org/cpython/rev/b98380a1d979 New changeset 96e543ba96a4 by Serhiy Storchaka in branch 'default': Issue #1774

[issue17987] test.support.captured_stderr, captured_stdin not documented

2013-05-28 Thread Dmi Baranov
Dmi Baranov added the comment: Amended, as discussed. Also changed documentation from "how to use a context managers with that" to "how it works". -- Added file: http://bugs.python.org/file30398/issue17987_4.patch ___ Python tracker

[issue17746] test_shutil.TestWhich.test_non_matching_mode fails when running as root

2013-05-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue18075] Infinite recursion tests triggering a segfault

2013-05-28 Thread Ronald Oussoren
Ronald Oussoren added the comment: The update fixes the name error mention in rietveld. -- Added file: http://bugs.python.org/file30399/issue-18075-osx-stacksize-update.txt ___ Python tracker _

[issue17987] test.support.captured_stderr, captured_stdin not documented

2013-05-28 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: -eli.bendersky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue17987] test.support.captured_stderr, captured_stdin not documented

2013-05-28 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: +1 for issue17987_4.patch Thanks, Dmi! -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue18075] Infinite recursion tests triggering a segfault

2013-05-28 Thread Brett Cannon
Brett Cannon added the comment: LGTM -- assignee: -> ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue18025] Buffer overflow in BufferedIOBase.readinto()

2013-05-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset b864f4056b78 by Serhiy Storchaka in branch '3.3': Issue #18025: Fixed a segfault in io.BufferedIOBase.readinto() when raw http://hg.python.org/cpython/rev/b864f4056b78 New changeset ad56dff3602f by Serhiy Storchaka in branch 'default': Issue #18025:

[issue17987] test.support.captured_stderr, captured_stdin not documented

2013-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > I'd rather see captured_stdin handled separately, perhaps with some > additional comments in the example, to emphasize the intended usage > pattern: However all three functions share a description. sys.stdin also has totally different usage pattern than sys

[issue17872] Crash in marshal.load() with bad reader

2013-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could anyone review a patch please? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue18025] Buffer overflow in BufferedIOBase.readinto()

2013-05-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue16741] `int()`, `float()`, etc think python strings are null-terminated

2013-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Are there any other comments? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue15239] Abandoned Tools/unicode/mkstringprep.py

2013-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Is there a chance, Martin? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue18078] threading.Condition to allow notify on a specific waiter

2013-05-28 Thread Richard Oudkerk
Richard Oudkerk added the comment: > BTW, I find .notify(N) not much useful, because the docs say it may wake > more threads on a different implementation and also I can't never know > whom am I waking. The fact that more than N threads can wake up is not a problem if you are retesting an app

[issue17846] Building Python on Windows - Supplementary info

2013-05-28 Thread Zachary Ware
Zachary Ware added the comment: Michael, you may be interested in a configure.bat/make.bat system which I have proposed in issue16895. I would certainly be interested in your review of it, as it seems that core developers who have the ability, inclination, and (probably most importantly) time

[issue17987] test.support.captured_stderr, captured_stdin not documented

2013-05-28 Thread Dmi Baranov
Dmi Baranov added the comment: Thanks for review, Serhiy - updated. -- Added file: http://bugs.python.org/file30400/issue17987_5.patch ___ Python tracker ___

[issue16895] Batch file to mimic 'make' on Windows

2013-05-28 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue18065] set __path__ = [] for frozen packages

2013-05-28 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue17846] Building Python on Windows - Supplementary info

2013-05-28 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue18078] threading.Condition to allow notify on a specific waiter

2013-05-28 Thread João Bernardo
João Bernardo added the comment: > But it might be nice to be able to wait on multiple conditions at > once, assuming they are associated with the same lock. Maybe we could > have a static method This could solve the waiting problem for the "thread", but also may keep the other Condition obj

[issue17691] Fix test discovery for test_univnewlines.py

2013-05-28 Thread Zachary Ware
Zachary Ware added the comment: Looking at this again, the test_main magic wasn't too arcane, so here's a patch that does away with test_main (or load_tests) completely. -- Added file: http://bugs.python.org/file30401/test_univnewlines_discovery.v2.diff

[issue8508] 2to3 fixer for gettext's .ugettext

2013-05-28 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On May 26, 2013, at 12:37 PM, Mark Lawrence wrote: >Barry, would you like to follow up on this? My personal interest in this has waned, since I try to avoid 2to3 like the plague. ;) -- ___ Python tracker

[issue1693050] \w not helpful for non-Roman scripts

2013-05-28 Thread Jeffrey C. Jacobs
Jeffrey C. Jacobs added the comment: Matthew, I think that is considered a single word in Sanscrit or Thai so Python 3.x is correct. In this case you've written the Sanscrit word for Hindi. -- ___ Python tracker

[issue18081] test_logging failure in WarningsTest on buildbots

2013-05-28 Thread R. David Murray
New submission from R. David Murray: The following failure is showing up frequently in the buildbots. I haven't checked closely enough to be sure if it is a heisenberg, but I suspect it is, since it doesn't seem to be related to any of the recent changesets that would have been included in th

[issue18078] threading.Condition to allow notify on a specific waiter

2013-05-28 Thread Richard Oudkerk
Richard Oudkerk added the comment: > This could solve the waiting problem for the "thread", but also may > keep the other Condition objs waiting -- and that may not be problem > because I'm already using .notify_all() I don't understand what you mean. > Probably this function have more use ca

[issue16662] load_tests not invoked in package/__init__.py

2013-05-28 Thread Leo Arias
Changes by Leo Arias : -- nosy: +elopio ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue13355] random.triangular error when low = high=mode

2013-05-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: committed/rejected -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue18078] threading.Condition to allow notify on a specific waiter

2013-05-28 Thread João Bernardo
João Bernardo added the comment: > It would be for waiting for several conditions associated with the > same lock, not for waiting for several locks. A Condition uses a 2 lock mechanism: - outer lock: one for all the waiters to access the Condition object - inner lock: one for each waiter

[issue13355] random.triangular error when low = high=mode

2013-05-28 Thread Mark Dickinson
Changes by Mark Dickinson : -- nosy: -mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue15239] Abandoned Tools/unicode/mkstringprep.py

2013-05-28 Thread Martin v . Löwis
Martin v. Löwis added the comment: I find the patch too large to review, and it appears to contain unrelated changes. Can you kindly split it up into two patches, namely A) changes that are really absolutely necessary to make it work again B) patches that are purely cosmetic, and do not affect

[issue18082] Inconsistent behavior of IOBase methods on closed files

2013-05-28 Thread Dwight Guth
New submission from Dwight Guth: Consider the following program: import io class A(io.IOBase): def __init__(self): self.x = 5 def read(self, limit=-1): self.x -= 1 if self.x > 0: return b"5" return b"" def seek(self, offset, whence=0): return 0 def wr

[issue18083] _sysconfigdata.py is installed in an arch-independent directory

2013-05-28 Thread Maciej Bliziński
New submission from Maciej Bliziński: _sysconfigdata.py is installed into ${prefix}/lib/pythonX.Y/_sysconfigdata.py which is an architecture-independent directory, as opposed to a path starting with e.g. ${libdir}, which is architecture-dependent. But _sysconfigdata.py contains architecture-de

[issue1693050] \w not helpful for non-Roman scripts

2013-05-28 Thread Matthew Barnett
Matthew Barnett added the comment: I'm not sure what you're saying. The re module in Python 3.3 matches only the first codepoint, treating the second codepoint as not part of a word, whereas the regex module matches all 6 codepoints, treating them all as part of a single word. -- ___

[issue18082] Inconsistent behavior of IOBase methods on closed files

2013-05-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +benjamin.peterson, hynek, pitrou, stutzbach ___ Python tracker ___ ___ Python-bugs-list mailin

[issue18078] threading.Condition to allow notify on a specific waiter

2013-05-28 Thread Richard Oudkerk
Richard Oudkerk added the comment: > You cannot associate several conditions to the *inner lock*, because you > don't have access to them (otherwise I wouldn't open this issue). Condition.wait_for_any() would create a single inner lock and add it to the _waiters list for each of the condition

[issue15239] Abandoned Tools/unicode/mkstringprep.py

2013-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a pure cosmetic patch. -- Added file: http://bugs.python.org/file30403/mkstringprep_cosmetic.patch ___ Python tracker ___

[issue15239] Abandoned Tools/unicode/mkstringprep.py

2013-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a minimal patch. -- Added file: http://bugs.python.org/file30402/mkstringprep_min.patch ___ Python tracker ___ ___

[issue18078] threading.Condition to allow notify on a specific waiter

2013-05-28 Thread João Bernardo
João Bernardo added the comment: > Condition.wait_for_any() would create a single inner lock and add it > to the _waiters list for each of the condition variables Now I see your point! Could it also have one (optional) argument so I can provide this lock myself? >while : >cond.wai

[issue15239] Abandoned Tools/unicode/mkstringprep.py

2013-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: And here is a patch which changes behavior. It adds check for validating end of table detection. -- Added file: http://bugs.python.org/file30404/mkstringprep_check.patch ___ Python tracker

[issue17925] asynchat.async_chat.initiate_send : del deque[0] is not safe

2013-05-28 Thread Andrew Stormont
Andrew Stormont added the comment: Looks like a reasonable fix to me. What needs to be done to get this integrated? -- nosy: +andy_js ___ Python tracker ___ ___

[issue14616] subprocess docs should mention pipes.quote/shlex.quote

2013-05-28 Thread Éric Araujo
Éric Araujo added the comment: > .. deprecated:: 1.6 This looks weird to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue11468] Improve unittest basic example in the doc

2013-05-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: -serhiy.storchaka stage: commit review -> patch review versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ __

[issue17925] asynchat.async_chat.initiate_send : del deque[0] is not safe

2013-05-28 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: After applying the patch I get these 2 failures on Linux: == FAIL: test_simple_producer (__main__.TestAsynchat) -- Tracebac

[issue18084] wave.py should use sys.byteorder to determine endianess

2013-05-28 Thread Hideaki Takahashi
New submission from Hideaki Takahashi: wave.py uses struct based endianness detecting code. However there is sys.byteorder in Python since Python 2.0. I think wave.py should use sys.byteorder to determine endianness. -- components: Library (Lib) messages: 190235 nosy: hideaki_t priority

[issue18084] wave.py should use sys.byteorder to determine endianess

2013-05-28 Thread Hideaki Takahashi
Changes by Hideaki Takahashi : Added file: http://bugs.python.org/file30405/diff ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue18085] Verifying refcounts.dat

2013-05-28 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: I found one error in Doc/data/refcounts.dat (see issue9369, second argument of PyObject_CallMethodObjArgs is `PyObject*`, not `char*`). Perhaps there are other errors. How this file was generated first? Is it possible to write a tool which will automatical

[issue18084] wave.py should use sys.byteorder to determine endianess

2013-05-28 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue18047] Descriptors get invoked in old-style objects and classes

2013-05-28 Thread Arnaud Porterie
Arnaud Porterie added the comment: Sorry if I am missing something, but it seems that the documentation doesn't match the behavior: the doc says that descriptors are invoked only for new styles objects and classes, while the attached code seems to prove the contrary. If my understanding is cor

[issue18085] Verifying refcounts.dat

2013-05-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0889ab0d0da1 by Serhiy Storchaka in branch '3.3': Issue #18085: Fix PyObject_CallMethodObjArgs()'s entry in refcounts.dat. http://hg.python.org/cpython/rev/0889ab0d0da1 New changeset ef9d42b98a3d by Serhiy Storchaka in branch '2.7': Issue #18085: Fi

[issue1772673] Replacing char* with const char*

2013-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also issue9369. -- dependencies: +const char* for PyObject_CallMethod and PyObject_CallFunction ___ Python tracker ___ _

[issue18085] Verifying refcounts.dat

2013-05-28 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: I'm a little surprised that still exists. The first version was generated manually. -- nosy: +fdrake ___ Python tracker ___ ___

[issue16895] Batch file to mimic 'make' on Windows

2013-05-28 Thread Richard Oudkerk
Richard Oudkerk added the comment: I can't say I know enough about batch files to understand much of the code, but a few notes: Windows XP does not have the command "where" which you use -- Python 3.4 will still support XP. Except perhaps for looping I would prefer to get rid of the use of go

[issue16895] Batch file to mimic 'make' on Windows

2013-05-28 Thread Brian Curtin
Brian Curtin added the comment: Can't this just be a Python script? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue18084] wave.py should use sys.byteorder to determine endianess

2013-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have added some comments on Rietveld. -- assignee: -> serhiy.storchaka stage: -> patch review type: -> enhancement versions: +Python 3.4 ___ Python tracker _

[issue16895] Batch file to mimic 'make' on Windows

2013-05-28 Thread Richard Oudkerk
Richard Oudkerk added the comment: > Can't this just be a Python script? That would cause bootstrap issues for people who do not already have python installed. -- ___ Python tracker __

[issue18085] Verifying refcounts.dat

2013-05-28 Thread Brett Cannon
Brett Cannon added the comment: Wow, I didn't even know that file existed. It could actually help with some static analysis of the C code to verify that the refcounts are as expected w/o actually having to do inter-procedural analysis to figure out all of the refcount values. I wonder if Dave'

[issue18085] Verifying refcounts.dat

2013-05-28 Thread Skip Montanaro
Skip Montanaro added the comment: As far as I can tell that file is still manually maintained. I see it mentioned in Doc/conf.py, but nowhere else. It shouldn't be hard to deal with manually, as the C API doesn't change that often. A verifier shouldn't be terribly difficult to write, as Pyth

[issue16895] Batch file to mimic 'make' on Windows

2013-05-28 Thread Zachary Ware
Zachary Ware added the comment: > Richard Oudkerk added the comment: > > I can't say I know enough about batch files to understand much of the code, > but a few notes: > > Windows XP does not have the command "where" which you use -- Python 3.4 will > still support XP. Oh, that is an issue. I

[issue16895] Batch file to mimic 'make' on Windows

2013-05-28 Thread Brian Curtin
Brian Curtin added the comment: Don't we already require an existing Python to build some of the third-party stuff, e.g., OpenSSL? I don't think the bootstrapping issue holds that much weight. Adding some huge batch script that maybe one or two people even know how to modify is a much higher

[issue16895] Batch file to mimic 'make' on Windows

2013-05-28 Thread Zachary Ware
Zachary Ware added the comment: > Brian Curtin added the comment: > > Don't we already require an existing Python to build some of the third-party > stuff, e.g., OpenSSL? Only for building a 64-bit Python on 32-bit Windows. Otherwise, OpenSSL is built using the just-built interpreter. > I don

[issue18085] Verifying refcounts.dat

2013-05-28 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: Were I adding that today, I'd use a more verbose (but more standard) format, like configparser or JSON. If any further use is going to be made of it, that should be considered. Colon-delimited is a pretty fragile format. -- ___

[issue18085] Verifying refcounts.dat

2013-05-28 Thread Skip Montanaro
Skip Montanaro added the comment: > Fred L. Drake, Jr. added the comment: > > Were I adding that today, I'd use a more verbose (but more standard) > format, like configparser or JSON. If any further use is going to be > made of it, that should be considered. Colon-delimited is a pretty > fragil

[issue18083] _sysconfigdata.py is installed in an arch-independent directory

2013-05-28 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +dmalcolm, doko ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue18084] wave.py should use sys.byteorder to determine endianess

2013-05-28 Thread Hideaki Takahashi
Changes by Hideaki Takahashi : -- keywords: +patch Added file: http://bugs.python.org/file30406/18084.patch ___ Python tracker ___ ___

[issue18050] embedded interpreter or virtualenv fails with "ImportError: cannot import name MAXREPEAT"

2013-05-28 Thread Ned Deily
Ned Deily added the comment: Serhly, while I don't disagree with your points, I should have made clearer that the issue here is that the _sre module is a static module (built into the interpreter executable or shared lib as shown in Modules/Setup.dist) and *not* included in the shared library

[issue15767] add ImportNotFoundError

2013-05-28 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: -> brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue18070] change importlib.util.module_for_loader to unconditionally set attributes

2013-05-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 185a0e649fb8 by Brett Cannon in branch 'default': Issue #18070: importlib.util.module_for_loader() now sets __loader__ http://hg.python.org/cpython/rev/185a0e649fb8 -- nosy: +python-dev ___ Python tracker

[issue18070] change importlib.util.module_for_loader to unconditionally set attributes

2013-05-28 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed ___ Python tracker ___

  1   2   >