[issue18220] In itertools.islice() make prototype like in help()

2013-06-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue18220] In itertools.islice() make prototype like in help()

2013-06-14 Thread py.user
New submission from py.user: http://docs.python.org/3/library/itertools.html#itertools.islice " itertools.islice(iterable, stop) itertools.islice(iterable, start, stop[, step])" >>> print(itertools.islice.__doc__) islice(iterable, [start,] stop [, step]) --> islice object ... -- assigne

[issue18219] csv.DictWriter is slow when writing files with large number of columns

2013-06-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think there is no need in public fieldset property. Just use private self._fieldset field in private _dict_to_list() method. -- nosy: +serhiy.storchaka ___ Python tracker

[issue14303] Incorrect documentation for socket.py on linux

2013-06-14 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue18219] csv.DictWriter is slow when writing files with large number of columns

2013-06-14 Thread Mikhail Traskin
New submission from Mikhail Traskin: _dict_to_list method of the csv.DictWriter objects created with extrasaction="raise" uses look-up in the list of field names to check if current row has any unknown fields. This results in O(n^2) execution time and is very slow if there are a lot of columns

[issue18218] In itertools.count() clarify the starting point

2013-06-14 Thread py.user
Changes by py.user : Removed file: http://bugs.python.org/file30596/issue18218.patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue18218] In itertools.count() clarify the starting point

2013-06-14 Thread py.user
Changes by py.user : Added file: http://bugs.python.org/file30597/issue18218.patch ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue18218] In itertools.count() clarify the starting point

2013-06-14 Thread py.user
New submission from py.user: http://docs.python.org/3/library/itertools.html#itertools.count "itertools.count(start=0, step=1) Make an iterator that returns evenly spaced values starting with n." starting with start -- assignee: docs@python components: Documentation files: issue.patch k

[issue18203] Replace calls to malloc() with PyMem_Malloc()

2013-06-14 Thread Nick Coghlan
Nick Coghlan added the comment: Note that CPython's main function accesses the C API before calling Py_Initialize(). This is insane, but fixing it is hard (and one of the main goals of PEP 432). I suggest using Py_IsInitialized() to exclude those from your debug checks for now. -- _

[issue18153] python imaplib - error 'unexpected repsonse'

2013-06-14 Thread tahnoon pasha
tahnoon pasha added the comment: Okay David. Thanks for the pointer. With great trepidation Ill hit google and try and figure out how to create a test case for this. -- ___ Python tracker _

[issue17177] Deprecate imp

2013-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset cc27d50bd91a by Brett Cannon in branch 'default': Issue #17177: stop using imp for compileall. http://hg.python.org/cpython/rev/cc27d50bd91a -- ___ Python tracker

[issue17177] Deprecate imp

2013-06-14 Thread Brett Cannon
Brett Cannon added the comment: ack "import (\w+, *)*imp(,|\n)|from imp import" -l -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue17177] Deprecate imp

2013-06-14 Thread Brett Cannon
Brett Cannon added the comment: To have it on record, the command I am using to find uses of imp is:: ack "import imp(,|\n)|from imp import" -l -- ___ Python tracker ___ __

[issue17177] Deprecate imp

2013-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3d3b9d456eb8 by Brett Cannon in branch 'default': Issue #17177: Update the programming FAQ to use importlib http://hg.python.org/cpython/rev/3d3b9d456eb8 -- nosy: +python-dev ___ Python tracker

[issue17177] Deprecate imp

2013-06-14 Thread Brett Cannon
Brett Cannon added the comment: Sorry, bad regex: it's more like 60 files. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue17177] Deprecate imp

2013-06-14 Thread Brett Cannon
Brett Cannon added the comment: And in case anyone is interested, it could be as many as 98 files to go through. =) -- ___ Python tracker ___ ___

[issue17177] Deprecate imp

2013-06-14 Thread Brett Cannon
Brett Cannon added the comment: Everything that is going to be kept around has been moved. That just leaves: 1. Removing all uses of imp from the stdlib 2. Document as deprecated the last few things in imp which are simply being removed (including adding a note in the docstrings) 3. Remove all

[issue18194] Move imp.source_from_cache/cache_from_source to importlib

2013-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 32067804942e by Brett Cannon in branch 'default': Issue #18194: Introduce importlib.util.cache_from_source() and http://hg.python.org/cpython/rev/32067804942e -- nosy: +python-dev ___ Python tracker

[issue18194] Move imp.source_from_cache/cache_from_source to importlib

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

[issue17907] Deprecate imp.new_module() in favour of types.ModuleType

2013-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9cacdb9d0c59 by Brett Cannon in branch 'default': Issue #17907: touch up the code for imp.new_module(). http://hg.python.org/cpython/rev/9cacdb9d0c59 -- ___ Python tracker

[issue3329] API for setting the memory allocator used by Python

2013-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset b1455dd08000 by Victor Stinner in branch 'default': Revert changeset 6661a8154eb3: Issue #3329: Add new APIs to customize memory allocators http://hg.python.org/cpython/rev/b1455dd08000 -- ___ Python tra

[issue18203] Replace calls to malloc() with PyMem_Malloc()

2013-06-14 Thread STINNER Victor
STINNER Victor added the comment: Ok, initial patches are attached. Let describe them a little bit. - pymem_debugcheckgil-2.patch: I don't think that this patch can be commited before the "bootstrap" issue is solved (Python doesn't start in debug mode with this patch when -W or -X command line

[issue18203] Replace calls to malloc() with PyMem_Malloc()

2013-06-14 Thread STINNER Victor
STINNER Victor added the comment: malloc_modules.patch: Patch for different Python modules. -- Added file: http://bugs.python.org/file30595/malloc_modules.patch ___ Python tracker __

[issue17947] Code, test, and doc review for PEP-0435 Enum

2013-06-14 Thread Nick Coghlan
Nick Coghlan added the comment: Nicely done - you can also mark the PEP as Final now :) -- ___ Python tracker ___ ___ Python-bugs-list

[issue18203] Replace calls to malloc() with PyMem_Malloc()

2013-06-14 Thread STINNER Victor
STINNER Victor added the comment: malloc_init.patch: Patch for functions called at Python initialization. This patch is not complete: to parse "-X" option (PySys_AddXOption) and "-W" (PySys_AddWarnOption), PyMem_Malloc() and PyObject_Malloc() are still called indirectly. Fixing this issue may

[issue16742] PyOS_Readline drops GIL and calls PyOS_StdioReadline, which isn't thread safe

2013-06-14 Thread STINNER Victor
STINNER Victor added the comment: Updated patch for the final API of #3329. Update also the documentation. PyOS_ReadlineFunctionPointer must now use PyMem_RawMalloc() or PyMem_RawRealloc(), instead of PyMem_Malloc() or PyMem_Realloc(). -- Added file: http://bugs.python.org/file30593/re

[issue18203] Replace calls to malloc() with PyMem_Malloc()

2013-06-14 Thread STINNER Victor
STINNER Victor added the comment: See also issue #16742: "PyOS_Readline drops GIL and calls PyOS_StdioReadline, which isn't thread safe". -- ___ Python tracker ___ _

[issue17121] SSH upload for distutils

2013-06-14 Thread Tom Prince
Tom Prince added the comment: > "this package performs heavy monkey-patching of distutils to make it use the system's ssh command." > I don't think this bodes well for immediate inclusion, especially in a bugfix release. It only needs monkey-patching to convince distutils to connect over ssh. Th

[issue18203] Replace calls to malloc() with PyMem_Malloc()

2013-06-14 Thread STINNER Victor
STINNER Victor added the comment: pymem_debugcheckgil.patch: oops, a forgot a change in pgenmain.c. New fixed patch attached. -- Added file: http://bugs.python.org/file30592/pymem_debugcheckgil-2.patch ___ Python tracker

[issue18203] Replace calls to malloc() with PyMem_Malloc()

2013-06-14 Thread STINNER Victor
STINNER Victor added the comment: py_finalize.patch: modify Py_Finalize() to destroy the GIL after the last call to PyMem_Malloc() or PyObject_Malloc(). For example, PyCFunction_Fini() calls PyObject_GC_Del() which calls PyObject_FREE(). -- Added file: http://bugs.python.org/file30591/

[issue18203] Replace calls to malloc() with PyMem_Malloc()

2013-06-14 Thread STINNER Victor
STINNER Victor added the comment: pymem_debugcheckgil.patch: Patch adding check in debug mode to ensure that PyMem_Malloc() and PyObject_Malloc() are called with the GIL held. -- keywords: +patch Added file: http://bugs.python.org/file30590/pymem_debugcheckgil.patch ___

[issue17947] Code, test, and doc review for PEP-0435 Enum

2013-06-14 Thread STINNER Victor
STINNER Victor added the comment: > New changeset e7a01c7f69fe by Ethan Furman in branch 'default': > Closes issue 17947. Adds PEP-0435 (Adding an Enum type to the Python > standard library). > http://hg.python.org/cpython/rev/e7a01c7f69fe Great job :-) -- nosy: +haypo __

[issue17947] Code, test, and doc review for PEP-0435 Enum

2013-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset e7a01c7f69fe by Ethan Furman in branch 'default': Closes issue 17947. Adds PEP-0435 (Adding an Enum type to the Python standard library). http://hg.python.org/cpython/rev/e7a01c7f69fe -- resolution: -> fixed stage: commit review -> commit

[issue17907] Deprecate imp.new_module() in favour of types.ModuleType

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

[issue17907] Deprecate imp.new_module() in favour of types.ModuleType

2013-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset be50f1403f4d by Brett Cannon in branch 'default': Issue #17907: Document types.ModuleType's constructor and attributes, http://hg.python.org/cpython/rev/be50f1403f4d -- nosy: +python-dev ___ Python tracke

[issue18153] python imaplib - error 'unexpected repsonse'

2013-06-14 Thread R. David Murray
R. David Murray added the comment: I'll also note that if you start from the traceback and look at the code involved in the exception (keeping in mind that since the exception is caught, in python2 you lose the original cause, which is therefore in the function called in the try block), there

[issue18203] Replace calls to malloc() with PyMem_Malloc()

2013-06-14 Thread STINNER Victor
STINNER Victor added the comment: I commited my new API to customize memory allocators: New changeset 6661a8154eb3 by Victor Stinner in branch 'default': Issue #3329: Add new APIs to customize memory allocators http://hg.python.org/cpython/rev/6661a8154eb3 I added PyMem_RawMalloc(), PyMem_RawRe

[issue18192] Move imp.get_magic() to importlib

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

[issue18153] python imaplib - error 'unexpected repsonse'

2013-06-14 Thread R. David Murray
R. David Murray added the comment: Well, the first thing to do would be to write a test that reproduces the problem. There is test infrastructure in Lib/test/test_imaplib.py, but I will admit that writing the server side of imaplib tests is not a walk in the park. You are welcome to take a l

[issue18153] python imaplib - error 'unexpected repsonse'

2013-06-14 Thread R. David Murray
R. David Murray added the comment: Oh, by the way there's a bit more of the test infrastructure in python3 compared to python2. -- ___ Python tracker ___ ___

[issue18192] Move imp.get_magic() to importlib

2013-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5619bc2d8207 by Brett Cannon in branch 'default': Issue #18192: Introduce importlib.util.MAGIC_NUMBER and document the http://hg.python.org/cpython/rev/5619bc2d8207 -- nosy: +python-dev ___ Python tracker

[issue3329] API for setting the memory allocator used by Python

2013-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6661a8154eb3 by Victor Stinner in branch 'default': Issue #3329: Add new APIs to customize memory allocators http://hg.python.org/cpython/rev/6661a8154eb3 -- nosy: +python-dev ___ Python tracker

[issue17907] Deprecate imp.new_module() in favour of types.ModuleType

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

[issue18192] Move imp.get_magic() to importlib

2013-06-14 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: barry -> brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue18194] Move imp.source_from_cache/cache_from_source to importlib

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

[issue17222] py_compile.compile() replaces target files, breaking special files and symlinks

2013-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 46ef1d2af352 by Brett Cannon in branch 'default': Issue #17222: Raise FileExistsError when py_compile.compile would http://hg.python.org/cpython/rev/46ef1d2af352 -- ___ Python tracker

[issue17222] py_compile.compile() replaces target files, breaking special files and symlinks

2013-06-14 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___

[issue18149] filecmp.cmp() incorrect results when previously compared file is modified within modification time resolution

2013-06-14 Thread Ned Deily
Ned Deily added the comment: Committed for release in 3.4.0. Thanks, Mark. -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker

[issue18149] filecmp.cmp() incorrect results when previously compared file is modified within modification time resolution

2013-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset bfd53dcb02ff by Ned Deily in branch 'default': Issue #18149: Add filecmp.clear_cache() to manually clear the filecmp cache. http://hg.python.org/cpython/rev/bfd53dcb02ff -- nosy: +python-dev ___ Python tr

[issue18153] python imaplib - error 'unexpected repsonse'

2013-06-14 Thread tahnoon pasha
tahnoon pasha added the comment: http://sourceforge.net/p/davmail/bugs/532/ The response back from the davmail software maintainer is that this is a non RFC mechanism with a purpose (used as a keep alive on a very slow responding server - SELECT can be very slow when getting mail this way.) I

[issue18217] Deprecate and remove gettext.install

2013-06-14 Thread R. David Murray
R. David Murray added the comment: Which is what Barry's library does. But rather than just deprecating install, I think we should fix the module so that it supports this directly. That could be as simple as adding a dynamic translations class. What does library code that wants to provide in

[issue18217] Deprecate and remove gettext.install

2013-06-14 Thread Alex Gaynor
Alex Gaynor added the comment: I think the code makes what this does much clearer: http://hg.python.org/cpython/file/01da7bf11ca1/Lib/gettext.py#l209 There's no reason you can't make your own translation object, and expose it's gettext method as as your API, and then you can update the underly

[issue18217] Deprecate and remove gettext.install

2013-06-14 Thread R. David Murray
R. David Murray added the comment: install says this: This installs the function _() in Python’s builtins namespace, based on domain, localedir, and codeset which are passed to the function translation() Unless I'm misunderstanding something, this means that the actual value of _ is diffe

[issue18217] Deprecate and remove gettext.install

2013-06-14 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Jun 14, 2013, at 09:27 PM, R. David Murray wrote: >How would you do dynamic switching of translation locale at runtime, then? flufl.i18n :) http://pythonhosted.org/flufl.i18n/ -- ___ Python tracker

[issue18217] Deprecate and remove gettext.install

2013-06-14 Thread Alex Gaynor
Alex Gaynor added the comment: I'm not sure I understand the question. What `install()` does is set `__builtins__._` to be gettext. I think people should import the gettext function they need. -- ___ Python tracker

[issue18217] Deprecate and remove gettext.install

2013-06-14 Thread R. David Murray
R. David Murray added the comment: How would you do dynamic switching of translation locale at runtime, then? -- nosy: +r.david.murray ___ Python tracker ___

[issue12932] filecmp.dircmp does not allow non-shallow comparisons

2013-06-14 Thread Steve Ward
Steve Ward added the comment: Add input parameter 'shallow' to dircmp. Use it in phase3 and phase4. Document it in filecmp.rst. Did not modify test_filecmp.py. -- keywords: +patch Added file: http://bugs.python.org/file30589/issue12932.diff ___ Pytho

[issue18217] Deprecate and remove gettext.install

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

[issue15968] Incorporate Tcl/Tk/Tix into the Windows build process

2013-06-14 Thread Zachary Ware
Zachary Ware added the comment: The current patch doesn't apply cleanly anymore and contained an accidental reversion of a commit, so I took the liberty of creating an updated version. I'll also be leaving comments on Rietveld. -- Added file: http://bugs.python.org/file30588/issue1596

[issue11352] Update cgi module doc

2013-06-14 Thread A.M. Kuchling
Changes by A.M. Kuchling : -- nosy: +akuchling ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue18217] Deprecate and remove gettext.install

2013-06-14 Thread Alex Gaynor
New submission from Alex Gaynor: There's a myriad of reasons it's a bad idea: * Makes code harder to read * Doesn't play nicely with multiple projects using gettext * Defeats any attempt at static analysis * etc... -- messages: 191152 nosy: alex priority: normal severity: normal status:

[issue18216] gettext doesn't check MO versions

2013-06-14 Thread Jakub Wilk
New submission from Jakub Wilk: The MO file format specification[0] reads: "A program seeing an unexpected major revision number should stop reading the MO file entirely" But Python doesn't pay attention to versions at all. As a test-case I attached a MO file with a bogus major revision number.

[issue18155] csv.Sniffer.has_header doesn't escape characters used in regex

2013-06-14 Thread A.M. Kuchling
Changes by A.M. Kuchling : -- nosy: +akuchling ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue1475523] gettext breaks on plural-forms header

2013-06-14 Thread Jakub Wilk
Changes by Jakub Wilk : -- nosy: +jwilk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue18192] Move imp.get_magic() to importlib

2013-06-14 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Jun 14, 2013, at 07:53 PM, Brett Cannon wrote: >I'll put it into importlib.util.MAGIC. +1 -- ___ Python tracker ___ __

[issue18179] SMTP.local_hostname is undocumented

2013-06-14 Thread A.M. Kuchling
Changes by A.M. Kuchling : -- nosy: +akuchling ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue15968] Incorporate Tcl/Tk/Tix into the Windows build process

2013-06-14 Thread Zachary Ware
Changes by Zachary Ware : -- nosy: +zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue18192] Move imp.get_magic() to importlib

2013-06-14 Thread Brett Cannon
Brett Cannon added the comment: I'll put it into importlib.util.MAGIC. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue18000] _md5 should be built if _ssl cannot be built

2013-06-14 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue18192] Move imp.get_magic() to importlib

2013-06-14 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: The only argument I have about it is that if someone *does* want to use, it should be fairly easily discoverable. Also, since it's a concrete value, it seems a little weird that it's stashed in an abc. I suppose importlib.machinery.MAGIC is better than impo

[issue18212] No way to check whether Future is finished?

2013-06-14 Thread Ram Rachum
Ram Rachum added the comment: I guess that'd be equivalent, yes. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue18192] Move imp.get_magic() to importlib

2013-06-14 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: -> barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue18192] Move imp.get_magic() to importlib

2013-06-14 Thread Brett Cannon
Brett Cannon added the comment: Any chance I could get a response to my questions, Barry, soon? I think I can finish the rest of the issues related to deprecating imp this weekend if we can settle this quickly. -- ___ Python tracker

[issue18193] Move imp.reload() to importlib

2013-06-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 01da7bf11ca1 by Brett Cannon in branch 'default': Issue #18193: Add importlib.reload(), documenting (but not http://hg.python.org/cpython/rev/01da7bf11ca1 -- nosy: +python-dev status: pending -> open ___

[issue17177] Deprecate imp

2013-06-14 Thread Brett Cannon
Changes by Brett Cannon : -- title: Document/deprecate imp -> Deprecate imp ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue18193] Move imp.reload() to importlib

2013-06-14 Thread Brett Cannon
Brett Cannon added the comment: Thanks for the patch, Berker! -- assignee: -> brett.cannon stage: commit review -> committed/rejected status: open -> closed ___ Python tracker _

[issue18212] No way to check whether Future is finished?

2013-06-14 Thread Richard Oudkerk
Richard Oudkerk added the comment: Do you want something like f.done() and not f.cancelled() and f.exception() is None -- nosy: +sbt ___ Python tracker ___ _

[issue18193] Move imp.reload() to importlib

2013-06-14 Thread Brett Cannon
Brett Cannon added the comment: With Berker's nice use of TestCase.subTest() I think the patch is good to go! I should hopefully get this checked in today or tomorrow. -- resolution: -> fixed stage: patch review -> commit review status: open -> pending

[issue18193] Move imp.reload() to importlib

2013-06-14 Thread Berker Peksag
Changes by Berker Peksag : Added file: http://bugs.python.org/file30586/issue18193_v3.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue18193] Move imp.reload() to importlib

2013-06-14 Thread Brett Cannon
Brett Cannon added the comment: Answered Berker's questions from the review. At this point Berker just needs to tweak one line in the test and it should then be good to go. -- ___ Python tracker __

[issue18170] define built-in exceptions in Python code

2013-06-14 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue18193] Move imp.reload() to importlib

2013-06-14 Thread Berker Peksag
Berker Peksag added the comment: Updated patch adressing Brett's comments. -- Added file: http://bugs.python.org/file30585/issue18193_v2.diff ___ Python tracker ___ _

[issue18162] Add index attribute to IndexError

2013-06-14 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue18166] 'value' attribute for ValueError

2013-06-14 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue18163] Add a 'key' attribute to KeyError

2013-06-14 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue18213] py-bt errors on backtrace with PyRun_SimpleString and friends

2013-06-14 Thread Phil Muldoon
Phil Muldoon added the comment: Yes I did truncate the output, the backtrace was very long. This is my scenario: gdb --args ./gdb When the superior gdb loads, I did: (top-gdb) b frapy_pc (top-gdb) run In the inferior gdb, I did: (gdb) start (gdb) py g = gdb.selected_frame() (gdb) py print

[issue18215] Script to test multiple versions of OpenSSL

2013-06-14 Thread Christian Heimes
New submission from Christian Heimes: I have created a little script that automates downloading, compiling and testing multiple versions of OpenSSL. It's a bit of a hack but it suits its purpose. Maybe somebody likes to take it from here and turn it into a proper tool for Python's Tools/ direc

[issue17947] Code, test, and doc review for PEP-0435 Enum

2013-06-14 Thread Ethan Furman
Ethan Furman added the comment: Well, that made me laugh first thing in the morning! I had nuked and redone my clone, and yeah, forgot to re-add the files. :/ Trying again... Commit message was okay? -- ___ Python tracker

[issue18213] py-bt errors on backtrace with PyRun_SimpleString and friends

2013-06-14 Thread Dave Malcolm
Dave Malcolm added the comment: pmuldoon: did you truncate the output of bt? (or did the superior gdb you're using do this behind the scenes? I know you hack on gdb itself, and this looks a superior gdb debugging an inferior gdb). The reason for this error: Python Exception (2, 'No suc

[issue18214] Stop purging modules which are garbage collected before shutdown

2013-06-14 Thread Richard Oudkerk
New submission from Richard Oudkerk: Currently when a module is garbage collected its dict is purged by replacing all values except __builtins__ by None. This helps clear things at shutdown. But this can cause problems if it occurs *before* shutdown: if we use a function defined in a module

[issue18208] Wrong bytecode generated for 'in' operation

2013-06-14 Thread Phil Connell
Phil Connell added the comment: Thanks Amaury. That's quite surprising, but I wouldn't advocate changing such long standing behaviour. I'm closing the issue. -- status: pending -> closed ___ Python tracker __

[issue9122] Problems with multiprocessing, Python embedding and Windows

2013-06-14 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- nosy: +sbt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue17947] Code, test, and doc review for PEP-0435 Enum

2013-06-14 Thread Eli Bendersky
Eli Bendersky added the comment: Ethan, did you forget to "hg add" ? On Fri, Jun 14, 2013 at 12:44 AM, Nick Coghlan wrote: > > Nick Coghlan added the comment: > > That commit looks just a touch incomplete... > > -- > resolution: fixed -> > stage: committed/rejected -> commit review > st

[issue18213] py-bt errors on backtrace

2013-06-14 Thread Tom Tromey
Changes by Tom Tromey : -- nosy: +tromey ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue11192] test_socket error on AIX

2013-06-14 Thread Delhallt
Delhallt added the comment: not a python problem, see closed aix issue http://www-01.ibm.com/support/docview.wss?uid=isg1IZ57712 -- nosy: +delhallt ___ Python tracker ___ __

[issue11943] Add TLS-SRP (RFC 5054) support to ssl, _ssl, http, and urllib

2013-06-14 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue18211] -Werror=statement-after-declaration problem

2013-06-14 Thread Jeremy Kloth
Changes by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue18213] py-bt errors on backtrace

2013-06-14 Thread Phil Muldoon
New submission from Phil Muldoon: (gdb) py-bt #2 Frame 0xef8180, for file , line 1, in () Python Exception (2, 'No such file or directory', ''): Error occurred in Python command: (2, 'No such file or directory', '') This is the actual raw frame data: #0 frapy_pc (self=, args=0x0) at ../.

[issue9216] FIPS support for hashlib

2013-06-14 Thread Christian Heimes
Christian Heimes added the comment: It's out of scope for 3.3 but I'd love to see the feature in 3.4. -- versions: -Python 3.3 ___ Python tracker ___

[issue15172] Document nasm-2.10.01 as required version for openssl

2013-06-14 Thread Christian Heimes
Christian Heimes added the comment: I got bitten by the bug, too. NASM 2.10 or newer as requirement is now documented in PCbuild/readme.txt. -- nosy: +christian.heimes ___ Python tracker __

  1   2   >