[issue25106] Hash computation speedup for {buffer, string, unicode}object

2015-09-14 Thread Alecsandru Patrascu
Changes by Alecsandru Patrascu : Added file: http://bugs.python.org/file40460/hash8-v02.patch ___ Python tracker ___

[issue17750] allow the testsuite to run in the installed location

2015-09-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- dependencies: +test_compileall fails when run by unprivileged user on installed Python, test_zipfile failure when run by unprivileged user with installed Python ___ Python tracker

[issue25092] Regression: test_datetime fails on 3.5, Win 7, works on 3.4

2015-09-14 Thread Steve Dower
Steve Dower added the comment: Maybe errno needs to be explicitly cleared before calling strftime or else we're seeing someone else's EINVAL? -- ___ Python tracker

[issue25083] Python can sometimes create incorrect .pyc files

2015-09-14 Thread tzickel
tzickel added the comment: You are not looking at the correct code, the function you are pointing to, check_compiled_module is run to check the existing .pyc (it is a good question, why the .pyc is overriden, but that is a secondary issue, which I cannot reproduce as I've said by demand). I

[issue19746] No introspective way to detect ModuleImportFailure in unittest

2015-09-14 Thread Peter
Peter added the comment: This comment is just to note that this change broke our (exotic?) usage of unittest.TestLoader().loadTestsFromName(name) inside a try/except since under Python 3.5 some expected exceptions are no longer raised. My nasty workaround hack:

[issue25106] Hash computation speedup for {buffer, string, unicode}object

2015-09-14 Thread Alecsandru Patrascu
Alecsandru Patrascu added the comment: I've submitted a more compact version of the previous code (hash8-v02.patch) -- ___ Python tracker ___

[issue25092] Regression: test_datetime fails on 3.5, Win 7, works on 3.4

2015-09-14 Thread Steve Dower
Steve Dower added the comment: (In the C code I mean, not in the test.) -- ___ Python tracker ___ ___

[issue25083] Python can sometimes create incorrect .pyc files

2015-09-14 Thread tzickel
Changes by tzickel : -- nosy: +brett.cannon, meador.inge ___ Python tracker ___ ___

[issue17750] allow the testsuite to run in the installed location

2015-09-14 Thread Matthias Klose
Changes by Matthias Klose : -- dependencies: +test_code_module tests fail when run from the installed location ___ Python tracker ___

[issue25092] Regression: test_datetime fails on 3.5, Win 7, works on 3.4

2015-09-14 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___

[issue25109] test_code_module tests fail when run from the installed location

2015-09-14 Thread Matthias Klose
New submission from Matthias Klose: seen when running the tests in the installed location: the test expects: Traceback (most recent call last): File "", line 1, in ValueError but it gets: Traceback (most recent call last): File "/usr/lib/python3.5/code.py", line 91, in runcode

[issue25063] shutil.copyfileobj should internally use os.sendfile when possible

2015-09-14 Thread R. David Murray
R. David Murray added the comment: I'm going to reject this. If you think there is enough value in this to warrant the complications that would be required to ensure backward compatibility (assuming that is even possible), you could bring it up again on python-ideas. -- resolution:

[issue25102] Windows installer: 'precompile standard library' option should pre-compile with -O and -OO

2015-09-14 Thread Steve Dower
Steve Dower added the comment: Doesn't it? It's supposed to... -- ___ Python tracker ___ ___ Python-bugs-list

[issue25107] Windows 32-bit: exe-files doesn't run

2015-09-14 Thread eryksun
Changes by eryksun : -- components: +Windows -IDLE ___ Python tracker ___ ___

[issue25089] Can't run Python Launcher on Windows

2015-09-14 Thread Steve Dower
Steve Dower added the comment: Just the main log file from the initial install is enough if there's no log for the launcher. It probably means the initial setup startup deselected it for some reason. -- ___ Python tracker

[issue25107] Windows 32-bit: exe-files doesn't run

2015-09-14 Thread eryksun
eryksun added the comment: The latest version that supports Windows XP is 3.4.3. -- components: +IDLE -Windows nosy: +eryksun ___ Python tracker ___

[issue25089] Can't run Python Launcher on Windows

2015-09-14 Thread Mark Lawrence
Changes by Mark Lawrence : Added file: http://bugs.python.org/file40461/Python 3.5.0 (64-bit)_20150913191600.log ___ Python tracker ___

[issue25103] 3.5.0 installed standard library on Windows has LF line endings

2015-09-14 Thread R. David Murray
R. David Murray added the comment: I'm pretty sure the hg eol extension would need to get involved here. This may not be worth the pain it would likely cause, but I could be wrong :) -- nosy: +r.david.murray ___ Python tracker

[issue25110] Documentation sometimes still links to py3.4

2015-09-14 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +larry ___ Python tracker ___ ___

[issue25092] Regression: test_datetime fails on 3.5, Win 7, works on 3.4

2015-09-14 Thread eryksun
eryksun added the comment: > errno should always be cleared before use (in C99 at least, > not sure what the crt does). The CRT's strftime doesn't clear errno. I suggested clearing it in issue 25029, msg250215. -- nosy: +eryksun ___ Python tracker

[issue25110] Documentation sometimes still links to py3.4

2015-09-14 Thread Florian Apolloner
New submission from Florian Apolloner: Compare those two URLs: https://docs.python.org/3/whatsnew/ https://docs.python.org/3/ The first one shows version 3.4, whereas the later shows version 3.5. -- messages: 250667 nosy: Florian.Apolloner priority: normal severity: normal status: open

[issue25110] Documentation sometimes still links to py3.4

2015-09-14 Thread Florian Apolloner
Changes by Florian Apolloner : -- assignee: -> docs@python components: +Documentation nosy: +docs@python versions: +Python 3.5 ___ Python tracker

[issue25107] Windows 32-bit: exe-files doesn't run

2015-09-14 Thread Zachary Ware
Zachary Ware added the comment: Windows XP is not supported by Python 3.5. See PEP 11 for details. -- components: +Windows -IDLE nosy: +paul.moore, steve.dower, tim.golden, zach.ware resolution: -> wont fix stage: -> resolved status: open -> closed

[issue25092] Regression: test_datetime fails on 3.5, Win 7, works on 3.4

2015-09-14 Thread Stefan Krah
Stefan Krah added the comment: Yes, errno should always be cleared before use (in C99 at least, not sure what the crt does). -- nosy: +skrah ___ Python tracker

[issue25090] IDLE: remove noisy icons from class (module) browser

2015-09-14 Thread Mark Roseman
Mark Roseman added the comment: Thanks Raymond. As an 'outsider' I rely on people like you to provide feedback based on your experience to some of the proposals I'm floating here. On a more specific note... This one came about mainly as I was looking at the class (module) browser. I

[issue25106] Hash computation speedup for {buffer, string, unicode}object

2015-09-14 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- nosy: +gregory.p.smith ___ Python tracker ___ ___

[issue25102] Windows installer: 'precompile standard library' option should pre-compile with -O and -OO

2015-09-14 Thread Zachary Ware
Zachary Ware added the comment: It doesn't appear to; my 'C:\Program Files\Python 3.5\Lib\__pycache__' is full of .pyc's, but none with an optimization tag. To confirm with math rather than eyesight, according to 'dir' there are 168 files in Lib\, and 168 in Lib\__pycache__ rather than the

[issue25092] Regression: test_datetime fails on 3.5, Win 7, works on 3.4

2015-09-14 Thread Stefan Krah
Stefan Krah added the comment: Clearing is easy: errno = 0; :) C library functions are not supposed to set errno to 0 by themselves (C99: paragraph 7.5). -- ___ Python tracker

[issue25089] Can't run Python Launcher on Windows

2015-09-14 Thread Steve Dower
Steve Dower added the comment: Yep, as part of the upgrade detection we're choosing not to install the launcher. Not sure whether that's because of a bug or a previous install on your machine, but I'll take a closer look. -- assignee: -> steve.dower

[issue25092] Regression: test_datetime fails on 3.5, Win 7, works on 3.4

2015-09-14 Thread Steve Dower
Steve Dower added the comment: I guess when I said I'd done "exactly" what you suggested I misread that part... whoops. This is a pretty nasty bug to workaround... do we have any way for a user to clear errno from their own code? -- ___ Python

[issue25110] Documentation sometimes still links to py3.4

2015-09-14 Thread Larry Hastings
Larry Hastings added the comment: Old version stuck in the CDN cache. I cleared the cache, it's fine now. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue25092] Regression: test_datetime fails on 3.5, Win 7, works on 3.4

2015-09-14 Thread R. David Murray
R. David Murray added the comment: Given all the changes in the windows support in 3.5, I will not be at all surprised if we need to spin 3.5.1 much more quickly than we normally would in any case. -- nosy: +r.david.murray ___ Python tracker

[issue25092] Regression: test_datetime fails on 3.5, Win 7, works on 3.4

2015-09-14 Thread STINNER Victor
STINNER Victor added the comment: It's common in Modules/posixmodule.c to set errno to 0 before calling a C function, especially when "errno != 0" is checked after the call (because it's the only way to check if the function failed?). -- ___ Python

[issue25108] traceback.extract_stack() compatibility break in 3.5

2015-09-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch that restores compatibility. There were no tests for print_stack(), format_stack(), and extract_stack() without arguments. New tests are passed with 3.4. There is a difference between this bug and warnings.warn(stacklevel=) at import time.

[issue25099] test_compileall fails when run by unprivileged user on installed Python

2015-09-14 Thread Steve Dower
Steve Dower added the comment: IIRC there's an existing issue for this. (Or it may have just been mentioned in a "things that don't work when you're not root" list on an issue.) -- ___ Python tracker

[issue25106] Hash computation speedup for {buffer, string, unicode}object

2015-09-14 Thread Alecsandru Patrascu
Alecsandru Patrascu added the comment: Yes, it doesn't break the compatibility with existing applications. To make sure, we tested it in various scenarios and workloads. -- ___ Python tracker

[issue25092] Regression: test_datetime fails on 3.5, Win 7, works on 3.4

2015-09-14 Thread Steve Dower
Steve Dower added the comment: I get that part. Is there a way people can set errno to zero from Python code? Or do we need to ship 3.5.1 already? -- ___ Python tracker

[issue25106] Hash computation speedup for {buffer, string, unicode}object

2015-09-14 Thread Brett Cannon
Brett Cannon added the comment: If this is applying something we already did in Python 3 and it doesn't break compatibility then this should fall under the same sort of backport exemption that Guido granted for the eval loop performance enhancements that Intel did a couple months back.

[issue25106] Hash computation speedup for {buffer, string, unicode}object

2015-09-14 Thread Chris Angelico
Chris Angelico added the comment: +1 for anything that makes Python faster with provably no semantic changes. -- ___ Python tracker ___

[issue25092] Regression: test_datetime fails on 3.5, Win 7, works on 3.4

2015-09-14 Thread Stefan Krah
Stefan Krah added the comment: Steve, sorry if I misunderstand you: My point (and eryksun's) was that errno is currently not cleared before the call to format_time() in Modules/timemodule.c:657 I didn't look at this issue in depth, just pointing out a possible cause. --

[issue25074] Bind logger and waninigs modules for asyncio __del__ methods

2015-09-14 Thread STINNER Victor
STINNER Victor added the comment: I don't like such "hacks". IMHO It's too late to try to log errors, to execute code to cleanup objects, etc. You should try to implement something in aiohttp or even in the application to cleanup objects at exit. For example, it's probably wrong if you still

[issue25113] documentation version switcher is broken

2015-09-14 Thread Berker Peksag
Berker Peksag added the comment: Looks like version_switch.js is not included into HTML. SPHINXOPTS='-A versionswitcher=1' make -C Doc/ htmlview works for me locally on the 3.5 branch. Perhaps 3.5 docs were created manually or without running "make autobuild-{dev,html,stable}"?

[issue25106] Hash computation speedup for {buffer, string, unicode}object

2015-09-14 Thread Gregory P. Smith
Gregory P. Smith added the comment: attaching an updated patch. fwiw, in my own quick tests i'm not seeing a performance difference on the benchmark suite. but i am not trying to run it in such an isolated quiet machine locked freq. environment. it is still a good idea regardless. _some_

[issue25114] asynico: add ssl_object extra info

2015-09-14 Thread STINNER Victor
New submission from STINNER Victor: Attached patch adds the "ssl_object" extra information to SSL sockets. For the legacy SSL implementation, it's a ssl.SSLSocket instance. For the new SSL implementation, it's a ssl.SSLObject instance. ssl.SSLObject and ssl.SSLSocket have a similar but

[issue25092] Regression: test_datetime fails on 3.5, Win 7, works on 3.4

2015-09-14 Thread Steve Dower
Steve Dower added the comment: Patch attached. I haven't been able to repro the issue locally without the fix, but it seems indisputably correct behavior. We could also skip most of the function for an empty format string and save ourselves a lot of work. That would avoid the ambiguous

[issue25092] Regression: test_datetime fails on 3.5, Win 7, works on 3.4

2015-09-14 Thread Steve Dower
Steve Dower added the comment: (The fix is indisputably correct, is what I meant.) -- ___ Python tracker ___

[issue25084] remove semi-busy loop in py2.7 threading.Condition.wait(timeout=x)

2015-09-14 Thread STINNER Victor
STINNER Victor added the comment: As you noticed, this issue was correctly fixed in Python 3 by using the C timed acquire methods of locks, instead of polling. The problem is that Python 2 supports a wide range of threading models: Python/thread_atheos.h Python/thread_beos.h

[issue25092] Regression: test_datetime fails on 3.5, Win 7, works on 3.4

2015-09-14 Thread Steve Dower
Steve Dower added the comment: We don't check errno on any other platform. -- ___ Python tracker ___ ___

[issue23078] unittest.mock patch autospec doesn't work on staticmethods

2015-09-14 Thread Felipe
Felipe added the comment: The attached patch implements these changes through _callable instead. This patch also ensures that the underlying object that staticmethod and classmethod wrap is a callable object as well. -- Added file: http://bugs.python.org/file40470/issue23078.patch

[issue24875] pyvenv doesn´t install PIP inside a new venv with --system-site-package

2015-09-14 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +vinay.sajip ___ Python tracker ___ ___

[issue24391] Better repr for threading objects

2015-09-14 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___

[issue25108] traceback.extract_stack() compatibility break in 3.5

2015-09-14 Thread Nick Coghlan
Nick Coghlan added the comment: Serhiy's explanation and fix look good to me. -- ___ Python tracker ___ ___

[issue22768] Add a way to get the peer certificate of a SSL Transport

2015-09-14 Thread STINNER Victor
STINNER Victor added the comment: In Python 3.5, it's no more possible to get the peer certificate as binary. See the issue #25114 for a general fix. -- ___ Python tracker

[issue25114] asynico: add ssl_object extra info

2015-09-14 Thread STINNER Victor
STINNER Victor added the comment: Workaround for Python 3.5.0: force the legacy SSL implementation. For example, monkey patch the asyncio module with: asyncio.sslproto._is_sslproto_availabe=lambda: False -- ___ Python tracker

[issue25077] Compiler warnings: initialization from incompatible pointer type

2015-09-14 Thread STINNER Victor
STINNER Victor added the comment: For ceval, it comes from pyatomic.h: see my atomic_pointer.patch attached to the issue #25077. -- nosy: +haypo ___ Python tracker

[issue25061] Add native enum support for argparse

2015-09-14 Thread paul j3
paul j3 added the comment: Here's a EnumType factory class, modeled on FileType. class EnumType(object): """Factory for creating enum object types """ def __init__(self, enumclass): self.enums = enumclass def __call__(self, astring): name = self.enums.__name__

[issue25096] test_gdb failed to read version for gdb >= 7.10

2015-09-14 Thread STINNER Victor
STINNER Victor added the comment: Fixed by changesets 21d6b2752fe8 (2.7) and 6a8aa246485e (3.4). Thanks for your bug report and your patch! -- nosy: +haypo resolution: -> fixed status: open -> closed ___ Python tracker

[issue25108] traceback.extract_stack() compatibility break in 3.5

2015-09-14 Thread Robert Collins
Robert Collins added the comment: wouldn't changing walk_stack to add one more f_back be better? Seems odd to work around it... -- ___ Python tracker

[issue25115] SSL_set_verify_depth not exposed by the ssl module

2015-09-14 Thread Grant Bremer
New submission from Grant Bremer: The SSL_set_verify_depth OpenSSL method is not currently exposed by the ssl module. The context object would seem to be the proper place for it as an instance method. -- components: Library (Lib) messages: 250718 nosy: Grant Bremer priority: normal

[issue25115] SSL_set_verify_depth not exposed by the ssl module

2015-09-14 Thread Grant Bremer
Changes by Grant Bremer : -- hgrepos: +316 keywords: +patch Added file: http://bugs.python.org/file40471/verify_depth.patch ___ Python tracker

[issue25116] It failed to install Py3.5 on win2008R2

2015-09-14 Thread Kevin Zhang
Kevin Zhang added the comment: I have installed Python2.7 and Python3.4 on this server before. Python3.4 installation works well after I failed to executed python-3.5.0.exe. Thanks again. -- ___ Python tracker

[issue25095] test_httpservers hangs on 3.5.0, win 7

2015-09-14 Thread Martin Panter
Martin Panter added the comment: Can you identify which test case hangs? E.g. on Linux I can run the following to see each test case run: ./python -m unittest -v test.test_httpservers -- nosy: +martin.panter ___ Python tracker

[issue25117] Windows installer: precompiling stdlib fails with missing DLL errors

2015-09-14 Thread Marius Gedminas
New submission from Marius Gedminas: I installed Python 3.5 on a Windows Server 2012 VM, twice (once the 32-bit, and once the 64-bit version). When it started throwing error dialogs at me, I started taking screenshots: http://imgur.com/a/zwfz4. What happened: - I selected advanced

[issue25117] Windows installer: precompiling stdlib fails with missing DLL errors

2015-09-14 Thread Aaron Meurer
Changes by Aaron Meurer : -- nosy: +Aaron.Meurer ___ Python tracker ___ ___

[issue25116] It failed to install Py3.5 on win2008R2

2015-09-14 Thread Kevin Zhang
New submission from Kevin Zhang: OS: Windows Server 2008 R2 Enterprise I'm remote desktop to the server and try to install Python3.5 released version. Remote desktop user/privilege: administrator There is no window about installation pop up after I double clicked python-3.5.0.exe. I could

[issue25118] OSError in os.waitpid

2015-09-14 Thread Rocco Matano
New submission from Rocco Matano: On windows and python up to 3.4 using the combination of os.spawnX(os.P_NOWAIT, ...) and os.waitpid() worked as expected, but with python 3.5 this no longer works. In fact os.waitpid() now raises an OSError when the child process terminates. Running this

[issue24875] pyvenv doesn´t install PIP inside a new venv with --system-site-package

2015-09-14 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___

[issue25092] Regression: test_datetime fails on 3.5, Win 7, works on 3.4

2015-09-14 Thread STINNER Victor
STINNER Victor added the comment: +#if defined _MSC_VER && _MSC_VER >= 1400 && defined(__STDC_SECURE_LIB__) +errno = 0; +#endif This code is too complex. Please remove the #if and always set errno to 0, on any platform! -- ___ Python

[issue25105] Docs 3.x buildbot: ":root" found in ...

2015-09-14 Thread STINNER Victor
STINNER Victor added the comment: It looks like a bug in the "suspicious" tool which should skip preformatted blocks (blocks starting with "::"). +don't provide any options to redirect it:: + +>>> import contextlib, io, logging +>>> f = io.StringIO() +>>> with

[issue25105] Docs 3.x buildbot:

2015-09-14 Thread STINNER Victor
New submission from STINNER Victor: It looks like the changeset 34f941df3476 introduced a bug: http://buildbot.python.org/all/builders/Docs%203.x/builds/86/steps/suspicious/logs/stdio writing output... [ 99%] whatsnew/3.5 WARNING: [whatsnew/3.5:924] ":root" found in "'WARNING:root:warning\n'"

[issue25105] Docs 3.x buildbot: ":root" found in ...

2015-09-14 Thread STINNER Victor
Changes by STINNER Victor : -- title: Docs 3.x buildbot: -> Docs 3.x buildbot: ":root" found in ... ___ Python tracker ___

[issue25106] Hash computation speedup for {buffer, string, unicode}object

2015-09-14 Thread Alecsandru Patrascu
New submission from Alecsandru Patrascu: Hi All, This is Alecsandru from Server Scripting Languages Optimization team at Intel Corporation. I would like to submit a patch that improves the performance of the hash computation code on stringobject, bufferobject and unicodeobject. As can be

[issue25099] test_compileall fails when run by unprivileged user on installed Python

2015-09-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Existing issue21264 reports about failure of different test. It may be the same issue or different but related issues. -- ___ Python tracker

[issue25111] Broken compatibility in FrameSummary equality

2015-09-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- keywords: +patch Added file: http://bugs.python.org/file40463/traceback_FrameSummary_equality.patch ___ Python tracker

[issue25111] Broken compatibility in FrameSummary equality

2015-09-14 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Since 3.5 traceback.extract_tb() and traceback.extract_stack() return a list (actually list's subclass StackSummary) of FrameSummary objects instead of a list of tuples. FrameSummary is not fully compatible with tuple. One important incompatibility is in

[issue25106] Hash computation speedup for {buffer, string, unicode}object

2015-09-14 Thread Brett Cannon
Brett Cannon added the comment: Assuming Benjamin doesn't object I don't think we need to explicit ask Guido. He made his feelings quite clear about allowing backports of performance improvements that already exist in Python 3 and have been battle-tested. Having said that, I hope Intel is

[issue24872] Add /NODEFAULTLIB:MSVCRT to _msvccompiler

2015-09-14 Thread Steve Dower
Changes by Steve Dower : -- resolution: -> out of date status: open -> closed ___ Python tracker ___

[issue25112] Windows installer assigns non-existent icons to Python file types

2015-09-14 Thread Thijs van Dien
New submission from Thijs van Dien: Whenever the Python launcher is selected, the installer sets the icon for common Python file extensions, i.e. .py, .pyc, .pyo, .pyw, .pyz and .pyzw. Formerly (under Python 3.4) the icons were located in DLLs in the Python installation directory. The new

[issue25106] Hash computation speedup for {buffer, string, unicode}object

2015-09-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The code for str and buffer can be shared as _Py_HashBytes() (as in 3.4+). Also please add comments in the switch block as in 3.4+. Should we ask Guido for granting backport exemption for this optimization? -- nosy: +benjamin.peterson

[issue25099] test_compileall fails when run by unprivileged user on installed Python

2015-09-14 Thread Brett Cannon
Brett Cannon added the comment: It sounds like some tests just need to have a decorator that blocks execution if the relevant __pycache__ isn't writable. -- ___ Python tracker

[issue25112] Windows installer assigns non-existent icons to Python file types

2015-09-14 Thread Steve Dower
Steve Dower added the comment: That is indeed what happened. The resource file for the launcher was not updated (or the update got lost... I was fairly sure I did it) Attached patch fixes it. -- assignee: -> steve.dower keywords: +patch stage: -> patch review Added file:

[issue25102] Windows installer: 'precompile standard library' option should pre-compile with -O and -OO

2015-09-14 Thread Steve Dower
Changes by Steve Dower : -- keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file40466/25102_1.patch ___ Python tracker

[issue24836] Consistent failure in test_email on OS X Snow Leopard buildbot for Python 3.5

2015-09-14 Thread Geoffrey Spear
Changes by Geoffrey Spear : -- nosy: +geoffreyspear ___ Python tracker ___ ___

[issue25113] documentation version switcher is broken

2015-09-14 Thread Yury Selivanov
New submission from Yury Selivanov: The dropdown that allowed to switch the Python version for docs disappeared with py3.5 release. -- messages: 250700 nosy: eric.araujo, ezio.melotti, georg.brandl, larry, yselivanov priority: high severity: normal status: open title: documentation

[issue25101] test_zipfile failure when run by unprivileged user with installed Python

2015-09-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch that check write access by just trying to create a file. -- keywords: +patch stage: needs patch -> patch review versions: +Python 2.7, Python 3.4, Python 3.6 Added file:

[issue25098] test_uuid fails with pywin32 installed

2015-09-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Looks as a bug in pywin32. -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue25093] New 3.5.0 failure in test_tcl on win7

2015-09-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Please commit corrected patch. -- assignee: -> zach.ware stage: patch review -> commit review ___ Python tracker ___

[issue25088] scipy (0.16.0) install fails on 3.5

2015-09-14 Thread Naveen Togar
Naveen Togar added the comment: Carol, Ned Thanks for the info. I'm going to install gfortran and proceed with the installing scipy and matplotlib. Naveen -- ___ Python tracker

[issue25099] test_compileall fails when run by unprivileged user on installed Python

2015-09-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +benjamin.peterson, brett.cannon, eric.snow, georg.brandl, ncoghlan ___ Python tracker ___

[issue25106] Hash computation speedup for {buffer, string, unicode}object

2015-09-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is closed for adding new features. Python 3.4+ uses different code for calculating hashes. -- nosy: +serhiy.storchaka ___ Python tracker

[issue25107] Windows 32-bit: exe-files doesn't run

2015-09-14 Thread Sergei
Changes by Sergei : Added file: http://bugs.python.org/file40458/Clipboard02.jpg ___ Python tracker ___

[issue25107] Windows 32-bit: exe-files doesn't run

2015-09-14 Thread Sergei
New submission from Sergei: Can't run IDLE or python command line on Windows XP 32-bit after installation. -- components: IDLE, Interpreter Core files: Clipboard02.jpg messages: 250641 nosy: Sergio priority: normal severity: normal status: open title: Windows 32-bit: exe-files doesn't

[issue25106] Hash computation speedup for {buffer, string, unicode}object

2015-09-14 Thread STINNER Victor
STINNER Victor added the comment: > Python 2.7 is closed for adding new features. Python 3.4+ uses different code > for calculating hashes. The code doesn't modify the hash function. It's a common loop unroll optimization technique. Since the optimization can be seen on real world benchmark,

[issue25107] Windows 32-bit: exe-files doesn't run

2015-09-14 Thread Sergei
Changes by Sergei : Removed file: http://bugs.python.org/file40457/Clipboard02.jpg ___ Python tracker ___

[issue25106] Hash computation speedup for {buffer, string, unicode}object

2015-09-14 Thread Chris Angelico
Chris Angelico added the comment: Or at very least, can fallthrough be used in the switch block, so there aren't 7+6+5+4+3+2+1 copies of the same line? -- Not a C performance expert -- -- ___ Python tracker

[issue25106] Hash computation speedup for {buffer, string, unicode}object

2015-09-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Or at very least, can fallthrough be used in the switch block, so there > aren't 7+6+5+4+3+2+1 copies of the same line? It is how _Py_HashBytes is implemented in 3.4+. -- title: Hash computation speedup for {buffer,string,unicode}object -> Hash

[issue25108] traceback.extract_stack() compatibility break in 3.5

2015-09-14 Thread Antoine Pitrou
New submission from Antoine Pitrou: This can be considered a regression, although perhaps it may not be desirable to fix it in a later release. In 3.4: >>> def f(): return traceback.extract_stack() ... >>> print([x[0:3] for x in f()]) [('', 1, ''), ('', 1, 'f')] In 3.5: >>> print([x[0:3]

[issue25108] traceback.extract_stack() compatibility break in 3.5

2015-09-14 Thread Larry Hastings
Larry Hastings added the comment: Tracebacks aren't my forte, but this does smell like a regression and something that should be fixed. My worry about things like this is that it isn't as much a "bug" as a "badly implemented interface". As in, that's the interface in 3.5, and people will

[issue25108] traceback.extract_stack() compatibility break in 3.5

2015-09-14 Thread Robert Collins
Robert Collins added the comment: Hmm, I think we can fix this. Its leaking due to the use of a helper I think. So - we should just fix this [and add a test, since clearly the test coverage is insufficient] -- ___ Python tracker

[issue25108] traceback.extract_stack() compatibility break in 3.5

2015-09-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Note the doc says "Extract the raw traceback from the current stack frame". The "current stack frame" may be assumed to be the caller's (as it is in previous Python releases). Fortunately, this is also worked around by calling

  1   2   >