[issue28147] Unbounded memory growth resizing split-table dicts

2016-12-15 Thread Ned Deily
Ned Deily added the comment: [cherrypicked for 3.6.0rc2] -- priority: release blocker -> deferred blocker ___ Python tracker ___

[issue28979] What's New entry on compact dict mentions "faster" implementation

2016-12-15 Thread Ned Deily
Ned Deily added the comment: [cherrypicked for 3.6.0rc2] -- priority: release blocker -> resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

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

2016-12-15 Thread Ned Deily
Ned Deily added the comment: [cherrypicked for 3.6.0rc2] -- priority: deferred blocker -> ___ Python tracker ___

[issue28783] Embedded/nuget packages incorrectly reference bdist_wininst

2016-12-15 Thread Ned Deily
Ned Deily added the comment: [cherrypicked for 3.6.0rc2] -- priority: release blocker -> resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker

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

2016-12-15 Thread Ned Deily
Ned Deily added the comment: [cherrypicked for 3.6.0rc2] -- priority: release blocker -> ___ Python tracker ___

[issue28898] Can't compile gdb with Python 3.6

2016-12-15 Thread Ned Deily
Ned Deily added the comment: [cherrypicked for 3.6.0rc2] -- assignee: ned.deily -> priority: release blocker -> resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue28635] Update What's New for 3.6

2016-12-15 Thread Ned Deily
Ned Deily added the comment: [cherrypicked for 3.6.0r2] -- ___ Python tracker ___ ___ Python-bugs-list

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

2016-12-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6249350e654a by Steve Dower in branch '3.6': Issue #28896: Deprecate WindowsRegistryFinder https://hg.python.org/cpython/rev/6249350e654a -- ___ Python tracker

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

2016-12-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset dfd1019f75f9 by Yury Selivanov in branch '3.6': Issue #28089: Document TCP_NODELAY in asyncio https://hg.python.org/cpython/rev/dfd1019f75f9 -- ___ Python tracker

[issue28898] Can't compile gdb with Python 3.6

2016-12-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset d6c8803c55b4 by Benjamin Peterson in branch '3.6': guard HAVE_LONG_LONG definition to prevent redefinition (#28898) https://hg.python.org/cpython/rev/d6c8803c55b4 New changeset 9d0765c22bed by Ned Deily in branch '3.6': Issue #28898: add Misc/NEWS

[issue28147] Unbounded memory growth resizing split-table dicts

2016-12-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset b70b2d3f3167 by Victor Stinner in branch '3.6': Fix a memory leak in split-table dictionaries https://hg.python.org/cpython/rev/b70b2d3f3167 -- ___ Python tracker

[issue28091] Document PEP 525 & 530

2016-12-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5a11263bb612 by Yury Selivanov in branch '3.6': Issue #28091: Document PEP 525 & PEP 530. https://hg.python.org/cpython/rev/5a11263bb612 -- ___ Python tracker

[issue28783] Embedded/nuget packages incorrectly reference bdist_wininst

2016-12-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1f69fb337288 by Steve Dower in branch '3.6': Issue #28783: Replaces bdist_wininst in nuget packages with stub https://hg.python.org/cpython/rev/1f69fb337288 -- ___ Python tracker

[issue28635] Update What's New for 3.6

2016-12-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset cb4ad88fdc91 by Yury Selivanov in branch '3.6': Issue #28635: Drop the note that whatsnew is incomplete https://hg.python.org/cpython/rev/cb4ad88fdc91 New changeset c4d6ef15bb7c by Yury Selivanov in branch '3.6': Issue #28635: asyncio-related fixes

[issue28979] What's New entry on compact dict mentions "faster" implementation

2016-12-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 911cc601089d by Victor Stinner in branch '3.6': Issue #28979: Fix What's New in Python 3.6, dict https://hg.python.org/cpython/rev/911cc601089d -- ___ Python tracker

[issue28900] update 'docs for other versions'

2016-12-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 257a1c7f9507 by Ned Deily in branch '3.6': Issue #28900: Update documentation sidebar for 3.6.0rc. https://hg.python.org/cpython/rev/257a1c7f9507 -- ___ Python tracker

[issue28977] Document PyObject_CallFunction() special case more explicitly

2016-12-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: "O" is not the only special case. "S" and "N" unpack a tuple argument too. "O&" converter should return a tuple, otherwise it is an error. All other format codes are illegal for single argument. I would just deprecate this feature (in PyObject_CallFunction,

[issue28961] unittest.mock._Call ignores `name` parameter

2016-12-15 Thread Jiajun Huang
Jiajun Huang added the comment: code and test case has been updated. -- Added file: http://bugs.python.org/file45922/mock.patch ___ Python tracker ___

[issue28689] OpenSSL 1.1.0c test failures

2016-12-15 Thread Christian Heimes
Christian Heimes added the comment: Thanks, Ned! To clarify, it's not jus the test suite. OpenSSL 1.1.0c broke the ssl module. -- ___ Python tracker ___

[issue28971] nntplib is broken when responses are longer than _MAXLINE

2016-12-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The limit to readline() was added to prevent consuming an excessive amount of memory. But this doesn't help in case of long multiline responses, since all lines are accumulated in a list in memory. A malicious server could cause a client consuming an

[issue28968] xml rpc server fails with connection reset by peer error no 104

2016-12-15 Thread Manish Singh
Manish Singh added the comment: Hi David Murray, Thanks for replying. I have mentioned that my client and server are running on same host. So communication is going through localhost address. I have checked for possible reasons of connection reset by peer error, below are the possible

[issue28985] sqlite3 authorizer codes constants not up to date

2016-12-15 Thread Berker Peksag
Berker Peksag added the comment: Looks good to me. Thanks for the patch, Dingyuan. Since this is an enhancement request, we can only commit your patch to the default branch so I updated the versions field accordingly. -- nosy: +berker.peksag stage: -> patch review versions: -Python

[issue28689] OpenSSL 1.1.0c test failures

2016-12-15 Thread Ned Deily
Ned Deily added the comment: I added the following text to the "Notes on this release" section for the 3.6.0rc1 release page and will copy it to future 3.6.x release pages until sometime after a fixed 1.1.0 is released: "If you are building Python from source, beware that the OpenSSL 1.1.0c

[issue28985] sqlite3 authorizer codes constants not up to date

2016-12-15 Thread Dingyuan Wang
New submission from Dingyuan Wang: We have the sqlite3.set_authorizer function, where the first argument to its callback is one of the Authorizer Action Codes that the SQLite documentations defines[1]. However, the constants in the sqlite3 module is not up to date. The code in

[issue28879] smtplib send_message should add Date header if it is missing, per RFC5322

2016-12-15 Thread R. David Murray
R. David Murray added the comment: Sure the comments can be updated. Some of them elsewhere have been already. The reason for the email library to have a validation function is that it has an 'SMTP' policy that is designed to produce valid SMTP messages when the message is serialized. (It

[issue28879] smtplib send_message should add Date header if it is missing, per RFC5322

2016-12-15 Thread Eric Lafontaine
Eric Lafontaine added the comment: Hi all, Thanks for the enlightment. I never figured that there was a send_message function XD. Never needed it and it's true that the example in the email library use sendmail and not send_message.

[issue28794] inspect.isasyncgen and inspect.isasyncgenfunction aren't documented

2016-12-15 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, but these two functions have already been documented in 78c8f450b84c. Closing this as 'out of date'. -- nosy: +berker.peksag resolution: -> out of date stage: commit review -> resolved status: open -> closed type: -> enhancement

[issue28972] Document all "python -m" utilities

2016-12-15 Thread Eric Lafontaine
Eric Lafontaine added the comment: Hi, I believe it's already done. The only thing that people tends to forget is that doing python -m "module.script(.py)" is only doing the equivalent of "python module/script.py". I believe it's clear though ;

[issue28983] Python 3.5.2 won't install on my computer

2016-12-15 Thread Rhesa Browning
Rhesa Browning added the comment: I went through your instructions without any improvement. I first uninstalled the program. Then I reinstalled without the items that you listed the tcl/tk and pip. The error message still came up just like before. Then I typed the two programs you gave me

[issue28982] multiprocessing.Queue.get(block=True, timeout=0) always raises queue.Empty

2016-12-15 Thread Josh Rosenberg
Josh Rosenberg added the comment: That argument combination appears to be undefined in the docs, the only cases covered are: block truthy, timeout is None block truthy, timeout is positive block falsy, (timeout unspecified) The case of block truthy, timeout <= 0 is not documented. Saying

[issue28984] json.dump + indent creates trailing extra spaces

2016-12-15 Thread Ned Deily
Ned Deily added the comment: I agree with Josh's assessment. Sorry! -- nosy: +ned.deily resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker

[issue28969] lru_cache is not threadsafe

2016-12-15 Thread Josh Rosenberg
Changes by Josh Rosenberg : -- nosy: +josh.r ___ Python tracker ___ ___

[issue28984] json.dump + indent creates trailing extra spaces

2016-12-15 Thread Josh Rosenberg
Josh Rosenberg added the comment: This is documented behavior for Python 2 ( https://docs.python.org/2/library/json.html#basic-usage ): >Note: Since the default item separator is ', ', the output might include >trailing whitespace when indent is specified. You can use separators=(',', ': >')

[issue28984] json.dump + indent creates trailing extra spaces

2016-12-15 Thread Knut
New submission from Knut: module json python 2.7.12 json.dump(..., indent=4, sort_keys=True) gives me: { "size": { "total": 19106,X "code": 18614,X "data": 492 },X "next_item": 10 } The "X" mark extra trailing space characters which are needless.

[issue28091] Document PEP 525 & 530

2016-12-15 Thread Yury Selivanov
Changes by Yury Selivanov : -- title: Document PEP 525 -> Document PEP 525 & 530 ___ Python tracker ___

[issue28635] Update What's New for 3.6

2016-12-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 418ba3a0f090 by Yury Selivanov in branch '3.6': Issue #28635: asyncio-related fixes and additions. https://hg.python.org/cpython/rev/418ba3a0f090 New changeset 83eb8053a4e1 by Yury Selivanov in branch 'default': Merge 3.6 (issue #28635)

[issue28983] Python 3.5.2 won't install on my computer

2016-12-15 Thread Steve Dower
Steve Dower added the comment: (For anyone who comes here later, those last two commands are specially crafted for this situation based on the attached log files. You'll likely need different commands for whatever your situation is.) -- ___ Python

[issue28983] Python 3.5.2 won't install on my computer

2016-12-15 Thread Steve Dower
Steve Dower added the comment: It looks like you have a partial install there, possibly from an earlier version. Do you see a "Python" entry in Programs and Features? If so, running a Repair on that may help, or removing it. If you don't see another entry there, installing Python without

[issue28090] Document PEP 530

2016-12-15 Thread Yury Selivanov
Yury Selivanov added the comment: Closing this one, the issue was resolved as part of #28091. -- priority: deferred blocker -> normal resolution: -> fixed stage: needs patch -> resolved status: open -> closed superseder: -> Document PEP 525 ___

[issue28091] Document PEP 525

2016-12-15 Thread Yury Selivanov
Yury Selivanov added the comment: Pushed. Thanks a lot, Eric, very good job! (BTW, please enable trailing whitespace trimming in your editor) Ned, maybe you want to cherry-pick this commit to 3.6.0, but I guess most people just use docs.python.org, so it's not that important. --

[issue28091] Document PEP 525

2016-12-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 78c8f450b84c by Yury Selivanov in branch '3.6': Issue #28091: Document PEP 525 & PEP 530. https://hg.python.org/cpython/rev/78c8f450b84c New changeset 6bf84e661e69 by Yury Selivanov in branch 'default': Merge 3.6 (issue #28091)

[issue28983] Python 3.5.2 won't install on my computer

2016-12-15 Thread eryk sun
Changes by eryk sun : -- components: +Installation, Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware type: performance -> behavior ___ Python tracker

[issue28879] smtplib send_message should add Date header if it is missing, per RFC5322

2016-12-15 Thread Maciej Szulik
Maciej Szulik added the comment: I've chatted a bit with David about this feature. Here are some thoughts: - check what SMTP standard says about some validation rules - add validate method, probably into email package -- ___ Python tracker

[issue28983] Python 3.5.2 won't install on my computer

2016-12-15 Thread Rhesa Browning
New submission from Rhesa Browning: When I install Python, I get an error message saying that the python35.dll file doesn't exist on my computer. That is at far as it goes. I have attached a RAR folder with the logs from the times I tried to install. -- files: Python installation

[issue28518] execute("begin immediate") throwing OperationalError

2016-12-15 Thread Aviv Palivoda
Aviv Palivoda added the comment: I think that adding Serhiy patch in addition to the documentation improvement in issue #8145 would be the best way to proceed. This will insure no regression problems. We can add a warning when someone try to use BEGIN, ROLLBACK, SAVEPOINT, and RELEASE without

[issue28982] multiprocessing.Queue.get(block=True, timeout=0) always raises queue.Empty

2016-12-15 Thread Ryan Brindley
New submission from Ryan Brindley: Hey dev team, According to the following test, `q.get(True, 0)` always raises queue.Empty. from multiprocessing import Queue q = Queue() q.put('foo') q.get(True, 0) # raises Empty This result throws me off as I was expecting a similar result to the

[issue28982] multiprocessing.Queue.get(block=True, timeout=0) always raises queue.Empty

2016-12-15 Thread Ned Deily
Changes by Ned Deily : -- nosy: +davin ___ Python tracker ___ ___ Python-bugs-list mailing

[issue26919] on Android python fails to decode/encode command line arguments

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

[issue28794] inspect.isasyncgen and inspect.isasyncgenfunction aren't documented

2016-12-15 Thread Emanuel Barry
Emanuel Barry added the comment: LGTM. Thanks for the patch! -- nosy: +ebarry stage: -> commit review ___ Python tracker ___

[issue26919] on Android python fails to decode/encode command line arguments

2016-12-15 Thread Xavier de Gaye
Xavier de Gaye added the comment: Forgot the issue number in the commit message for the default branch, the corresponding changeset is 80a041d39c20. -- ___ Python tracker

[issue26919] on Android python fails to decode/encode command line arguments

2016-12-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset e5360d413ce4 by Xavier de Gaye in branch '3.6': Issue #26919: On Android, operating system data is now always encoded/decoded https://hg.python.org/cpython/rev/e5360d413ce4 -- nosy: +python-dev ___

[issue26919] on Android python fails to decode/encode command line arguments

2016-12-15 Thread Xavier de Gaye
Xavier de Gaye added the comment: The patch fixes also the following errors in test_warnings: == FAIL: test_nonascii (test.test_warnings.CEnvironmentVariableTests)

[issue28147] Unbounded memory growth resizing split-table dicts

2016-12-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I asked a question about the change in _PyObjectDict_SetItem. It is not clear to me. -- ___ Python tracker ___

[issue28981] distutils/check.py overzealous catch block hides errors

2016-12-15 Thread Matt Bogosian
New submission from Matt Bogosian: >From (e.g) >https://github.com/python/cpython/blob/2.7/Lib/distutils/command/check.py#L145: {{{ try: parser.parse(data, document) except AttributeError as e: # <- this could happen anywhere inside parser.parse

[issue28147] Unbounded memory growth resizing split-table dicts

2016-12-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think this can be tested without _testcapi. See an example in issue28894. -- ___ Python tracker ___

[issue28870] Reduce stack consumption of PyObject_CallFunctionObjArgs() and like

2016-12-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have tested all three patches with the stack_overflow.py script. The only affected are recursive Python implementations of __call__, __getitem__ and __iter__. unpatched less_stack alloca subfunc test_python_call

[issue28147] Unbounded memory growth resizing split-table dicts

2016-12-15 Thread STINNER Victor
STINNER Victor added the comment: I dislike pushing a change written by another core dev, I prefer that he/she directly push it, but we are out of time. Ned asked to first push to Python 3.6 to get a confirmation of buildbots, before being able to ask for a cherry-pick in 3.6.0 final.

[issue28147] Unbounded memory growth resizing split-table dicts

2016-12-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 85be9dcc16a8 by Victor Stinner in branch '3.6': Fix a memory leak in split-table dictionaries https://hg.python.org/cpython/rev/85be9dcc16a8 -- nosy: +python-dev ___ Python tracker

[issue11322] encoding package's normalize_encoding() function is too slow

2016-12-15 Thread STINNER Victor
STINNER Victor added the comment: Oh, while reading Mercurial history, I found a note that I wrote: "It's not exactly the same than encodings.normalize_encoding(): the C function also converts to lowercase." IHMO it's fine to modify encodings.normalize_encoding() to also convert to

[issue23063] `python setup.py check --restructuredtext --strict --metadata` fails with: `warning: check: Could not finish the parsing.` if the RST document uses code or code-block directives.

2016-12-15 Thread Matt Bogosian
Changes by Matt Bogosian : -- nosy: +posita ___ Python tracker ___ ___

[issue27810] Add METH_FASTCALL: new calling convention for C functions

2016-12-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset ecd218c41cd4 by Victor Stinner in branch 'default': Use _PyDict_NewPresized() in _PyStack_AsDict() https://hg.python.org/cpython/rev/ecd218c41cd4 -- ___ Python tracker

[issue28979] What's New entry on compact dict mentions "faster" implementation

2016-12-15 Thread Ned Deily
Changes by Ned Deily : -- priority: normal -> release blocker ___ Python tracker ___ ___

[issue28976] incorrect description that dose not conform to the actual behavior

2016-12-15 Thread woo yoo
Changes by woo yoo : -- resolution: -> not a bug status: open -> closed ___ Python tracker ___

[issue28976] incorrect description that dose not conform to the actual behavior

2016-12-15 Thread woo yoo
woo yoo added the comment: I think i understand you now.My english needs to improve.Thanks for your patience. -- ___ Python tracker ___

[issue22135] allow to break into pdb with Ctrl-C for all the commands that resume execution

2016-12-15 Thread Xavier de Gaye
Xavier de Gaye added the comment: Thanks for the patch. See my comments in Rietveld. I think we can skip the 'step' command. For the tests, can you use the existing run_pdb() method and trigger the signals from within the code being executed with 'os.kill(os.getpid(), signal.SIGINT |

[issue28976] incorrect description that dose not conform to the actual behavior

2016-12-15 Thread R. David Murray
R. David Murray added the comment: As I said, the language reference is a specification, not a tutorual. The text as written is clear technical English. You are correct that 'none' refers to the number of statements executed, but 'none' are executed when the statement is false, and 'all'

[issue28976] incorrect description that dose not conform to the actual behavior

2016-12-15 Thread woo yoo
woo yoo added the comment: In fact, I'm a newcomer to Python. When i have experimented with those description interactively using Python interpreter, i got confused. I don't know how to submit a patch.If the description were changed by me,it would be: >if xis

[issue28980] ResourceWarning when imorting antigravity in 3.6

2016-12-15 Thread Brendan Donegan
Brendan Donegan added the comment: I think this is essentially a duplicate of http://bugs.python.org/issue27069, or at least fixing that will fix this (as the exception is caused by the webbrowser.open() call) -- nosy: +brendan-donegan ___ Python

[issue27069] webbrowser creates zombi processes in the background mode

2016-12-15 Thread Brendan Donegan
Brendan Donegan added the comment: This appears to be Firefox specific? At least: b = webbrowser.get("chromium-browser") b.open("https://bugs.python.org/issue26741;) returns simply: True With no exception -- nosy: +brendan-donegan ___ Python

[issue28979] What's New entry on compact dict mentions "faster" implementation

2016-12-15 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +inada.naoki, ned.deily, serhiy.storchaka, yselivanov ___ Python tracker ___

[issue28976] incorrect description that dose not conform to the actual behavior

2016-12-15 Thread Brendan Donegan
Brendan Donegan added the comment: I think the consensus is that the wording is correct. If you can come up with text that is clearer, and still correct, please do submit a patch. On Thu, 15 Dec 2016 at 20:50 woo yoo wrote: > > woo yoo added the comment: > > "either

[issue28979] What's New entry on compact dict mentions "faster" implementation

2016-12-15 Thread STINNER Victor
STINNER Victor added the comment: @Ned: Would you be ok to cherry-pick 181453f9a0c4 in Python 3.6.0? -- nosy: +haypo ___ Python tracker ___

[issue28979] What's New entry on compact dict mentions "faster" implementation

2016-12-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 181453f9a0c4 by Victor Stinner in branch '3.6': Issue #28979: Fix What's New in Python 3.6, dict https://hg.python.org/cpython/rev/181453f9a0c4 -- nosy: +python-dev ___ Python tracker

[issue28976] incorrect description that dose not conform to the actual behavior

2016-12-15 Thread woo yoo
woo yoo added the comment: "either all or none of the print() calls are executed",I think the 'none' describes the number of the calls to be executed. -- ___ Python tracker

[issue28976] incorrect description that dose not conform to the actual behavior

2016-12-15 Thread Brendan Donegan
Brendan Donegan added the comment: None represents the case where the if statement is false On Thu, 15 Dec 2016 at 20:40 woo yoo wrote: > > woo yoo added the comment: > > According to the original description, "either all or none...",what does > 'none' represent? > >

[issue28976] incorrect description that dose not conform to the actual behavior

2016-12-15 Thread woo yoo
woo yoo added the comment: According to the original description, "either all or none...",what does 'none' represent? -- ___ Python tracker ___

[issue28979] What's New entry on compact dict mentions "faster" implementation

2016-12-15 Thread Brendan Donegan
Brendan Donegan added the comment: Agree. Patch provided. -- keywords: +patch nosy: +brendan-donegan Added file: http://bugs.python.org/file45919/whatsnew36.patch ___ Python tracker

[issue28978] a redundant right parentheses in the EBNF rules of parameter_list

2016-12-15 Thread R. David Murray
R. David Murray added the comment: Ah, I see. (", " defparameter)* should instead be "+", or whatever the BNF equivalent is. -- ___ Python tracker ___

[issue28980] ResourceWarning when imorting antigravity in 3.6

2016-12-15 Thread Ivan Levkivskyi
New submission from Ivan Levkivskyi: In 3.6 importing antigravity prints a warning (although it does what it should do): >>> import antigravity /home/ivan/.../Lib/subprocess.py:761: ResourceWarning: subprocess 15501 is still running ResourceWarning, source=self) This is probably related to

[issue28978] a redundant right parentheses in the EBNF rules of parameter_list

2016-12-15 Thread woo yoo
woo yoo added the comment: Code: >>>def f(a, *): >>>print(a) (SyntaxError occurs here) -- ___ Python tracker ___

[issue23246] distutils fails to locate vcvarsall with Visual C++ Compiler for Python

2016-12-15 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___

[issue7291] urllib2 cannot handle https with proxy requiring auth

2016-12-15 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___

[issue28976] incorrect description that dose not conform to the actual behavior

2016-12-15 Thread R. David Murray
R. David Murray added the comment: Because the documentation is correct. There is no bug here. As Brendan said, there is no need to repeat a fundamental (that statements can raise exceptions) in this context. The point of the passage is that if x: a; b; c; is equivalent to if x:

[issue28978] a redundant right parentheses in the EBNF rules of parameter_list

2016-12-15 Thread R. David Murray
R. David Murray added the comment: What do you mean by "a bare * followed by no parameters"? That is, what is the thing that is considered invalid that you are saying the BNF rules allow? I'm looking for a code snipped that produces a syntax error. -- nosy: +r.david.murray

[issue28879] smtplib send_message should add Date header if it is missing, per RFC5322

2016-12-15 Thread R. David Murray
R. David Murray added the comment: The sendmail function will never modify the RFC822+ content. send_message, however, already does several manipulations of the message headers to make sending email simpler. Practicality (make it easy to send messages without knowing the details of the

[issue28976] incorrect description that dose not conform to the actual behavior

2016-12-15 Thread woo yoo
Changes by woo yoo : -- resolution: not a bug -> status: closed -> open ___ Python tracker ___

[issue28924] Inline PyEval_EvalFrameEx() in callers

2016-12-15 Thread STINNER Victor
STINNER Victor added the comment: > At least define EvalFrameEx in a header as an inline func, rather than > copying the body. Hum, it would break the stable ABI, no? -- ___ Python tracker

[issue28924] Inline PyEval_EvalFrameEx() in callers

2016-12-15 Thread STINNER Victor
STINNER Victor added the comment: Well, since the impact on performance is likely non-existent, whereas drawbacks are real, I close the issue. Thanks for your feedback ;-) -- resolution: -> rejected status: open -> closed ___ Python tracker

[issue28924] Inline PyEval_EvalFrameEx() in callers

2016-12-15 Thread Steve Dower
Steve Dower added the comment: At least define EvalFrameEx in a header as an inline func, rather than copying the body. VS expected to walk the native stack and locate the f parameter in EvalFrameEx. Since the function gets inlined, it couldn't find the frame. I use the JIT hook to insert my

[issue28976] incorrect description that dose not conform to the actual behavior

2016-12-15 Thread woo yoo
woo yoo added the comment: Why the issue was closed? -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue28870] Reduce stack consumption of PyObject_CallFunctionObjArgs() and like

2016-12-15 Thread STINNER Victor
STINNER Victor added the comment: For comparison, Python 3.5 (before fast calls) uses 448 bytes of C stack per call. Python 3.5 uses a tuple allocated in the heap memory. -- ___ Python tracker

[issue28968] xml rpc server fails with connection reset by peer error no 104

2016-12-15 Thread R. David Murray
R. David Murray added the comment: Connection reset by peer means the far end has terminated the connection. You'll probably need to do some protocol analysis (wireshark or a similar tool) to find out why the connection is being dropped, or perhaps you can look at the far end logging. As it

[issue28976] incorrect description that dose not conform to the actual behavior

2016-12-15 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___

[issue7291] urllib2 cannot handle https with proxy requiring auth

2016-12-15 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: Modify target versions to bugfix and feature branches -- versions: +Python 3.7 -Python 2.6, Python 3.4 ___ Python tracker

[issue28965] Multiprocessing spawn/forkserver fails to pass Queues

2016-12-15 Thread kumaar.nd
kumaar.nd added the comment: hi, few comments on this: [when tested with 'spawn'] 1. the document(3x, 17.2.1.2) clearly mentions that 'spawn' doesnt inherit the file-handles (hence FileNotFoundError). 2. the document's examples has spawn() followed by join() where parent waits for the Child

[issue28979] What's New entry on compact dict mentions "faster" implementation

2016-12-15 Thread Jim Fasarakis-Hilliard
New submission from Jim Fasarakis-Hilliard: Specifically, the entry reads: "The dict type has been reimplemented to use a faster, more compact representation similar to the PyPy dict implementation." Through, the text describing the new implementation doesn't mention anything on speed, it

[issue28870] Reduce stack consumption of PyObject_CallFunctionObjArgs() and like

2016-12-15 Thread STINNER Victor
STINNER Victor added the comment: I also tried Serhiy's approach, split the function into subfunctions, but the result is not as good as expected: 496 bytes. See attached subfunc.patch. -- Added file: http://bugs.python.org/file45918/subfunc.patch

[issue28870] Reduce stack consumption of PyObject_CallFunctionObjArgs() and like

2016-12-15 Thread STINNER Victor
STINNER Victor added the comment: I also tried to use alloca(): see attached alloca.patch. But the result is quite bad: 528 bytes of stack memory per call. I only attach the patch to discuss the issue, but I now dislike the option: the result is bad, it's less portable and more dangerous.

[issue28978] a redundant right parentheses in the EBNF rules of parameter_list

2016-12-15 Thread woo yoo
woo yoo added the comment: Nor the rules in Python-3.6.0 excludes the bare '*' following no parameters. -- ___ Python tracker ___

[issue23246] distutils fails to locate vcvarsall with Visual C++ Compiler for Python

2016-12-15 Thread Matteo Bertini
Matteo Bertini added the comment: I'm back on this issue with a minimal patch, and a longer motivation. Distutils does not support Visual C++ for Python compiler, but it could, with a one-line patch. The proposed workaround is to use `setuptools`. But, we are not alone in this World, am I

  1   2   >