[issue19504] Change "customise" to "customize".

2013-11-15 Thread Georg Brandl
Georg Brandl added the comment: Can be closed? -- nosy: +georg.brandl, vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing

[issue19622] Default buffering for input and output pipes in subprocess module

2013-11-15 Thread Martin Panter
New submission from Martin Panter: Currently the documentation for the “bufsize” parameter in the “subprocess” module says: """ Changed in version 3.2.4,: 3.3.1 bufsize now defaults to -1 to enable buffering by default to match the behavior that most code expects. In 3.2.0 through 3.2.3 and 3

[issue19621] Reimporting this and str.translate()

2013-11-15 Thread Eric Snow
Eric Snow added the comment: The this module was actually the subject of a similar proposal recently: issue19499. The same arguments there for leaving the module alone apply here. (Amon other things, it's a neat little artifact: http://www.wefearchange.org/2010/06/import-this-and-zen-of-pyth

[issue19621] Reimporting this and str.translate()

2013-11-15 Thread Chris Angelico
New submission from Chris Angelico: In an interactive session, typing 'import this' a second time doesn't produce output (as the module's already imported). Peeking into the module shows a string and what looks like a translation dictionary, but doing the obvious thing: >>> this.s.translate(t

[issue19530] cross thread shutdown of UDP socket exhibits unexpected behavior

2013-11-15 Thread mpb
mpb added the comment: > It's just a patch to avoid returning garbage in the address. Right, which is why I pursued the point. recvfrom should not return ambiguous data (the ambiguity being between shutdown and receiving a zero length message). It is now possible to distinguish the two by lo

[issue19620] tokenize documentation contains typos (argment instead of argument)

2013-11-15 Thread Christopher Welborn
Christopher Welborn added the comment: Oops, forgot to mention the documentation I am speaking of is the actual doc strings. The actual test is to run: import tokenize help(tokenize) or just: `python -c "import tokenize;help(tokenize)" | grep "argment"` -- ___

[issue19620] tokenize documentation contains typos (argment instead of argument)

2013-11-15 Thread Christopher Welborn
New submission from Christopher Welborn: Documentation for tokenize contains typos, functions detect_encoding() and tokenize() at least. The lines are: The tokenize() generator requires one argment, readline,... It requires one argment, readline, ...where argment is supposed to be 'argument'

[issue19584] IDLE fails - Python V2.7.6 - 64b on Win7 64b

2013-11-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Report like this should initially go to python-list as the problem is probably idiosyncratic to your machine. I have a similar setup, just installed 2.7.6, and Idle seems to work fine. Open a Windows console (AllPrograms/Accessories/CommandPrompt), cd to your

[issue19183] PEP 456 Secure and interchangeable hash algorithm

2013-11-15 Thread Christian Heimes
Christian Heimes added the comment: Here are benchmarks on two Linux machine. It looks like SipHash24 takes advantage of newer CPUs. I'm a bit puzzled about the results. Or maybe my super simple and naive analyzer doesn't give sensible results... https://bitbucket.org/tiran/pep-456-benchmarks/

[issue19562] Added description for assert statement

2013-11-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Looking further, the current code has a message object, the month that fails the test and your patch removes that in adding the redundant message. I also see that your change would make the first assert match the next 2. But I would rather change the next two.

[issue17354] TypeError when running setup.py upload --show-response

2013-11-15 Thread Jason R. Coombs
Jason R. Coombs added the comment: Berker reports in issue12853, msg202927 that the issue is fixed for Python 3.3 and 3.4 by the patch for issue6286 applied as part of issue19544. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed

[issue12853] global name 'r' is not defined in upload.py

2013-11-15 Thread Jason R. Coombs
Changes by Jason R. Coombs : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed versions: +Python 3.3, Python 3.4 ___ Python tracker ___ ___

[issue12853] global name 'r' is not defined in upload.py

2013-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset aa3a7d5e0478 by Jason R. Coombs in branch '2.7': Issue #12853: Correct NameError in distutils upload command. http://hg.python.org/cpython/rev/aa3a7d5e0478 -- nosy: +python-dev ___ Python tracker

[issue12853] global name 'r' is not defined in upload.py

2013-11-15 Thread Jason R. Coombs
Changes by Jason R. Coombs : -- assignee: tarek -> jason.coombs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16596] Skip stack unwinding when "next", "until" and "return" pdb commands executed in generator context

2013-11-15 Thread Guido van Rossum
Guido van Rossum added the comment: I think this is not ready for inclusion. It works wonderfully when stepping over a yield[from], but I can't seem to get it to step nicely *out* of a generator. (Details on request -- basically I put a "pdb.set_trace()" call in Tulip's fetch3.py example and

[issue19562] Added description for assert statement

2013-11-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.4 -Python 2.7, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue19562] Added description for assert statement

2013-11-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since failed asserts print the failed assert, repeating the assertion in a message is useless. >>> assert 1 <= i Traceback (most recent call last): File "", line 1, in assert 1 <= i AssertionError It is already obvious that i must be >= 1. So I would rej

[issue19544] Port distutils as found in Python 2.7 to Python 3.x.

2013-11-15 Thread Jason R. Coombs
Jason R. Coombs added the comment: I believe all identified issues have been ported/fixed. -- assignee: eric.araujo -> jason.coombs resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> behavior ___ Python tracker

[issue19619] Blacklist base64, hex, ... codecs from bytes.decode() and str.encode()

2013-11-15 Thread STINNER Victor
New submission from STINNER Victor: I propose to add new input_type and output_type to CodecInfo. These attributes would only be defined for base64, hex, ... codecs which are not the classic encode: str=>bytes, decode: bytes=>str codecs. I also propose to modify str.encode() and bytes.encode()

[issue19557] ast - docs for every node type are missing

2013-11-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: -Devguide ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue19554] Enable all freebsd* host platforms

2013-11-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.6, Python 3.1, Python 3.2, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list

[issue19548] 'codecs' module docs improvements

2013-11-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue19539] The 'raw_unicode_escape' codec buggy + not appropriate for Python 3.x

2013-11-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue19618] test_sysconfig_module fails on Ubuntu 12.04

2013-11-15 Thread Berker Peksag
New submission from Berker Peksag: This is probably related to issue 17679. == FAIL: test_sysconfig_module (distutils.tests.test_sysconfig.SysconfigTestCase) --

[issue19535] Test failures with -OO

2013-11-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume a test could detect docstring stripping with def f(): 'docstring' if f.__doc__ is None: This would cover the test_functools case, but I don't know about the others. -- nosy: +terry.reedy ___ Python tracke

[issue7408] test_distutils fails on Mac OS X 10.5

2013-11-15 Thread Jason R. Coombs
Jason R. Coombs added the comment: I'm declaring this fixed and watching the buildbots for confirmation. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue7408] test_distutils fails on Mac OS X 10.5

2013-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset f4b364617abc by Jason R. Coombs in branch 'default': Issue #7408: Forward port limited test from Python 2.7, fixing failing buildbot tests on BSD-based platforms. http://hg.python.org/cpython/rev/f4b364617abc -- nosy: +python-dev _

[issue16596] Skip stack unwinding when "next", "until" and "return" pdb commands executed in generator context

2013-11-15 Thread Guido van Rossum
Guido van Rossum added the comment: I'd love it if someone could review this. This would be a great improvement to debugging coroutines in asyncio. -- stage: -> patch review ___ Python tracker __

[issue16596] Skip stack unwinding when "next", "until" and "return" pdb commands executed in generator context

2013-11-15 Thread Guido van Rossum
Changes by Guido van Rossum : -- nosy: +larry priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing

[issue7408] test_distutils fails on Mac OS X 10.5

2013-11-15 Thread Jason R. Coombs
Jason R. Coombs added the comment: In issue #19544, #6516 was ported to Python 3.4. After doing so, this issue re-emerges. -- assignee: tarek -> jason.coombs nosy: +jason.coombs resolution: accepted -> status: closed -> open versions: +Python 3.4 __

[issue19544] Port distutils as found in Python 2.7 to Python 3.x.

2013-11-15 Thread Jason R. Coombs
Jason R. Coombs added the comment: Thanks Victor. Yes, it appears that there's yet another unported issue #7408, a follow-up to #6516. -- ___ Python tracker ___ ___

[issue19599] Failure of test_async_timeout() of test_multiprocessing_spawn: TimeoutError not raised

2013-11-15 Thread STINNER Victor
STINNER Victor added the comment: Seen on another buildbot. http://buildbot.python.org/all/builders/AMD64%20OpenIndiana%203.x/builds/6809/steps/test/logs/stdio == FAIL: test_async_timeout (test.test_multiprocessing_fork.WithPro

[issue19575] subprocess.Popen with multiple threads: Redirected stdout/stderr files still open after process close

2013-11-15 Thread STINNER Victor
STINNER Victor added the comment: > I think it's simply due to file descriptor inheritance File handles are now non-inheritable by default in Python 3.4 (PEP 446). Does it change anything? -- nosy: +haypo ___ Python tracker

[issue19544] Port distutils as found in Python 2.7 to Python 3.x.

2013-11-15 Thread STINNER Victor
STINNER Victor added the comment: > At changeset 015463176d2e2530e4f07cfbe97e41abac540a57, > test_make_distribution_owner_group() was failing on some buildbots. The problem is that tempfile.mkdtemp() creates a directory with the group 0. Files created in this directory also have the group 0. T

[issue19575] subprocess.Popen with multiple threads: Redirected stdout/stderr files still open after process close

2013-11-15 Thread Charles-François Natali
Charles-François Natali added the comment: > R. David Murray added the comment: > > neologix noted that *when redirection is used* the way that *all* windows > file handles are inherited changes. That's true (but that was from Richard actually). --

[issue19530] cross thread shutdown of UDP socket exhibits unexpected behavior

2013-11-15 Thread Charles-François Natali
Charles-François Natali added the comment: > mpb added the comment: > > Someone wrote a kernel patch based on my bug report. > > http://www.spinics.net/lists/netdev/msg257653.html It's just a patch to avoid returning garbage in the address. But AFAICT, recvfrom() returning 0 is enough to know th

[issue6466] duplicate get_version() code between cygwinccompiler and emxccompiler

2013-11-15 Thread Jason R. Coombs
Jason R. Coombs added the comment: emxccompiler is no longer present in Python 3.4, so this ticket has become invalid. -- resolution: fixed -> invalid status: open -> closed ___ Python tracker _

[issue1180] Option to ignore or substitute ~/.pydistutils.cfg

2013-11-15 Thread Jason R. Coombs
Changes by Jason R. Coombs : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue19617] Fix usage of Py_ssize_t type in Python/compile.c

2013-11-15 Thread Benjamin Peterson
Benjamin Peterson added the comment: You could use the Py_SAFE_DOWNCAST macro everywhere. -- ___ Python tracker ___ ___ Python-bugs-li

[issue19544] Port distutils as found in Python 2.7 to Python 3.x.

2013-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset c35311fcc967 by Andrew Kuchling in branch 'default': Issue #19544 and Issue #1180: Restore global option to ignore ~/.pydistutils.cfg in Distutils, accidentally removed in backout of distutils2 changes. http://hg.python.org/cpython/rev/c35311fcc96

[issue1180] Option to ignore or substitute ~/.pydistutils.cfg

2013-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset c35311fcc967 by Andrew Kuchling in branch 'default': Issue #19544 and Issue #1180: Restore global option to ignore ~/.pydistutils.cfg in Distutils, accidentally removed in backout of distutils2 changes. http://hg.python.org/cpython/rev/c35311fcc96

[issue19544] Port distutils as found in Python 2.7 to Python 3.x.

2013-11-15 Thread STINNER Victor
STINNER Victor added the comment: At changeset 015463176d2e2530e4f07cfbe97e41abac540a57, test_make_distribution_owner_group() was failing on some buildbots. test_distutils works fine on my Linux box, I ran the test as my haypo user and as root. http://buildbot.python.org/all/builders/AMD64%20

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

2013-11-15 Thread STINNER Victor
STINNER Victor added the comment: Ping myself. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

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

2013-11-15 Thread STINNER Victor
STINNER Victor added the comment: > The "I" parser format does not check for integer overflow. The "O" format can be used with _PyLong_AsInt() instead. -- ___ Python tracker ___

[issue19617] Fix usage of Py_ssize_t type in Python/compile.c

2013-11-15 Thread STINNER Victor
New submission from STINNER Victor: On Windows 64-bit, Visual Studio generates a lot of warnings because Py_ssize_t values are downcasted to int. Attached patch fixes all warnings and move the final downcast into compiler_addop_i(). This function uses an assertion to check that integer parame

[issue17849] Missing size argument in readline() method for httplib's class LineAndFileWrapper

2013-11-15 Thread Rob
Changes by Rob : -- nosy: +raymondr ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mai

[issue6516] reset owner/group to root for distutils tarballs

2013-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 015463176d2e by Victor Stinner in branch 'default': Issue #19544, #6516: no need to catch AttributeError on import pwd/grp http://hg.python.org/cpython/rev/015463176d2e -- ___ Python tracker

[issue19544] Port distutils as found in Python 2.7 to Python 3.x.

2013-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 015463176d2e by Victor Stinner in branch 'default': Issue #19544, #6516: no need to catch AttributeError on import pwd/grp http://hg.python.org/cpython/rev/015463176d2e -- ___ Python tracker

[issue6516] reset owner/group to root for distutils tarballs

2013-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset b08868fd5994 by Christian Heimes in branch 'default': Issue #19544 and Issue #6516: quick workaround for failing builds http://hg.python.org/cpython/rev/b08868fd5994 -- ___ Python tracker

[issue19616] Fix test.test_importlib.util.test_both() to set __module__

2013-11-15 Thread Brett Cannon
New submission from Brett Cannon: Should help with traceback/test failure reporting. -- assignee: brett.cannon messages: 202971 nosy: brett.cannon priority: low severity: normal stage: needs patch status: open title: Fix test.test_importlib.util.test_both() to set __module__ versions: Py

[issue19544] Port distutils as found in Python 2.7 to Python 3.x.

2013-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset b08868fd5994 by Christian Heimes in branch 'default': Issue #19544 and Issue #6516: quick workaround for failing builds http://hg.python.org/cpython/rev/b08868fd5994 -- ___ Python tracker

[issue19504] Change "customise" to "customize".

2013-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset e9d9bebb979f by Vinay Sajip in branch '2.7': Issue #19504: Used American spelling for 'customize'. http://hg.python.org/cpython/rev/e9d9bebb979f New changeset 1c714c35c02a by Vinay Sajip in branch '3.3': Issue #19504: Used American spelling for 'cus

[issue19523] logging.FileHandler - using of delay argument case handle leaks

2013-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset bbb227b96c45 by Vinay Sajip in branch '2.7': Issue #19523: Closed FileHandler leak which occurred when delay was set. http://hg.python.org/cpython/rev/bbb227b96c45 New changeset 058810fe1b98 by Vinay Sajip in branch '3.3': Issue #19523: Closed FileH

[issue19596] Silently skipped tests in test_importlib

2013-11-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Agreed with both Brett and Serhiy. -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mail

[issue19615] "ImportError: dynamic module does not define init function" when deleting and recreating .so files from different machines over NFS

2013-11-15 Thread Edward Catmur
Edward Catmur added the comment: Report dlerror() if dlsym() fails. The error output is now something like: ImportError: /<...>/foo.cpython-34dm.so: undefined symbol: PyInit_bar -- keywords: +patch Added file: http://bugs.python.org/file32643/dynload_report_dlerror.patch _

[issue1180] Option to ignore or substitute ~/.pydistutils.cfg

2013-11-15 Thread Jason R. Coombs
Changes by Jason R. Coombs : -- assignee: akuchling -> jason.coombs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue6516] reset owner/group to root for distutils tarballs

2013-11-15 Thread Jason R. Coombs
Changes by Jason R. Coombs : -- resolution: accepted -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue19544] Port distutils as found in Python 2.7 to Python 3.x.

2013-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset b9c9c4b2effe by Andrew Kuchling in branch 'default': Issue #19544 and Issue #6516: Restore support for --user and --group parameters to sdist command as found in Python 2.7 and originally slated for Python 3.2 but accidentally rolled back as part o

[issue6516] reset owner/group to root for distutils tarballs

2013-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset b9c9c4b2effe by Andrew Kuchling in branch 'default': Issue #19544 and Issue #6516: Restore support for --user and --group parameters to sdist command as found in Python 2.7 and originally slated for Python 3.2 but accidentally rolled back as part o

[issue19590] Use specific asserts in test_email

2013-11-15 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: assertTrue(dtrt) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue19615] "ImportError: dynamic module does not define init function" when deleting and recreating .so files from different machines over NFS

2013-11-15 Thread Edward Catmur
New submission from Edward Catmur: foo.c: #include static PyMethodDef mth[] = { {NULL, NULL, 0, NULL} }; static struct PyModuleDef mod = { PyModuleDef_HEAD_INIT, "foo", NULL, -1, mth }; PyMODINIT_FUNC PyInit_foo(void) { return PyModule_Create(&mod); } bar.c: #include static PyMethodDef mth[]

[issue19614] support.temp_cwd should use support.rmtree

2013-11-15 Thread R. David Murray
New submission from R. David Murray: Based on this error on one of the buildbots, it is clear that support.temp_cwd should be calling support.rmtree, and not shutil.rmtree, during cleanup: [...] During handling of the above exception, another exception occurred: Traceback (most recent call las

[issue19613] test_nntplib: sporadic failures, test_article_head_body()

2013-11-15 Thread STINNER Victor
New submission from STINNER Victor: http://buildbot.python.org/all/builders/AMD64%20Ubuntu%20LTS%203.x/builds/3024/steps/test/logs/stdio == ERROR: test_article_head_body (test.test_nntplib.NetworkedNNTP_SSLTests) ---

[issue19590] Use specific asserts in test_email

2013-11-15 Thread R. David Murray
R. David Murray added the comment: Additional changes look good to me. Unless (pun intended) Barry objects, I think I'll come down in favor of backporting all of these changes. The tipping point is that I've always found myself experiencing cognitive dissonance reading the 'unless' calls, sin

[issue19612] test_subprocess: sporadic failure of test_communicate_epipe()

2013-11-15 Thread STINNER Victor
New submission from STINNER Victor: The test failed on a buildbot, see the message below. By the way, the test should use a value based on test.support.PIPE_MAX_SIZE rather than an hardcoded size of 2**20 bytes. http://buildbot.python.org/all/builders/x86%20Windows%20Server%202008%20%5BSB%5D%

[issue19598] Timeout in test_popen() of test_asyncio.test_windows_utils.PopenTests

2013-11-15 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue19598] Timeout in test_popen() of test_asyncio.test_windows_utils.PopenTests

2013-11-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset d48ec67b3b0e by Guido van Rossum in branch 'default': asyncio: Longer timeout in Windows test_popen. Fixes issue 19598. http://hg.python.org/cpython/rev/d48ec67b3b0e -- nosy: +python-dev ___ Python tracke

[issue19596] Silently skipped tests in test_importlib

2013-11-15 Thread Brett Cannon
Brett Cannon added the comment: As long as setting them to None satisfies the ABC that's fine with me. -- ___ Python tracker ___ ___ P

[issue19596] Silently skipped tests in test_importlib

2013-11-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In this case we should do test_package = None # Built-in modules cannot be a package. test_module_in_package = None # Built-in modules cannobt be in a package. ... And then tests will be skipped and not shown in test report. -- _

[issue19596] Silently skipped tests in test_importlib

2013-11-15 Thread Brett Cannon
Brett Cannon added the comment: These tests can't be removed because the classes are inheriting from an ABC to make sure that those test cases are considered and dealt with, either by explicitly testing them or ignoring them because they don't apply to the finder/loader. And since they are be

[issue19183] PEP 456 Secure and interchangeable hash algorithm

2013-11-15 Thread Nick Coghlan
Changes by Nick Coghlan : -- assignee: ncoghlan -> christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue19577] memoryview bind (the opposite of release)

2013-11-15 Thread Stefan Krah
Stefan Krah added the comment: To my surprise, this line is 10% faster with a freelist: ./python -m timeit -s "import array; a = array.array('B', [0]*100); m = memoryview(a)" "m[30:40]" I think the reason is that PyObject_GC_NewVar() is quite slow. -- ___

[issue19608] devguide needs pictures

2013-11-15 Thread anatoly techtonik
anatoly techtonik added the comment: Thanks for the proposal, but you know perfectly that I am not a designer. I don't believe that there are no talented people who find this ticket interesting. You just need to add tag:easy to is (or allow others to do), so it became visible to these people v

[issue19183] PEP 456 Secure and interchangeable hash algorithm

2013-11-15 Thread Nick Coghlan
Nick Coghlan added the comment: I reviewed the latest PEP text at http://www.python.org/dev/peps/pep-0456/ I'm almost prepared to accept the current version of the implementation, but there's one technical decision to be clarified and a few placeholders in the PEP that need to be cleaned up pr

[issue6516] reset owner/group to root for distutils tarballs

2013-11-15 Thread Nick Coghlan
Nick Coghlan added the comment: Patch looks good to me. -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue1180] Option to ignore or substitute ~/.pydistutils.cfg

2013-11-15 Thread Nick Coghlan
Nick Coghlan added the comment: Patch looks good to me. -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue19609] Codec exception chaining shouldn't cover the initial codec lookup

2013-11-15 Thread Stefan Behnel
Stefan Behnel added the comment: Thanks! -- nosy: +scoder ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue19611] inspect.getcallargs doesn't properly interpret set comprehension code objects.

2013-11-15 Thread Ned Batchelder
Ned Batchelder added the comment: BTW: I don't hold any illusions that this bug is important enough to fix, but I would be interested in hearing ideas about how I could work around it... -- ___ Python tracker

[issue19611] inspect.getcallargs doesn't properly interpret set comprehension code objects.

2013-11-15 Thread Ned Batchelder
New submission from Ned Batchelder: In 2.7, set comprehensions are compiled to code objects expecting an argument named ".0". This convention is also used for the unnamed arguments needed by tuple arguments. inspect.getcallargs understands the tuple argument case, but not the set comprehensi

[issue19552] PEP 453: venv module and pyvenv integration

2013-11-15 Thread Nick Coghlan
Changes by Nick Coghlan : -- assignee: -> ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue19610] TypeError in distutils.command.upload

2013-11-15 Thread STINNER Victor
STINNER Victor added the comment: > upload.upload_file() ... doesn't encode the value. fix-upload-cmd.diff should fix this specific bug, but the first bug (accept tuple for classifiers) should be fixed before or you will get an unexpected behaviour (only send 1 classifier?). -- _

[issue19551] PEP 453: Mac OS X installer integration

2013-11-15 Thread Nick Coghlan
Nick Coghlan added the comment: Based on a comment from MvL in issue 19550 (the Windows installer counterpart), it may be better to say something like "Install/update pip?" as a prompt (since leaving the option checked may also update an existing pip installation that is older than the bundled

[issue19610] TypeError in distutils.command.upload

2013-11-15 Thread STINNER Victor
STINNER Victor added the comment: I never undersood why, but classifiers must be a list, not a tuple. This is a bug in my opinion. upload.upload_file() doesn't check if the tuple contains exactly 2 items. If the value is a tuple, it doesn't encode the value. This is another bug. I don't know

[issue19609] Codec exception chaining shouldn't cover the initial codec lookup

2013-11-15 Thread Nick Coghlan
Nick Coghlan added the comment: Fixed by narrowing the scope of the chaining in http://hg.python.org/cpython/rev/4ea622c085ca -- resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> behavior ___ Python tracker

[issue17810] Implement PEP 3154 (pickle protocol 4)

2013-11-15 Thread Alexandre Vassalotti
Alexandre Vassalotti added the comment: Hi folks, I consider my implementation of PEP-3154 mostly feature complete at this point. I still have a few things left to do. For example, I need to update the documentation about the new protocol. However, these can mostly be done along the review pr

[issue19610] TypeError in distutils.command.upload

2013-11-15 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: +patch Added file: http://bugs.python.org/file32642/fix-upload-cmd.diff ___ Python tracker ___ ___

[issue19610] TypeError in distutils.command.upload

2013-11-15 Thread Berker Peksag
New submission from Berker Peksag: Python 3.4: $ ../cpython/./python setup.py sdist upload -r test --show-response ... ... Traceback (most recent call last): File "setup.py", line 24, in 'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)', File "/home/berker/projects/cpyth

[issue19609] Codec exception chaining shouldn't cover the initial codec lookup

2013-11-15 Thread Nick Coghlan
New submission from Nick Coghlan: The exception chaining from issue 17828 is triggering for the initial codec lookup. This is less than helpful: Failed example: str(result) Expected: Traceback (most recent call last): ... LookupError: unknown encoding: UCS

[issue17810] Implement PEP 3154 (pickle protocol 4)

2013-11-15 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : Removed file: http://bugs.python.org/file32639/f87b455af573.diff ___ Python tracker ___ ___ Python-bugs-list

[issue17810] Implement PEP 3154 (pickle protocol 4)

2013-11-15 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : Added file: http://bugs.python.org/file32640/8434af450da0.diff ___ Python tracker ___ ___ Python-bugs-list m

[issue19593] Use specific asserts in importlib tests

2013-11-15 Thread Nick Coghlan
Nick Coghlan added the comment: Adding a dependency on the PEP 451 implementation - we should merge that first to ensure it doesn't encounter any conflicts. -- dependencies: +Implementation for PEP 451 (importlib.machinery.ModuleSpec) ___ Python trac

[issue19608] devguide needs pictures

2013-11-15 Thread Nick Coghlan
Nick Coghlan added the comment: Feel free to draw some and send a patch. -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-lis

[issue17810] Implement PEP 3154 (pickle protocol 4)

2013-11-15 Thread Alexandre Vassalotti
Changes by Alexandre Vassalotti : Added file: http://bugs.python.org/file32639/f87b455af573.diff ___ Python tracker ___ ___ Python-bugs-list m

[issue19598] Timeout in test_popen() of test_asyncio.test_windows_utils.PopenTests

2013-11-15 Thread STINNER Victor
STINNER Victor added the comment: > Likely. Can you suggest a fix? Replace the timeout of 2 seconds with a timeout of 10 seconds. It looks like the test checks the overlapped I/O API, not the timing. If you want to test exactly the timing, another test is needed (ex: measure the elapsed time an

[issue19608] devguide needs pictures

2013-11-15 Thread anatoly techtonik
New submission from anatoly techtonik: http://docs.python.org/devguide/ it covers pretty much complicated stuff, which takes a lot of time to grasp. Pictures help to save hours if not weeks. There needs to be some immediate intro picture at the top of front page illustrating transformation of

[issue16510] Using appropriate checks in tests

2013-11-15 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- dependencies: +Use specific asserts in array tests, Use specific asserts in datetime tests, Use specific asserts in http.cookiejar tests, Use specific asserts in weakref tests ___ Python tracker

[issue19607] Use specific asserts in weakref tests

2013-11-15 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: The proposed patch makes the weakref module tests use more specific asserts. This will provide more useful failure report. -- components: Tests files: test_weakref_asserts.patch keywords: patch messages: 202932 nosy: fdrake, pitrou, serhiy.storchaka

[issue19606] Use specific asserts in http.cookiejar tests

2013-11-15 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: The proposed patch makes the http.cookiejar module tests use more specific asserts. This will provide more useful failure report. -- components: Tests files: test_http_cookiejar_asserts.patch keywords: patch messages: 202931 nosy: serhiy.storchaka p

[issue19605] Use specific asserts in datetime tests

2013-11-15 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: The proposed patch makes the datetime module tests use more specific asserts. This will provide more useful failure report. -- components: Tests files: test_datetime_asserts.patch keywords: patch messages: 202930 nosy: belopolsky, serhiy.storchaka p

[issue19604] Use specific asserts in array tests

2013-11-15 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: The proposed patch makes the array module tests use more specific asserts. This will provide more useful failure report. -- components: Tests files: test_array_asserts.patch keywords: patch messages: 202929 nosy: serhiy.storchaka priority: normal se

  1   2   >