[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
...

--
assignee: docs@python
components: Documentation
files: issue.patch
keywords: patch
messages: 191199
nosy: docs@python, py.user
priority: normal
severity: normal
status: open
title: In itertools.islice() make prototype like in help()
type: enhancement
versions: Python 3.3, Python 3.4
Added file: http://bugs.python.org/file30599/issue.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 in a CSV file (in hundreds or 
thousands). Replacing look-up in a list with a look-up in a set solves the 
issue (see the attached patch).

--
components: Library (Lib)
files: csvdictwriter.patch
keywords: patch
messages: 191197
nosy: mtraskin
priority: normal
severity: normal
status: open
title: csv.DictWriter is slow when writing files with large number of columns
type: performance
Added file: http://bugs.python.org/file30598/csvdictwriter.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
keywords: patch
messages: 191196
nosy: docs@python, py.user
priority: normal
severity: normal
status: open
title: In itertools.count() clarify the starting point
type: enhancement
versions: Python 3.3, Python 3.4
Added file: http://bugs.python.org/file30596/issue.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 function/class-level deprecation warnings and add a module-level 
pending deprecation one
4. Run the test suite with -W always to make sure I didn't miss anything

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 option is used). I wrote it to check that 
other patches are correct (check if the GIL is held when PyMem_Malloc is 
called).

- py_finalize.patch: should be safe

- malloc_init.patch: change _Py_char2wchar() API, the result must now be freed 
by PyMem_RawFree() instead of PyMem_Free(). the change does not hurt in release 
mode (both functions are just wrapper to free()), but may break in debug mode 
(because python checks that PyMem_RawFree() is called on a buffer allocated by 
PyMem_RawMalloc()) in extension modules using _Py_char2wchar(). I would like to 
_Py_char2wchar() API (not to solve this issue, just because it is very useful 
for applications embedding Python), so changing its name would avoid a crash 
(applications would get a compilation or link error instead). Other change of 
the patch: replace free() and PyMem_Free() with PyMem_RawFree(), should be safe.

- malloc_modules.patch: I replaced many malloc() with PyMem_Malloc(), which is 
not safe.

All these patches must be reviewed carefully to check if the GIL is held or 
not, and tested with pymem_debugcheckgil-2.patch (on Windows too! some patched 
functions os posixmodule.c are only compiled on Windows).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 need to reorganize completly how Python is 
initialized, because we need to have basic Python types (ex: Unicode) to be 
ready to be able to parse the command line. But we cannot initialize too much 
because the Python initialization also depends on options from the command 
line...

--
Added file: http://bugs.python.org/file30594/malloc_init.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/readline_gil-2.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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. This 
is suggesting it handle it natively. (clearly)

--
nosy: +Tom.Prince
versions: +Python 2.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/py_finalize.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 is actually a comment in the code that is 
directly on point to this issue.  If we can get a reproducible test case the 
fix will probably be simple.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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_RawRealloc() and PyMem_RawFree() in the same 
commit. These functions are wrappers to malloc/realloc/free which can be called 
without the GIL held. Using these new functions instead of malloc/realloc/free 
is interesting because the internal functions can be replaced with 
PyMem_SetRawAllocators() and many checks are added in debug mode (ex: check for 
buffer under- and overflow).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 look.  If you can figure it out, you'll be on your 
way to being a non-newbie Python programmer :)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 guess it's a request back to imaplib maintainers to see how this might be 
fixed in imaplib. I'm very new to python and not a programmer by trade but if 
its a straightforward fix I'd be happy to have a go if someone can point me in 
the right direction.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 internationalization do, though?  
Right now they could just use _, and tell library users they need to call 
gettext.install in their application.  Is there some other technique that is 
currently used?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 underlying 
translation object to check locales. This is approximately exactly how Django 
works.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
different depending on which domain, localedir, and codeset are in use.  So if 
my application allows the user to *change languages* at runtime, I need to 
*change* what is bound to _.  If my program has assigned a value to _, when 
another part of the application changes the language, what is bound to _ in 
other modules is not going to change.  This is my understanding of why _ is put 
in the global namespace.

Of course, I've only used gettext in one application (that did dynamic language 
switching), so I could just have been doing it wrong...and I suppose there is 
no reason (and some sense) why _ could not be a function that indirects to the 
current language.  Or is that the way it works now and I am just 
misunderstanding the documentation?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/issue15968_update.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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: open
title: Deprecate and remove gettext.install

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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. 
msgunfmt correcly rejects such a file:

$ msgunfmt messages.mo 
msgunfmt: file "messages.mo" is not in GNU .mo format

Yet Python opens it happily:

>>> import gettext
>>> t = gettext.GNUTranslations(open("messages.mo", "rb"))
>>> t.gettext("foo")
'bar'


[0] http://www.gnu.org/software/gettext/manual/html_node/MO-Files.html

--
components: Library (Lib)
files: messages.mo
messages: 191151
nosy: jwilk
priority: normal
severity: normal
status: open
title: gettext doesn't check MO versions
Added file: http://bugs.python.org/file30587/messages.mo

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
importlib.abc.SourceLoader.magic

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 g.pc()

This will hit the breakpoint in the inferior gdb and you will be returned to 
the superior gdb.  I then did:

(top-gdb) py-bt

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/ directory.

>From the doc string of the script:

The script

  (1) downloads OpenSSL tar bundle
  (2) extracts it to ../openssl/src/openssl-VERSION/
  (3) compiles OpenSSL
  (4) installs OpenSSL into ../openssl/VERSION/
  (5) forces a recompilation of Python modules using the
  header and library files from ../openssl/VERSION/
  (6) runs Python's test suite

The script must be run with Python's build directory as current working 
directory.

The script uses LD_RUN_PATH, LD_LIBRARY_PATH, CPPFLAGS and LDFLAGS to bend 
search paths for header files and shared libraries. It's known to work on Linux 
with GCC 4.x.

Tested with OpenSSL 0.9.7m, 0.9.8y, 1.0.0k and 1.0.1e.

--
components: Demos and Tools
files: multissl.py
messages: 191139
nosy: christian.heimes, gregory.p.smith, pitrou
priority: low
severity: normal
status: open
title: Script to test multiple versions of OpenSSL
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file30584/multissl.py

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 such file or 
directory', ''): 

is that py-bt is attempting to print the line of source code that the frame is 
at, but the source was provided as a string, not a file, presumably due to a 
call to PyRun_SimpleString et al.

Python sets the filename of such code to be the dummy name "", and 
py-bt attempts to use that as a real filename and open it, failing (unless you 
happen to have a file named "" in which case it tries to list it).

--
assignee:  -> dmalcolm
title: py-bt errors on backtrace -> py-bt errors on backtrace with 
PyRun_SimpleString and friends

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 which has been garbage collected, then that 
function must not depend on any globals, because they will have been purged.

Usually this problem only occurs with programs which manipulate sys.modules.  
For example when setuptools and nose run tests they like to reset sys.modules 
each time.  See for example

  http://bugs.python.org/issue15881

See also

  http://bugs.python.org/issue16718

The trivial patch attached prevents the purging behaviour for modules gc'ed 
before shutdown begins.  Usually garbage collection will end up clearing the 
module's dict anyway.

I checked the count of refs and blocks reported on exit when running a trivial 
program and a full regrtest (which will cause quite a bit of sys.modules 
manipulation).  The difference caused by the patch is minimal.

Without patch:
  do nothing:[20234 refs, 6582 blocks]
  full regrtest: [92713 refs, 32597 blocks]

With patch:
  do nothing:[20234 refs, 6582 blocks]
  full regrtest: [92821 refs, 32649 blocks]

--
files: prevent-purge-before-shutdown.patch
keywords: patch
messages: 191135
nosy: sbt
priority: normal
severity: normal
status: open
title: Stop purging modules which are garbage collected before shutdown
versions: Python 3.4
Added file: http://bugs.python.org/file30583/prevent-purge-before-shutdown.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
> status: closed -> open
>
> ___
> Python tracker 
> 
> ___
>

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
../../gdb/gdb/python/py-frame.c:223
#1  0x003edf4dcfd6 in call_function (oparg=, 
pp_stack=0x7fffd378) at /usr/src/debug/Python-2.7.3/Python/ceval.c:4082
#2  PyEval_EvalFrameEx (f=f@entry=Frame 0xef8180, for file , line 1, in 
 (), throwflag=throwflag@entry=0)
at /usr/src/debug/Python-2.7.3/Python/ceval.c:2740
#3  0x003edf4ddcbf in PyEval_EvalCodeEx (
During symbol reading, Multiple children of DIE 0x3904c refer to DIE 0x38d87 as 
their abstract origin.
co=co@entry=0x71adb8b0, globals=globals@entry=
{'g': , '__builtins__': , 'GdbRemoveReadlineFinder': , '__package__': None, 'sys': , 
'gdb': , '__name__': '__main__', '__doc__': 
None}, locals=locals@entry=
{'g': , '__builtins__': , 'GdbRemoveReadlineFinder': , '__package__': None, 'sys': , 
'gdb': , '__name__': '__main__', '__doc__': 
None}, args=args@entry=0x0, argcount=argcount@entry=0, kws=kws@entry=0x0, 
kwcount=kwcount@entry=0, defs=defs@entry=0x0, 
defcount=defcount@entry=0, closure=closure@entry=0x0) at 
/usr/src/debug/Python-2.7.3/Python/ceval.c:3330

--
components: Demos and Tools
messages: 191131
nosy: dmalcolm, pmuldoon
priority: normal
severity: normal
status: open
title: py-bt errors on backtrace
type: crash
versions: Python 2.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   >