[issue5322] Python 2.6 object.__new__ argument calling autodetection faulty

2016-12-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- keywords: -patch stage: patch review -> ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue5322] Python 2.6 object.__new__ argument calling autodetection faulty

2016-12-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- versions: +Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue28180] sys.getfilesystemencoding() should default to utf-8

2016-12-12 Thread Jan Niklas Hasse
Jan Niklas Hasse added the comment: Actually in a new Docker container, the LANG variable isn't set at all. Defaulting to UTF-8 in that case should be easier to reason about, shouldn't it? -- ___ Python tracker __

[issue28180] sys.getfilesystemencoding() should default to utf-8

2016-12-12 Thread Nick Coghlan
Nick Coghlan added the comment: >From CPython's point of view, glibc behaves the same way (i.e. reporting >`ascii` as the preferred encoding for operating system interfaces) regardless >of whether the cause is the locale not being set at all, or due to it being >explicitly set to the legacy PO

[issue28180] sys.getfilesystemencoding() should default to utf-8

2016-12-12 Thread Jan Niklas Hasse
Jan Niklas Hasse added the comment: https://sourceware.org/glibc/wiki/Proposals/C.UTF-8#Defaults mentions that C.UTF-8 should be glibc's default. This bug report also mentions Python: https://sourceware.org/bugzilla/show_bug.cgi?id=17318 It hasn't been fixed yet, though :/ -- ___

[issue28764] test_mailbox fails when run as a non-root user on Android API 24

2016-12-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 51573ef25903 by Xavier de Gaye in branch '3.6': Issue #28764: Fix a test_mailbox failure on Android API 24 when run as a non-root user. https://hg.python.org/cpython/rev/51573ef25903 New changeset 3a451c67008d by Xavier de Gaye in branch 'default':

[issue5322] Python 2.6 object.__new__ argument calling autodetection faulty

2016-12-12 Thread Matthias Klose
Matthias Klose added the comment: https://trac.sagemath.org/ticket/22037 reports about another regression. -- nosy: +doko ___ Python tracker ___ __

[issue26856] android does not have pwd.getpwall()

2016-12-12 Thread Xavier de Gaye
Xavier de Gaye added the comment: Patch updated to the current head of the default branch. -- stage: patch review -> commit review Added file: http://bugs.python.org/file45855/pwd_3.patch ___ Python tracker ___

[issue28764] test_mailbox fails when run as a non-root user on Android API 24

2016-12-12 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue5322] Python 2.6 object.__new__ argument calling autodetection faulty

2016-12-12 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: @serhiy.storchaka: yes, changing the order of the base classes fixes the issue with __new__. Also manually assigning __new__ works, like class C(A, B): __new__ = B.__new__ What is broken by this patch is only the auto-detection of which __new__ (really, w

[issue28180] sys.getfilesystemencoding() should default to utf-8

2016-12-12 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: If we just restrict this to the file system encoding (and not the whole LANG setting), how about: * default the file system encoding to 'utf-8' and use the surrogate escape handler as default error handler * add a PYTHONFSENCODING env var to set the file

[issue28180] sys.getfilesystemencoding() should default to utf-8

2016-12-12 Thread INADA Naoki
INADA Naoki added the comment: Sorry for confusing. I didn't meant defaulting LANG=C.UTF-8. I meant use UTF-8 as default fsencoding, stdioencoding regardless locale, and locale.getpreferredencoding() returns 'utf-8' when LC_CTYPE is ascii. -- ___ Pyt

[issue5322] Python 2.6 object.__new__ argument calling autodetection faulty

2016-12-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Jeroen. It looks to me that all problems can be resolved by reordering base classes and making Cython not generating trivial __new__. But that is possible only in new Python version. In maintained versions we should keep the old behavior for backwa

[issue28942] await expressions in f-strings

2016-12-12 Thread Adam Gregory
New submission from Adam Gregory: Hi, I've been playing with f-strings, which seem like a great addition to the language. I noticed in the definition of f_expression that it can include any or_expr. As far as I understand, this includes "await" expressions, so I tried using await inside an f-

[issue28942] await expressions in f-strings

2016-12-12 Thread Adam Gregory
Adam Gregory added the comment: Replicated in CPython 3.6.0rc1 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue28943] Use PyUnicode_MAX_CHAR_VALUE instead of PyUnicode_KIND in some API's short path

2016-12-12 Thread Xiang Zhang
New submission from Xiang Zhang: Some unicode APIs like PyUnicode_Contains get a short path comparing kinds. But this get a problem cannot apply to ascii and latin1. PyUnicode_MAX_CHAR_VALUE could be used instead to make the short path also apply to ascii and latin1. This skill is already used

[issue28943] Use PyUnicode_MAX_CHAR_VALUE instead of PyUnicode_KIND in some API's short path

2016-12-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PyUnicode_KIND() just extracts three bits from the state word. PyUnicode_MAX_CHAR_VALUE() extracts bits multiple times and does few conditional branching. I think it is much slower that PyUnicode_KIND(). In common case you search ASCII needle or the needle o

[issue28942] await expressions in f-strings

2016-12-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue28180] sys.getfilesystemencoding() should default to utf-8

2016-12-12 Thread Nick Coghlan
Nick Coghlan added the comment: The challenge that arises in being selective about this is that "sys.getfilesystemencoding()" is actually a misnomer, and some of the things we use it for (like decoding command line arguments and environment variables) necessarily happen *really* early in the i

[issue21368] Check for systemd locale on startup if current locale is set to POSIX

2016-12-12 Thread Nick Coghlan
Nick Coghlan added the comment: While this is still a problem I'm interested in solving, I no longer think reading the systemd locale config file would be a good way to address it. See issue 28180 for a more recent discussion of some other alternatives. -- resolution: -> rejected stat

[issue795081] email.Message param parsing problem II

2016-12-12 Thread bpoaugust
bpoaugust added the comment: Rather that change unquote to deal with such malformed input, why not just enhance get/set boundary? That would reduce the impact of any changes. Also it should be easier to detect trailing rubbish in the value if you know it is a boundary value. -- nosy:

[issue28944] A lack of comma within EBNF rule of keywords_arguments

2016-12-12 Thread woo yoo
New submission from woo yoo: This is the documented rule, which lacks a comma within the last line. keywords_arguments ::= (keyword_item | "**" expression) ("," keyword_item | "**" expression)* The correct form should be: keywords_arguments ::= (keyword_item | "**"

[issue28944] A lack of line 6

2016-12-12 Thread woo yoo
woo yoo added the comment: There is no line 6 between line 7 and line 5. Here is the original documentationhttps://docs.python.org/3/library/stdtypes.html#old-string-formatting -- title: A lack of comma within EBNF rule of keywords_arguments -> A lack of line 6 ___

[issue26683] Questionable terminology for describing what locals() does

2016-12-12 Thread Marco Buttu
Marco Buttu added the comment: Another point in the doc, where the meaning of "free variable" is inconsistent with the ``locals()`` and ``code.co_freevars`` meaning: https://docs.python.org/3/reference/executionmodel.html#interaction-with-dynamic-features -- __

[issue28943] Use PyUnicode_MAX_CHAR_VALUE instead of PyUnicode_KIND in some API's short path

2016-12-12 Thread Xiang Zhang
Xiang Zhang added the comment: I know the difference and thought the overhead should be tiny (not in a critical part). But benchmarks show it's not. :-( -- stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue28943] Use PyUnicode_MAX_CHAR_VALUE instead of PyUnicode_KIND in some API's short path

2016-12-12 Thread Xiang Zhang
Changes by Xiang Zhang : -- resolution: -> rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue28945] get_boundary invokes unquote twice

2016-12-12 Thread bpoaugust
New submission from bpoaugust: get_boundary calls get_param('boundary') which unquotes the value. It then calls utils.collapse_rfc2231_value which also calls unquote. This causes problems for boundaries that have two sets of quotes. For example, I have seen the following in the wild: Content-Ty

[issue28935] distutils use ConfigParser in Python 3.x and fails to parse setup.cfg with percent sign

2016-12-12 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report! This looks similar to issue 20754. Disabling string interpolation would break existing code (but probably just Python 3 only code) Would using %% instead of % be possible for you? (3.3 and 3.4 are in security-fix-only mode so I removed t

[issue28946] AttributeError: module 'signal' has no attribute 'SIGALRM'

2016-12-12 Thread dd
New submission from dd: When I try to run the example at the very end of the signal documentation page [https://docs.python.org/3/library/signal.html#example] I get the error from the title: AttributeError: module 'signal' has no attribute 'SIGALRM' The same thing happens for SIGINT, which is

[issue28947] Facing issue while running Python 3.6.0rc1 windows x86-64 web based installer

2016-12-12 Thread arpit arora
New submission from arpit arora: Hi, Post installing 'Python 3.6.0rc1 windows x86-64 web based installer' on my Windows 7 64 bit system, i am not able to start python. Each time i start it, i get a pop up saying that "the program can't start because 'api-ms-win-crt-runtime-|1-1-0.dll' is miss

[issue28948] Facing issue while running Python 3.6.0rc1 windows x86-64 web based installer

2016-12-12 Thread arpit arora
New submission from arpit arora: Hi, Post installing 'Python 3.6.0rc1 windows x86-64 web based installer' on my Windows 7 64 bit system, i am not able to start python. Each time i start it, i get a pop up saying that "the program can't start because 'api-ms-win-crt-runtime-|1-1-0.dll' is miss

[issue28935] distutils use ConfigParser in Python 3.x and fails to parse setup.cfg with percent sign

2016-12-12 Thread Axel Haustant
Axel Haustant added the comment: You're welcome. I understand the backward compatibility point. But I think that the current state is breaking existing code as it's not documented anywhere and it's a side-effect of another change, not something intentionnal. (this is why I submitted this issue

[issue28948] Facing issue while running Python 3.6.0rc1 windows x86-64 web based installer

2016-12-12 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Please try to install this update from MS: https://support.microsoft.com/en-us/kb/2999226 it includes the missing DLL. -- nosy: +lemburg ___ Python tracker __

[issue28946] AttributeError: module 'signal' has no attribute 'SIGALRM'

2016-12-12 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: Can you import _signal? And what's the output of dir(_signal)? Another possibility is that there's another signal.py in the search path. Could you also paste the output of repr(signal)? By the way, here on Arch Linux, both signal.SIGINT and signal.SIGALRM are t

[issue5322] Python 2.6 object.__new__ argument calling autodetection faulty

2016-12-12 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: Wouldn't it be possible to fix assignment of __new__ without breaking backwards compatibility (and then apply the same patch for all Python versions)? I have a feeling that breaking the auto-detection of tp_new is a new bug introduced by this patch and not a f

[issue28946] AttributeError: module 'signal' has no attribute 'SIGALRM'

2016-12-12 Thread dd
dd added the comment: Yeah, I'm stupid. I named my file signal.py… Sorry for the trouble and thanks for your help! -- resolution: -> not a bug status: open -> closed ___ Python tracker ___

[issue28948] Facing issue while running Python 3.6.0rc1 windows x86-64 web based installer

2016-12-12 Thread arpit arora
arpit arora added the comment: Hi Marc, It worked. Thanks a lot :) Regards Arpit Arora -- ___ Python tracker ___ ___ Python-bugs-lis

[issue28946] AttributeError: module 'signal' has no attribute 'SIGALRM'

2016-12-12 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue28948] Facing issue while running Python 3.6.0rc1 windows x86-64 web based installer

2016-12-12 Thread Steve Dower
Steve Dower added the comment: Arpit, could you look in your %TEMP% directory for the Python logs when you originally installed it? There may be some information in those about why the update didn't install properly the first time, and I'd like to fix it. You can just zip up all the logs you f

[issue28874] test_logging fails and freezes

2016-12-12 Thread Whitequill Riclo
Whitequill Riclo added the comment: my OS is Ubuntu on Windows 10 . The new Linux subsystem for Windows 10 Linux version 3.4.0-Microsoft (micros...@microsoft.com) (gcc version 4.7 (GCC) ) #1 SMP PREEMPT Wed Dec 31 14:42:53 PST 2014 Distribu

[issue28248] Upgrade installers to OpenSSL 1.0.2j

2016-12-12 Thread S Safihre
S Safihre added the comment: >From the changelog I interpreted this to mean that Python would now use >OpenSSL 1.0.2j on macOS for it's ssl module. But this is not the case? On a fresh macOS Sierra VM I get: Python 2.7.13rc1 (v2.7.13rc1:4d6fd49eeb14, Dec 3 2016, 13:01:23) [GCC 4.2.1 (Apple In

[issue28935] distutils use ConfigParser in Python 3.x and fails to parse setup.cfg with percent sign

2016-12-12 Thread Jason R. Coombs
Jason R. Coombs added the comment: This looks to be another manifestation of issue20120 and is a duplicate of issue20754. -- resolution: -> duplicate status: open -> closed ___ Python tracker

[issue20754] Distribution.parse_config_files uses interpolation since Python 3

2016-12-12 Thread Jason R. Coombs
Jason R. Coombs added the comment: Looking more closely now and as a result of the report in issue28935, I see that this issue is another separate manifestation of the issue addressed in issue20120. -- resolution: out of date -> status: closed -> open title: distutils should use SafeC

[issue28949] Unable to launch Python interpreter

2016-12-12 Thread Jason R. Coombs
New submission from Jason R. Coombs: I recently upgraded Python 3.6.0rc1 over 3.6.0b4. Python would invoke just fine after the update, but following a system restart, I'm experiencing crashes on any invocation of Python. I suspect it's just a bad/corrupted install. I will do more investigation

[issue28949] Unable to launch Python interpreter

2016-12-12 Thread Jason R. Coombs
Jason R. Coombs added the comment: A simple re-install corrected the issue and survived a restart. I suspect one or more components weren't properly upgraded or were corrupted for unrelated reasons. I suspect that it was an environmental issue and not an issue with the package itself. ---

[issue5322] Python 2.6 object.__new__ argument calling autodetection faulty

2016-12-12 Thread Guido van Rossum
Changes by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue26936] android: test_socket fails

2016-12-12 Thread Xavier de Gaye
Xavier de Gaye added the comment: New patch using sys.getandroidapilevel(). getandroidapilevel() is only available in 3.7, so only 3.7 is being fixed. -- stage: commit review -> patch review versions: -Python 3.6 Added file: http://bugs.python.org/file45858/test_socket_3.patch

[issue28942] await expressions in f-strings

2016-12-12 Thread Guido van Rossum
Guido van Rossum added the comment: I was going to say "no", but given that "yield" works, I think it is reasonable to allow "await" as well. (And what about "yield from"?) -- ___ Python tracker ___

[issue28937] str.split(): remove empty strings when sep is not None

2016-12-12 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I really appreciate all the feedback. Here are some thoughts. I'm well aware of the filter(), re, and other options, and certainly those can be made to work, but they're non-obvious. The reason I suggested an enhancement to str.split() is because I've seen th

[issue28759] access to mkfifo, mknod and hard links is controled by SELinux MAC on Android

2016-12-12 Thread Xavier de Gaye
Changes by Xavier de Gaye : -- stage: patch review -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue28935] distutils use ConfigParser in Python 3.x and fails to parse setup.cfg with percent sign

2016-12-12 Thread Axel Haustant
Axel Haustant added the comment: No it's not. Same problem but on a different part: the two cited issues are about the .pypirc file not the setup.cfg. The parsing does not occurs at the same place and the fix does not works for setup.cfg (I tried before submitting this issue). In this specific

[issue28935] distutils use ConfigParser in Python 3.x and fails to parse setup.cfg with percent sign

2016-12-12 Thread Axel Haustant
Axel Haustant added the comment: Sorry, it is effectively a duplicate of the second one. But I submitted a patch which is not present in the other. What should I do ? (I'll attach the patch to the other one instead) -- ___ Python tracker

[issue28942] await expressions in f-strings

2016-12-12 Thread Yury Selivanov
Yury Selivanov added the comment: > I was going to say "no", but given that "yield" works, I think it is reasonable to allow "await" as well. (And what about "yield from"?) Agree. I suspect the reason is that async/await aren't proper keywords in 3.5/3.6, and the hacks we have in tokenizer to

[issue28091] Document PEP 525

2016-12-12 Thread Yury Selivanov
Yury Selivanov added the comment: Guido, Nick, OK, let's keep using the current terminology. Eric, Will you have time to make a new version of the patch (addressing the review comments)? -- ___ Python tracker

[issue20754] Distribution.parse_config_files uses interpolation since Python 3

2016-12-12 Thread Axel Haustant
Axel Haustant added the comment: I just attached the patch submitted on issue28935. The fix is to simply give interpolation=None as ConfigParser parameter (as documented in the official Python 3.x ConfigParser documentation) -- keywords: +patch nosy: +noirbizarre Added file: http://bu

[issue16255] subrocess.Popen needs /bin/sh but Android only has /system/bin/sh

2016-12-12 Thread Xavier de Gaye
Xavier de Gaye added the comment: New patch using sys.getandroidapilevel() that is only defined for Android. getandroidapilevel() is only available in 3.7, so only 3.7 is being fixed. -- assignee: -> xdegaye dependencies: -add function to os module for getting path to default shell ver

[issue28948] Facing issue while running Python 3.6.0rc1 windows x86-64 web based installer

2016-12-12 Thread arpit arora
arpit arora added the comment: Hi Steve, Please find attached the required logs along with this message. Thanks Arpit Arora -- Added file: http://bugs.python.org/file45861/Python 3.6.0rc1 (64-bit)_20161212154459_010_path_JustForMe.log ___ Python tr

[issue28937] str.split(): remove empty strings when sep is not None

2016-12-12 Thread Guido van Rossum
Guido van Rossum added the comment: I like the proposal. I agree that filter(None, ...) is not discoverable (and has its own magic). So the proposal would be: prune=False -> empty strings stay, prune=True, empty strings are dropped, prune=None (default) use True if sep is None, False otherwis

[issue28948] Facing issue while running Python 3.6.0rc1 windows x86-64 web based installer

2016-12-12 Thread arpit arora
arpit arora added the comment: Hi Steve, Please neglect my last message, find the zip attached with this message. Thanks Arpit Arora -- Added file: http://bugs.python.org/file45862/Python 3.6.0rc1 (64-bit)_zip.zip ___ Python tracker

[issue28937] str.split(): remove empty strings when sep is not None

2016-12-12 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Dec 12, 2016, at 04:16 PM, Guido van Rossum wrote: >So the proposal would be: prune=False -> empty strings stay, prune=True, >empty strings are dropped, prune=None (default) use True if sep is None, >False otherwise. Right? Yep! >Some end cases: > >- ''.sp

[issue28949] Unable to launch Python interpreter

2016-12-12 Thread Jason R. Coombs
Jason R. Coombs added the comment: Spontaneously, this issue has arisen again. Without a system restart or any system-level configuration changes, launching the interpreter is once again causing crashes. In addition to the crash log I pasted earlier, I see this in the console when launching th

[issue28935] distutils use ConfigParser in Python 3.x and fails to parse setup.cfg with percent sign

2016-12-12 Thread Berker Peksag
Changes by Berker Peksag : -- stage: -> resolved superseder: -> Distribution.parse_config_files uses interpolation since Python 3 ___ Python tracker ___ __

[issue28949] Unable to launch Python interpreter

2016-12-12 Thread Jason R. Coombs
Jason R. Coombs added the comment: Indeed it seems that aliases.py is missing. $ ls /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/encodings/a* /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/encodings/ascii.py -- __

[issue20754] Distribution.parse_config_files uses interpolation since Python 3

2016-12-12 Thread Berker Peksag
Berker Peksag added the comment: Thanks! We also need a test case for the new behavior. -- stage: resolved -> patch review ___ Python tracker ___

[issue28937] str.split(): remove empty strings when sep is not None

2016-12-12 Thread Emanuel Barry
Changes by Emanuel Barry : Removed file: http://bugs.python.org/file45853/split_prune_1.patch ___ Python tracker ___ ___ Python-bugs-list mail

[issue28937] str.split(): remove empty strings when sep is not None

2016-12-12 Thread Emanuel Barry
Emanuel Barry added the comment: Barry: Sure, the docs example was just a quick write-up, you can word it however you want! Guido: Pretty much, except the other way around (when prune is False, i.e. "don't remove empty strings"). The attached patch exposes the behaviour (it's identical to las

[issue28949] Unable to launch Python interpreter

2016-12-12 Thread Jason R. Coombs
Jason R. Coombs added the comment: Hmm. Looks like I may [have a trojan](http://stackoverflow.com/a/4707258). -- ___ Python tracker ___ __

[issue28921] Make str.count one character for latin1 string faster

2016-12-12 Thread Xiang Zhang
Xiang Zhang added the comment: > The code looks too complex. It is if looking at the patch alone. But the skill is used across stringlib and the only thing new is the bitwise operation. str/bytes.count is not critical but not bad if it could be optimized and especially the effect is significa

[issue28248] Upgrade installers to OpenSSL 1.0.2j

2016-12-12 Thread Ned Deily
Ned Deily added the comment: @S Safihre. See the ReadMe included with the python.org 2.7.x installers. (It is displayed at installation and a copy is installed to /Applications/Python 2.7/ReadMe.rtf) As explained there, for 2.7.13rc1 as in recent previous 2.7.x releases, only the 10.5+ insta

[issue28937] str.split(): remove empty strings when sep is not None

2016-12-12 Thread Guido van Rossum
Guido van Rossum added the comment: > except the other way around Whoops. Indeed. So all's well here. > x.split(tuple(string.whitespace)) Yes, that's what I was after. (But it can be a separate PR.) -- ___ Python tracker

[issue28949] Unable to launch Python interpreter

2016-12-12 Thread Ned Deily
Ned Deily added the comment: Jason, assuming you are using the python.org 3.6.0r1 installer, let us know what you find out! -- nosy: +ned.deily ___ Python tracker ___ __

[issue28937] str.split(): remove empty strings when sep is not None

2016-12-12 Thread Vedran Čačić
Vedran Čačić added the comment: I think Guido's mistake is relevant here. It tripped me too. Too much negatives, and "prune" is not really well-known verb. Besides, we already have str.splitlines' keepends, which works the opposite way. -- ___ Pytho

[issue28947] Facing issue while running Python 3.6.0rc1 windows x86-64 web based installer

2016-12-12 Thread Steve Dower
Changes by Steve Dower : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Facing issue while running Python 3.6.0rc1 windows x86-64 web based installer ___ Python tracker ___

[issue28950] -j0 fails the check -j are not allowed together with -T/-l

2016-12-12 Thread Xiang Zhang
New submission from Xiang Zhang: For python test command line arguments, -j is not allowed together with -T/-l (don't know why): [cpython]$ ./python -m test -j4 -T usage: python -m test [options] [test_name1 [test_name2 ...]] python path/to/Lib/test/regrtest.py [options] [test_name1 [test_name2

[issue28948] Facing issue while running Python 3.6.0rc1 windows x86-64 web based installer

2016-12-12 Thread Steve Dower
Steve Dower added the comment: I don't support you have a file named "ucrtbase.dll" in your downloads directory? That would be a really simple explanation, and I'd know how to fix it. If not, I don't have enough information from the logs to guess what the problem may be. For some reason, we t

[issue28950] regrtest: -j0 fails the check -j are not allowed together with -T/-l

2016-12-12 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +haypo title: -j0 fails the check -j are not allowed together with -T/-l -> regrtest: -j0 fails the check -j are not allowed together with -T/-l ___ Python tracker __

[issue28950] regrtest: -j0 fails the check -j is not allowed together with -T/-l

2016-12-12 Thread Xiang Zhang
Changes by Xiang Zhang : -- title: regrtest: -j0 fails the check -j are not allowed together with -T/-l -> regrtest: -j0 fails the check -j is not allowed together with -T/-l ___ Python tracker ___

[issue28951] re.flags not documented in Module Contents as promised.

2016-12-12 Thread kevin
New submission from kevin: In the online documentation of module re (https://docs.python.org/3.5/library/re.html) under 6.2.1. Regular Expression Syntax for item (?aiLmsux) we are promised "The flags are described in Module Contents" but no description is found there. In fact a number o

[issue28941] Update the link to Source Code in Python Docs from hg to github

2016-12-12 Thread Brett Cannon
Brett Cannon added the comment: How is this different from issue #28929? -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue26876] Extend MSVCCompiler class to respect environment variables

2016-12-12 Thread Zachary Ware
Zachary Ware added the comment: Steve, does the latest patch look good to you? -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue28951] re.flags not documented in Module Contents as promised.

2016-12-12 Thread R. David Murray
R. David Murray added the comment: When I follow the link to module contents, I find a list of the flags with their descriptions. (re.A, re.I, etc, etc). Perhaps you are confusing the letters used in the regular expression to represent the flags with the flags themselves? I'm not sure how w

[issue28941] Update the link to Source Code in Python Docs from hg to github

2016-12-12 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: There's source code of the documentation itself https://github.com/python/cpython/blob/master/Doc/library/abc.rst ) for and source code of abc.py https://github.com/python/cpython/blob/master/Lib/abc.py Maybe I misunderstood, I figured issue #28929 is for f

[issue11874] argparse assertion failure with brackets in metavars

2016-12-12 Thread paul j3
Changes by paul j3 : -- priority: normal -> high ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue28896] Embeddable zip allows Windows registry to override module location

2016-12-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5bd248c2cc75 by Steve Dower in branch '3.6': Issue #28896: Disable WindowsRegistryFinder by default. https://hg.python.org/cpython/rev/5bd248c2cc75 New changeset 4bd131b028ce by Steve Dower in branch 'default': Issue #28896: Disable WindowsRegistryF

[issue28896] Embeddable zip allows Windows registry to override module location

2016-12-12 Thread Steve Dower
Steve Dower added the comment: And that commit removes WindowsRegistryFinder from sys.meta_path on startup (as well as fixing regeneration of importlib when building on Windows). It should *not* be cherry picked for 3.6.0. -- resolution: -> fixed stage: commit review -> resolved statu

[issue28952] csv.Sniffer().sniff(0 returns a value without the "strict" attribute

2016-12-12 Thread kevin
New submission from kevin: In https://docs.python.org/3.5/library/csv.html#dialects-and-formatting-parameters the Dialect objects are described as supporting, among others, the Dialect.strict attribute, with a default value of False. However, the sniff() returns an object lacking this att

[issue28933] AC: Accept None as a Py_ssize_t default value

2016-12-12 Thread Julien Palard
Julien Palard added the comment: Hi Larry, Did you take more time to review this patch and my last comments? I don't think it that awful as it does _not_ apply until explicitly asked for, but I'm open to discuss it. -- ___ Python tracker

[issue28933] AC: Accept None as a Py_ssize_t default value

2016-12-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Agreed with Larry. "Special cases aren't special enough to break the rules." General converter shouldn't be changed for just one use case. Write your own special converter. Or just use the "O" converter and manually convert Python object to C value. That can

[issue28845] Clean up known issues for AIX

2016-12-12 Thread Julien Palard
Julien Palard added the comment: LGTM but no AIX to test it. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28949] Unable to launch Python interpreter

2016-12-12 Thread Jason R. Coombs
Jason R. Coombs added the comment: I am using the python.org rc1 installer, confirmed to match the public md5 sum: $ md5 ~/Downloads/python-3.6.0rc1-macosx10.6.pkg MD5 (/Users/jaraco/Downloads/python-3.6.0rc1-macosx10.6.pkg) = 404c390ae27f067aaab34f168cf913eb I downloaded ClamXav and had it s

[issue28919] Simplify `_copy_func_details` in unittest.mock

2016-12-12 Thread Berker Peksag
New submission from Berker Peksag: Thanks for the patch. I only did a quick review, but it looks good to me. -- nosy: +berker.peksag, michael.foord stage: -> patch review ___ Python tracker ___

[issue28949] Unable to launch Python interpreter

2016-12-12 Thread Jason R. Coombs
Jason R. Coombs added the comment: I thought I was on to something when I found this technique for using dtrace to detect a file deletion: https://blogs.oracle.com/zoneszone/entry/who_keeps_removing_that_file However, I don't seem to have privilege to run it. $ cat trap-aliases-delete #! /us

[issue28949] Unable to launch Python interpreter

2016-12-12 Thread Jason R. Coombs
Jason R. Coombs added the comment: Looks like I can [disable SIP](http://internals.exposed/blog/dtrace-vs-sip.html) and dtrace will be viable. -- ___ Python tracker ___ ___

[issue28923] Nonexisting encoding specified in Tix.py

2016-12-12 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +serhiy.storchaka, terry.reedy stage: -> patch review type: compile error -> behavior ___ Python tracker ___

[issue28933] AC: Accept None as a Py_ssize_t default value

2016-12-12 Thread Julien Palard
Julien Palard added the comment: > for just one use case I don't think that using None in a default argument is "one use case", nor a "special case" it's more like a "widly used pattern" that I'd like to make simple to implement (also see http://bugs.python.org/issue28754#msg282891). I'm not

[issue28089] asyncio: Document that TCP_NODELAY is now used by default

2016-12-12 Thread Ned Deily
Ned Deily added the comment: Yury, look good to you? -- stage: patch review -> commit review versions: +Python 3.7 ___ Python tracker ___

[issue28932] Fail compile Python 3.6.0rc1 on OpenBSD 6.0

2016-12-12 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +haypo stage: -> patch review versions: +Python 3.7 ___ Python tracker ___ ___ Python-bugs-list m

[issue28919] Simplify `_copy_func_details` in unittest.mock

2016-12-12 Thread Michael Foord
Michael Foord added the comment: Yep, looks good to me to. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue28953] Use `raise from` when raising new IncompleteRead

2016-12-12 Thread Ram Rachum
New submission from Ram Rachum: I had this error come up in my code, and because it doesn't use `raise ... from` I thought that the second error was unexpected, while in fact it wasn't. This patch should fix that. -- components: Library (Lib) files: 1.patch keywords: patch messages: 28

[issue28953] Use `raise from` when raising new IncompleteRead

2016-12-12 Thread Ram Rachum
Changes by Ram Rachum : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

  1   2   >