[issue18111] Add a default argument to min & max

2013-06-24 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue18111] Add a default argument to min & max

2013-06-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 76196691b5d0 by Raymond Hettinger in branch 'default': Issue 18111: Add a default argument to min() and max() http://hg.python.org/cpython/rev/76196691b5d0 -- nosy: +python-dev ___ Python tracker

[issue12857] Expose called function on frame object

2013-06-24 Thread Eric Snow
Changes by Eric Snow : -- assignee: -> eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue12598] Move sys variable initialization from import.c to sysmodule.c

2013-06-24 Thread Eric Snow
Changes by Eric Snow : -- assignee: -> eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue16223] untokenize returns a string if no encoding token is recognized

2013-06-24 Thread Eric Snow
Changes by Eric Snow : -- assignee: -> eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue17037] Use a test.support helper to wrap the PEP 399 boilerplate

2013-06-24 Thread Eric Snow
Eric Snow added the comment: The gains here aren't worth the hassle in my mind, and I've lost interest in pushing this forward any further. If anyone else wants to pick this up, feel free to re-open the issue. -- assignee: eric.snow -> resolution: -> rejected status: open -> closed

[issue16251] pickle special methods are looked up on the instance rather than the type

2013-06-24 Thread Eric Snow
Changes by Eric Snow : -- assignee: -> eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue17421] Drop restriction that meta.__prepare__() must return a dict (subclass)

2013-06-24 Thread Eric Snow
Changes by Eric Snow : -- assignee: -> eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue15004] add weakref support to types.SimpleNamespace

2013-06-24 Thread Eric Snow
Changes by Eric Snow : -- assignee: -> eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue12633] sys.modules doc entry should reflect restrictions

2013-06-24 Thread Eric Snow
Eric Snow added the comment: issue17953 addressed part of this. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue17953] sys.modules cannot be reassigned

2013-06-24 Thread Eric Snow
Eric Snow added the comment: For the record, issue12633 has some more discussion on this. -- nosy: +eric.snow ___ Python tracker ___ _

[issue18297] In range.sample() correct the ValueError message for negative k

2013-06-24 Thread py.user
Changes by py.user : -- keywords: +patch Added file: http://bugs.python.org/file30697/issue18297.diff ___ Python tracker ___ ___ Pytho

[issue18297] In range.sample() correct the ValueError message for negative k

2013-06-24 Thread py.user
New submission from py.user: >>> random.sample('ABC', -1) Traceback (most recent call last): File "", line 1, in File "/usr/lib64/python3.3/random.py", line 302, in sample raise ValueError("Sample larger than population") ValueError: Sample larger than population >>> -- assignee

[issue18293] ssl.wrap_socket (cert_reqs=...), getpeercert, and unvalidated certificates

2013-06-24 Thread mpb
mpb added the comment: Oh, I see. getpeercert (binary_form) is not DER vs. PEM, it is DER vs. dict. -- ___ Python tracker ___ ___ Pyt

[issue18293] ssl.wrap_socket (cert_reqs=...), getpeercert, and unvalidated certificates

2013-06-24 Thread mpb
mpb added the comment: Hi Christian, thanks for the prompt response. Sorry about choosing the wrong versions - I wasn't thinking that enhancements should target future versions, but of course that makes sense. After submitting the enhancement request, I did dig into the OpenSSL docs, and, as

[issue18113] Memory leak in curses.panel

2013-06-24 Thread A.M. Kuchling
A.M. Kuchling added the comment: I believe the most recent 2 commits fix the segfault problem, so I'll now close this again. Please re-open if there are further issues with the bugfix. -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed _

[issue16487] Allow ssl certificates to be specified from memory rather than files.

2013-06-24 Thread Brandon Craig Rhodes
Brandon Craig Rhodes added the comment: Kristján, you are certainly correct that a single-argument that can be either a filename or a cert is inappropriate; we should not be peeking inside of strings to guess what they contain. And I think you also have a good point about Pythonic-ness when it

[issue18296] test_os.test_trailers() is failing on AMD64 FreeBSD 9.0 dtrace 3.x

2013-06-24 Thread STINNER Victor
New submission from STINNER Victor: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.0%20dtrace%203.x/builds/1560/steps/test/logs/stdio == FAIL: test_trailers (test.test_os.TestSendfile) --

[issue11390] doctest: add cmdline parameters

2013-06-24 Thread STINNER Victor
STINNER Victor added the comment: test_doctest.test_CLI() is also failing on Windows: http://buildbot.python.org/all/builders/x86%20Windows%20Server%202003%20%5BSB%5D%203.x/builds/1078/steps/test/logs/stdio It looks like an issue with Windows newline (\r\n) versus UNIX newline (\n). test_CLI()

[issue11390] doctest: add cmdline parameters

2013-06-24 Thread STINNER Victor
STINNER Victor added the comment: Attached doctest_term_dummy.patch: workaround the issue by setting TERM env var to "dummy". Why is test_CLI() implemented using a doctest? Why not reusing the unittest module to benefit from test.support and test.regrtest? (Hint: I don't like doctests :-)) -

[issue11390] doctest: add cmdline parameters

2013-06-24 Thread STINNER Victor
STINNER Victor added the comment: The new tests added in changeset ae802dc4dcd4 are failing on some buildbots. I can reproduce the issue on my Linux box (Fedora 18). First failure of "./python -m test test_doctest": [1/1] test_doctest ***

[issue18293] ssl.wrap_socket (cert_reqs=...), getpeercert, and unvalidated certificates

2013-06-24 Thread Christian Heimes
Christian Heimes added the comment: I'm setting the version to 3.4 as this is a feature request. 2.7 and 3.3 are in feature freeze mode. OpenSSL doesn't support our idea out of the box. OpenSSL either verifies the peer's certificate and chain or doesn't verify the peer's certificate and chain

[issue18279] IDLE Unit test for RstripExtension.py

2013-06-24 Thread Phil Webster
Phil Webster added the comment: Modified the first patch to get rid of mock EditorWindow in favor of the real thing. Also renamed the test to 'test_rstrip'. -- Added file: http://bugs.python.org/file30694/test_rstrip.patch ___ Python tracker

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: "test.support.requires" returns True if "called from a context with __name__ = '__main__'" or "'gui' in test.support.use_resources". The first clause is never true for buildbots, so the presumption is that the test was invoked by a user with a gui screen. (Wind

[issue7732] imp.find_module crashes Python if there exists a directory named "__init__.py"

2013-06-24 Thread STINNER Victor
STINNER Victor added the comment: The test just failed on x86 Windows Server 2003 [SB] 3.x: http://buildbot.python.org/all/builders/x86%20Windows%20Server%202003%20%5BSB%5D%203.x/builds/1077/steps/test/logs/stdio == FAIL: test_

[issue18135] _ssl module: possible integer overflow for very long strings (+2^31 bytes)

2013-06-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset a29eaffa7d72 by Victor Stinner in branch '2.7': Issue #18135: ssl.SSLSocket.write() now raises an OverflowError if the input http://hg.python.org/cpython/rev/a29eaffa7d72 -- ___ Python tracker

[issue18135] _ssl module: possible integer overflow for very long strings (+2^31 bytes)

2013-06-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset bfede07268a1 by Victor Stinner in branch '3.3': Issue #18135: ssl.SSLSocket.write() now raises an OverflowError if the input http://hg.python.org/cpython/rev/bfede07268a1 New changeset 12a388024d5b by Victor Stinner in branch 'default': (Merge 3.3)

[issue18081] test_logging failure in WarningsTest on buildbots

2013-06-24 Thread STINNER Victor
STINNER Victor added the comment: This issue is *really* annoying: it makes buildbots almost useless (it is no more possible to check if a commit introduces a regression). So until the best fix is decided, I applied a temporary fix (based on changes.diff written by Vinay Sajip): New changes

[issue18081] test_logging failure in WarningsTest on buildbots

2013-06-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2a9e1eb3719c by Victor Stinner in branch 'default': Issue #18081: Workaround "./python -m test_idle test_logging" failure http://hg.python.org/cpython/rev/2a9e1eb3719c -- nosy: +python-dev ___ Python trac

[issue9566] Compilation warnings under x64 Windows

2013-06-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3a393fc86b29 by Victor Stinner in branch 'default': Issue #9566: More long/Py_ssize_t fixes in tuple and list iterators (it_index) http://hg.python.org/cpython/rev/3a393fc86b29 -- ___ Python tracker

[issue9566] Compilation warnings under x64 Windows

2013-06-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset c1a400501db6 by Victor Stinner in branch 'default': Issue #9566: recv(), recvfrom(), send(), sendall() and sendto() methods http://hg.python.org/cpython/rev/c1a400501db6 -- ___ Python tracker

[issue9566] Compilation warnings under x64 Windows

2013-06-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5a72adc7c8f7 by Victor Stinner in branch 'default': Issue #9566: pystrtod.c: Fix a compiler warnings on Windows x64 http://hg.python.org/cpython/rev/5a72adc7c8f7 -- ___ Python tracker

[issue1040439] Missing documentation on how to link with libpython

2013-06-24 Thread Ned Deily
Ned Deily added the comment: I've now backported the 3.x update to the 2.7 docs in Issue18164 (I hadn't noticed that this issue was still open). As Eli noted, if any updates are needed to cover Windows, a separate issue should be opened. I'm closing this one. -- nosy: +ned.deily reso

[issue9566] Compilation warnings under x64 Windows

2013-06-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6b4d279508a3 by Victor Stinner in branch 'default': Issue #9566: Fix a compiler warning in tupleiter_setstate() on Windows x64 http://hg.python.org/cpython/rev/6b4d279508a3 -- ___ Python tracker

[issue9566] Compilation warnings under x64 Windows

2013-06-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 72087ebf83f0 by Victor Stinner in branch 'default': Issue #9566: Fix a compiler warning on Windows x64 http://hg.python.org/cpython/rev/72087ebf83f0 -- ___ Python tracker

[issue18295] Possible integer overflow in PyCode_New()

2013-06-24 Thread STINNER Victor
STINNER Victor added the comment: And another one: ..\Python\ceval.c(4271): warning C4244: '=' : conversion from 'Py_ssize_t' to 'int', possible loss of data [C:\buildbot.python.org\3.x.kloth-win64\build\PCbuild\pythoncore.vcxproj] ..\Python\ceval.c(4459): warning C4244: '=' : conversion from

[issue2292] Missing *-unpacking generalizations

2013-06-24 Thread SpaghettiToastBook
Changes by SpaghettiToastBook : -- nosy: +SpaghettiToastBook ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue18164] Embedding Python doc incorrectly refers to LINKFORSHARED

2013-06-24 Thread Ned Deily
Ned Deily added the comment: Patches committed (with consistent use of get_config_var as suggested by Antoine) for 2.7.5, 3.3.3, and 3.4.0 docs. -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tra

[issue18164] Embedding Python doc incorrectly refers to LINKFORSHARED

2013-06-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset e18b92bae4d6 by Ned Deily in branch '2.7': Issue #18164: Backport the more detailed embedding compile-and-link section http://hg.python.org/cpython/rev/e18b92bae4d6 New changeset 4a114b0db866 by Ned Deily in branch '3.3': Issue #18164: Clarify the e

[issue18295] Possible integer overflow in PyCode_New()

2013-06-24 Thread STINNER Victor
STINNER Victor added the comment: Similar issue: ..\Objects\funcobject.c(636): warning C4244: 'function' : conversion from 'Py_ssize_t' to 'int', possible loss of data [C:\buildbot.python.org\3.x.kloth-win64\build\PCbuild\pythoncore.vcxproj] ..\Objects\funcobject.c(637): warning C4244: 'functi

[issue18295] Possible integer overflow in PyCode_New()

2013-06-24 Thread STINNER Victor
New submission from STINNER Victor: On Windows x64, we get the following warning: ..\Objects\codeobject.c(106): warning C4244: '=' : conversion from 'Py_ssize_t' to 'unsigned char', possible loss of data [C:\buildbot.python.org\3.x.kloth-win64\build\PCbuild\pythoncore.vcxproj] Code:

[issue9566] Compilation warnings under x64 Windows

2013-06-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset c75ab7b802df by Victor Stinner in branch 'default': Issue #9566: _winapi.WriteFile() now truncates length to DWORD_MAX (4294967295) http://hg.python.org/cpython/rev/c75ab7b802df -- ___ Python tracker

[issue18294] zlib module is not completly 64-bit safe

2013-06-24 Thread STINNER Victor
STINNER Victor added the comment: The changeset 931e1bc090f6 fixes warnings in adler32 and crc32. -- ___ Python tracker ___ ___ Python

[issue18294] zlib module is not completly 64-bit safe

2013-06-24 Thread STINNER Victor
New submission from STINNER Victor: Attached patch fixes different compiler warnings on Windows x64 in the zlib module. The module raises OverflowError if some values are longer than INT_MAX, but not all parameters are checked. -- files: zlib_64bit.patch keywords: patch messages: 19179

[issue9566] Compilation warnings under x64 Windows

2013-06-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5c407b64920c by Victor Stinner in branch 'default': Issue #9566: _io: Use Py_SAFE_DOWNCAST for fix a compiler warning on Windows x64 http://hg.python.org/cpython/rev/5c407b64920c New changeset 931e1bc090f6 by Victor Stinner in branch 'default': Issu

[issue9566] Compilation warnings under x64 Windows

2013-06-24 Thread STINNER Victor
STINNER Victor added the comment: I created #18294 for the warnings in the zlib module. -- ___ Python tracker ___ ___ Python-bugs-list

[issue18294] zlib module is not completly 64-bit safe

2013-06-24 Thread STINNER Victor
STINNER Victor added the comment: Related issue: #9566. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue18135] _ssl module: possible integer overflow for very long strings (+2^31 bytes)

2013-06-24 Thread STINNER Victor
STINNER Victor added the comment: Fixed patch: ssl_overflow-2.patch. -- Added file: http://bugs.python.org/file30692/ssl_overflow-2.patch ___ Python tracker ___ _

[issue18293] ssl.wrap_socket (cert_reqs=...), getpeercert, and unvalidated certificates

2013-06-24 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue8109] Server-side support for TLS Server Name Indication extension

2013-06-24 Thread mpb
Changes by mpb : -- nosy: +mpb ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/op

[issue18293] ssl.wrap_socket (cert_reqs=...), getpeercert, and unvalidated certificates

2013-06-24 Thread mpb
mpb added the comment: (Oops, I changed the title when I meant to do a search. Changing it back now.) -- title: ssl sni -> ssl.wrap_socket (cert_reqs=...), getpeercert, and unvalidated certificates ___ Python tracker

[issue18293] ssl sni

2013-06-24 Thread mpb
Changes by mpb : -- title: ssl.wrap_socket (cert_reqs=...), getpeercert, and unvalidated certificates -> ssl sni ___ Python tracker ___ _

[issue18293] ssl.wrap_socket (cert_reqs=...), getpeercert, and unvalidated certificates

2013-06-24 Thread mpb
New submission from mpb: At present (Python 2.7.[45] and 3.3.[12]), the cert_reqs parameter of ssl.wrap_socket can be one of: ssl.CERT_NONE ssl.CERT_OPTIONAL ssl.CERT_REQUIRED I would find the following additional modes to be useful: ssl.CERT_OPTIONAL_NO_VERIFY ssl.CERT_REQUIRED_NO_VERIFY In

[issue18292] IDLE Improvements: Unit test for AutoExpand.py

2013-06-24 Thread R. Jayakrishnan
New submission from R. Jayakrishnan: Continuing the IDLE unittest framework initiated in #15392. Writing test for AutoExpand.py -- components: IDLE, Tests messages: 191795 nosy: JayKrish priority: normal severity: normal status: open title: IDLE Improvements: Unit test for AutoExpand.py

[issue17985] multiprocessing Queue.qsize() and Queue.empty() with different results

2013-06-24 Thread Richard Oudkerk
Richard Oudkerk added the comment: This is really a documentation issue. The doc fix for #18277 covers this. -- components: +Library (Lib) -Extension Modules resolution: -> wont fix stage: -> committed/rejected status: open -> closed type: -> behavior ___

[issue18189] IDLE Improvements: Unit test for Delegator.py

2013-06-24 Thread R. Jayakrishnan
R. Jayakrishnan added the comment: I wrapped requires('gui') as submitted in patch2. But this time commands "python -m test test_idle" and with -ugui does not skip delegatortest (it runs successfully to both). I took Lib/test/test_tk.py as an example. It calls runtktests.get_tests using suppor

[issue17206] Py_XDECREF() expands its argument multiple times

2013-06-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: Yes, but in case someone else mindlessly starts using it elsewhere, let's spare them the macro bugz. -- ___ Python tracker ___ _

[issue18277] Queue is empty right after put from the same process/thread

2013-06-24 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- assignee: -> docs@python components: +Documentation -IO, Interpreter Core nosy: +docs@python resolution: -> fixed stage: -> committed/rejected status: open -> closed type: behavior -> ___ Python tracker

[issue17206] Py_XDECREF() expands its argument multiple times

2013-06-24 Thread Jeremy Kloth
Jeremy Kloth added the comment: FYI, however, the new macro is designed as an internal implementation detail along the lines of the other _Py_* macros. That is, just a tiny piece of a larger function to be used at your own risk. Either way, I've uploaded another version with the do { } while

[issue18277] Queue is empty right after put from the same process/thread

2013-06-24 Thread Richard Oudkerk
Richard Oudkerk added the comment: > 1. "but should not cause any pratical difficulties" <-- you have a typo in > 'pratical' there. > 2. What exactly do you mean by "managed" queues in the new addition? Woops. Fixed now see 860fc6a2bd21, 347647a1f798. A managed queue is one created like

[issue1423] wave sunau aifc 16bit errors

2013-06-24 Thread Christian Heimes
Christian Heimes added the comment: Is somebody interested in this bug? -- assignee: christian.heimes -> status: open -> languishing versions: +Python 3.3, Python 3.4 -Python 3.1, Python 3.2 ___ Python tracker

[issue1257] atexit errors should result in nonzero exit code

2013-06-24 Thread Christian Heimes
Changes by Christian Heimes : -- assignee: christian.heimes -> versions: +Python 3.4 -Python 2.7, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker ___ __

[issue18234] Unicodedata module should provide access to codepoint aliases

2013-06-24 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 24.06.2013 18:10, Alexander Belopolsky wrote: > > Alexander Belopolsky added the comment: > >> The .aliases() function would have to return a list, not a single >> name, so a parameter would cause the return type to change, which >> is not a good idea. >

[issue1763] Get path to shell/known folders on Windows

2013-06-24 Thread Christian Heimes
Christian Heimes added the comment: Here is a patch that returns the paths of all known SHGetKnownFolderPath() and SHGetFolderPath(). SHGetKnownFolderPath() is currently not available for Python 3.4 as Python 3.4 still uses Windows XP API but SHGetKnownFolderPath() requires Vista or newer. ht

[issue17206] Py_XDECREF() expands its argument multiple times

2013-06-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: Could you please wrap your new macros in the do .. while boilerplate? -- ___ Python tracker ___ _

[issue17206] Py_XDECREF() expands its argument multiple times

2013-06-24 Thread Jeremy Kloth
Jeremy Kloth added the comment: Except, in this case, it actually crashes the interpreter. I would hope to think that it isn't common practice to just hide crashers especially when there is a fix available. -- ___ Python tracker

[issue18291] codecs.open interprets space as line ends

2013-06-24 Thread R. David Murray
R. David Murray added the comment: Is the "slower" test on 2.6? io would definitely be slower there, since it is pure python. 2.7 has the C accelerated version. -- nosy: +r.david.murray ___ Python tracker __

[issue18277] Queue is empty right after put from the same process/thread

2013-06-24 Thread shwouchk
shwouchk added the comment: I agree it might be less efficient, but sometimes it is the price to pay for greater generality/simplicity. After all, If I *really* wanted efficiency perhaps I would have written everything in C++. Anyway, thanks! n.p. 1. "but should not cause any pratical diffic

[issue18234] Unicodedata module should provide access to codepoint aliases

2013-06-24 Thread Martin v . Löwis
Martin v. Löwis added the comment: But some of these types could still have lists as values, no? -- ___ Python tracker ___ ___ Python-

[issue18234] Unicodedata module should provide access to codepoint aliases

2013-06-24 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > The .aliases() function would have to return a list, not a single > name, so a parameter would cause the return type to change, which > is not a good idea. You misunderstood my proposal. .name() will still return a single name, but the type parameter w

[issue17206] Py_XDECREF() expands its argument multiple times

2013-06-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: We've "fixed" this debug-problem in other cases simply by skipping the test in question on debug builds. -- ___ Python tracker ___ _

[issue17621] Create a lazy import loader mixin

2013-06-24 Thread Brett Cannon
Brett Cannon added the comment: It still falls under the purview of import to manage that lock. It's just the design of the API from PEP 302. Otherwise it's just like any other reload. -- ___ Python tracker __

[issue18291] codecs.open interprets space as line ends

2013-06-24 Thread Paul
Paul added the comment: Sorry for bringing that up as I suppose it is unrelated to the bug I am reporting, but you can an example file attached with timings. -- Added file: http://bugs.python.org/file30688/codecs-io-example.py ___ Python tracker

[issue18234] Unicodedata module should provide access to codepoint aliases

2013-06-24 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 24.06.2013 16:58, Alexander Belopolsky wrote: > > Alexander Belopolsky added the comment: > > Here is an example of "prior art" that is relevant to this discussion: > > """ > charnames::viacode(code) > .. > As mentioned above under ALIASES, Unicode 6.1

[issue18234] Unicodedata module should provide access to codepoint aliases

2013-06-24 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Here is an example of "prior art" that is relevant to this discussion: """ charnames::viacode(code) .. As mentioned above under ALIASES, Unicode 6.1 defines extra names (synonyms or aliases) for some code points, most of which were already available as Pe

[issue17621] Create a lazy import loader mixin

2013-06-24 Thread Richard Oudkerk
Richard Oudkerk added the comment: I was thinking about the line self.__dict__.update(state) overwriting new data with stale data. -- ___ Python tracker ___ _

[issue18234] Unicodedata module should provide access to codepoint aliases

2013-06-24 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 24.06.2013 16:35, Alexander Belopolsky wrote: > > Alexander Belopolsky added the comment: > > MAL> Please leave the function as it is, i.e. a 1-1 mapping to the > MAL> official, non-changing Unicode name reference (including > MAL> spelling errors, etc).

[issue17621] Create a lazy import loader mixin

2013-06-24 Thread Brett Cannon
Brett Cannon added the comment: Import manages the lock, not loaders. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue15818] multiprocessing documentation of Process.exitcode

2013-06-24 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue15818] multiprocessing documentation of Process.exitcode

2013-06-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset f50bbae95bc8 by Richard Oudkerk in branch '2.7': Issue #15818: Typo in docs. http://hg.python.org/cpython/rev/f50bbae95bc8 New changeset 3a5e2f1dce5c by Richard Oudkerk in branch '3.3': Issue #15818: Typo in docs. http://hg.python.org/cpython/rev/3a

[issue18234] Unicodedata module should provide access to codepoint aliases

2013-06-24 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: MAL> Please leave the function as it is, i.e. a 1-1 mapping to the MAL> official, non-changing Unicode name reference (including MAL> spelling errors, etc). Same with code points that have no name. Since we have code points with no name - it is not 1-1 map

[issue17791] PC/pyconfig.h defines PREFIX macro

2013-06-24 Thread Christian Heimes
Christian Heimes added the comment: It looks like we can drop PREFIX and EXEC_PREFIX from PC/pyconfig.h all along. Only Modules/getpath.c uses PREFIX and EXEC_PREFIX but MSVC build use PC/getpathp.c instead of Modules/getpath.c -- ___ Python tracker

[issue18291] codecs.open interprets space as line ends

2013-06-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could you please provide an example which exposes slowness of io.open() by comparison with codecs.open(). -- nosy: +belopolsky, doerwalter, haypo, lemburg, serhiy.storchaka versions: -Python 2.6 ___ Python tracker

[issue7292] Multiprocessing Joinable race condition?

2013-06-24 Thread Richard Oudkerk
Richard Oudkerk added the comment: unfinished_tasks is simply used as a counter. It is only accessed while holding self._cond. If you get this error then I think the error text is correct -- your progam calls task_done() to many times. The proposed patch silences the sanity check by making i

[issue1763] Winpath module - easy access to Windows directories like My Documents

2013-06-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also PyXDG (http://freedesktop.org/wiki/Software/pyxdg/) and winpaths (http://ginstrom.com/code/winpaths.html). -- nosy: +serhiy.storchaka ___ Python tracker

[issue4558] ./configure --with-stdc89 to test ANSI C conformity

2013-06-24 Thread Christian Heimes
Christian Heimes added the comment: Updated patch for Python 3.4. The feature is still useful. For example I found a bug in pymacro.h and fixed it in r84306. -- title: with_stdc89 -> ./configure --with-stdc89 to test ANSI C conformity versions: +Python 3.3, Python 3.4 -Python 3.2 Added

[issue4558] ./configure --with-stdc89 to test ANSI C conformity

2013-06-24 Thread Christian Heimes
Christian Heimes added the comment: Make that r6915dfddb3f6 -- Added file: http://bugs.python.org/file30687/with_stdc89_3.patch ___ Python tracker ___

[issue18277] Queue is empty right after put from the same process/thread

2013-06-24 Thread Richard Oudkerk
Richard Oudkerk added the comment: > I did this to use the same abstraction that was used extensively for > other purposes, instead of recreating the same abstraction with a deque > as its basis. So you wanted a FIFO queue and preferred the API of Queue to that of deque? Well it will be *mu

[issue16396] Importing ctypes.wintypes on Linux gives a traceback

2013-06-24 Thread Jason R. Coombs
Jason R. Coombs added the comment: Looks good to me. Ben, any objections to applying this to 2.7? -- nosy: +benjamin.peterson ___ Python tracker ___ _

[issue18143] ssl.get_default_verify_paths()

2013-06-24 Thread Christian Heimes
Changes by Christian Heimes : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue18277] Queue is empty right after put from the same process/thread

2013-06-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8dcc4e017d42 by Richard Oudkerk in branch '2.7': Issue #18277: Document quirks of multiprocessing queue. http://hg.python.org/cpython/rev/8dcc4e017d42 New changeset 0f921e73433a by Richard Oudkerk in branch '3.3': Issue #18277: Document quirks of mu

[issue1953] Compact int and float freelists

2013-06-24 Thread Christian Heimes
Changes by Christian Heimes : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue1542] Ship 32 and 64bit libs with MSI installer

2013-06-24 Thread Christian Heimes
Christian Heimes added the comment: Nobody has shown interest in this ticket in more than five years. I'm closing it. -- status: open -> closed versions: +Python 3.4 -Python 3.2 ___ Python tracker _

[issue1763] Winpath module - easy access to Windows directories like My Documents

2013-06-24 Thread Christian Heimes
Christian Heimes added the comment: Oh my, this patch is rather ancient. Is this feature still of interest? I'm happy to port it from 2.6 to 3.4. -- status: languishing -> open versions: +Python 3.4 -Python 3.2 ___ Python tracker

[issue16595] Add resource.prlimit

2013-06-24 Thread Christian Heimes
Changes by Christian Heimes : Removed file: http://bugs.python.org/file28184/prlimit.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue18291] codecs.open interprets space as line ends

2013-06-24 Thread Paul
New submission from Paul: I hope I am writing in the right place. When using codecs.open with UTF-8 encoding, it seems characters \x12, \x13, and \x14 are interpreted as end-of-line. Example code: >>> with open('unicodetest.txt', 'w') as f: >>> f.write('a'+chr(28)+'b'+chr(29)+'c'+chr(30)+'d

[issue16595] Add resource.prlimit

2013-06-24 Thread Christian Heimes
Christian Heimes added the comment: Updated patch, now raises PermissionError on EPERM. -- Added file: http://bugs.python.org/file30685/prlimit2.patch ___ Python tracker ___

[issue18240] hmac unnecessarily restricts input to "bytes"

2013-06-24 Thread Christian Heimes
Christian Heimes added the comment: Your account hasn't been flagged yet. I'm going to ping the person in charge. -- ___ Python tracker ___ __

[issue12641] Remove -mno-cygwin from distutils

2013-06-24 Thread Oscar Benjamin
Oscar Benjamin added the comment: On 24 June 2013 12:53, Oscar Benjamin wrote: > The changes > are identical but the 2.7 patch didn't apply cleanly against 3.x. I'll > upload the files used to test the patches in "test_mno_cygwin.tar.gz". Correction: the patches are not quite identical as the p

[issue16396] Importing ctypes.wintypes on Linux gives a traceback

2013-06-24 Thread Christian Heimes
Christian Heimes added the comment: The fix is trivial: - define VARIANT_FALSE and VARIANT_BOOL according to specs - enable 'v' on non-Windows systems - enable tests for vbool Done -- keywords: +patch nosy: +christian.heimes Added file: http://bugs.python.org/file30684/16396_vbool.pat

  1   2   >