Roundup Robot added the comment:
New changeset a36b402b099b by Antoine Pitrou in branch 'default':
Issue #21817: When an exception is raised in a task submitted to a
ProcessPoolExecutor, the remote traceback is now displayed in the parent
process.
https://hg.python.org/cpython/rev/a36b402b099b
Mayank Tripathi added the comment:
Now allows parameters after the -m option.
--
nosy: +oquanox
Added file: http://bugs.python.org/file37749/cProfile_module_option.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21862
Steve Dower added the comment:
You can close those applications, or ignore the message and continue, just like
the dialog says (if you ignore it, you may need to reboot for installation to
complete). You could also try doing a Just for Me installation.
Python is not trying to update those
Tim Golden added the comment:
I'm +0.75. I think the idea's fine in principle and the patch (by
inspection) seems to do the right things.
My only concerns are: that posixmodule.c becomes even longer and more
involved; and that the benefit might not quite be great enough to
justify the added
Antoine Pitrou added the comment:
New patch merges in the old codes.
--
Added file: http://bugs.python.org/file37748/update_ssl_data2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23248
Steve Dower added the comment:
So I've grabbed gendef and dlltool from the latest mingw-w64 and will look at
using those in the future for both 2.7 and 3.5.
According to objdump, I can use these to create file format pe-i386 and
pe-x86-64 with the same tools. Are these the correct formats for
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18022
___
___
Python-bugs-list
R. David Murray added the comment:
Yes, on consideration I agree with Antoine. That last sentence should be
deleted. Otherwise we'd need to mention that the gil was released every place
that the gil was released, which would be very redundant. The general rule is
that anything that blocks
Ethan Furman added the comment:
Better patch, along the lines of my original thought:
- byarrayformat converts bytearray to bytes
- calls bytesformat (now _PyBytes_Format) to do the heavy lifting
- uses PyByteArray_FromObject to tranform back to bytearray
Now working on in-place format.
Changes by Antoine Pitrou pit...@free.fr:
--
versions: +Python 2.7, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23248
___
___
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23255
___
___
Python-bugs-list
Serhiy Storchaka added the comment:
This can be a common case in following algorithm (mesh optimization):
while elems:
elem = elems.pop()
changed = optimize(elem)
if changed:
elems.update(neighbors(elem))
--
nosy: +serhiy.storchaka
Steve Dower added the comment:
Closing again, as Victor's issue was resolved (VS 2010 SP1 is needed, and I'm
updating the devguide to specify that on #23257).
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Antoine Pitrou pit...@free.fr:
--
keywords: +patch
Added file: http://bugs.python.org/file37746/ip_certs.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23239
___
Antoine Pitrou added the comment:
Thank you very much. Everything is now committed.
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21817
New submission from steve:
I down loaded and tried to install version 3.4.2 on a Windows 7 64 bit system.
2 error messages came up saying that I had to stop two Windows systems tasks to
allow the install to complete. Please see the attached screen print for
details.
What can I do to
Steve Dower added the comment:
Yeah, I hate touching posixmodule.c for the same reason. It'd be nice to split
it up into separate platform files, but nobody is volunteering for that.
If you focus on the performance, then yeah, this change probably isn't worth
it. OTOH, the number of Windows
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23260
___
___
Antoine Pitrou added the comment:
Here is a patch.
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23239
___
New submission from Raymond Hettinger:
The lookkey routines in Object/setobject.c have logic to track the first open
freeslot in a search.
The benefit is that new keys can reuse previously deleted slots. The benefit
only occurs in cases where keys are added, then some removed, and then
Raymond Hettinger added the comment:
Even in the mesh algorithm, we let resizing periodically clean-up the dummies.
The idea is to not pay the freeslot tracking cost on every lookup and instead
only clean-up periodically (which would likely give better performance for the
mesh algorithm as
Steve Dower added the comment:
Patch. I'm also revising Doc/using/windows.rst, but I don't want to delay the
initial reviews.
I don't think this is perfect, but it works well enough for the first alpha
(scheduled for 8 Feb), so I want to get it in and stabilised now rather than at
the last
Changes by Steve Dower steve.do...@microsoft.com:
Added file: http://bugs.python.org/file37752/README.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23260
___
New submission from Steve Dower:
Updating the installer for better security and robustness. Large patch coming
soon (just getting an issue number to put in NEWS).
--
assignee: steve.dower
components: Windows
messages: 234203
nosy: steve.dower, tim.golden, zach.ware
priority: release
Martin Panter added the comment:
Another idea that doesn’t involve changing the incremental codec APIs is kind
of described in https://bugs.python.org/issue7475#msg145986: to add format
parameters to iterencode() and iterdecode(), which would allow it to determine
the right data type to
Steve Dower added the comment:
As I expected, shortly after posting this I find a significant issue with the
way the installer will work.
Expect a revised patch soon :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23260
Terry J. Reedy added the comment:
I cannot currently test or commit a patch. So go ahead.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23180
___
Roundup Robot added the comment:
New changeset 9a451aaa8ddb by Ned Deily in branch '2.7':
Issue #23180: Rename IDLE Windows menu item to Window.
https://hg.python.org/cpython/rev/9a451aaa8ddb
New changeset 8c0e5b507794 by Ned Deily in branch '3.4':
Issue #23180: Rename IDLE Windows menu item to
Martin Panter added the comment:
Here is a patch that clarifies in the documentation and test suite how newlines
work in the “quopri” and “binascii” modules. It also fixes the native Python
implementation to support CRLFs.
* \n is used by default (e.g. for soft line breaks if the input has no
Ned Deily added the comment:
Thanks for the patches, Al. Pushed for release in 2.7.10, 3.4.3, and 3.5.0.
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
Ent added the comment:
@vadmium: My Mistake. It should read file path not file object. (500 error
when submitting to review page.)
Renaming get_html_or_dir_path to get_path_or_dir for accurate description.
Also renaming copyfile to more pythonic copy_file.
--
Added file:
Roundup Robot added the comment:
New changeset 90b664532d1c by Ned Deily in branch '3.4':
Issue #23211: Workaround test_logging failure on some OS X 10.6 systems:
https://hg.python.org/cpython/rev/90b664532d1c
New changeset e3dfe942697e by Ned Deily in branch 'default':
Issue #23211: merge from
Ned Deily added the comment:
I *thought* I had tested 3.4 before; sorry about that!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23211
___
___
Roundup Robot added the comment:
New changeset 65ac2b992673 by Ned Deily in branch '3.4':
Issue #23211: Fix patch for 3.4 differences.
https://hg.python.org/cpython/rev/65ac2b992673
New changeset 2d71d0f954fb by Ned Deily in branch 'default':
Issue #23211: null merge
Antoine Pitrou added the comment:
In short, it looks like the freeslot idea was a net negative -- it
optimized an uncommon case at the cost of slowing and complicating the
common cases.
Do you have a benchmark showing the slowing down?
--
nosy: +pitrou
New submission from Raymond Hettinger:
The existing search finger is stored in a hackish way (using the hash field of
entry zero in the hash table). Replace this with normal coding techniques
(saving the field in the set object).
Cost one extra field in the set object. Benefit, remove an
Ned Deily added the comment:
OK, the workaround is applied for 3.4.3 and 3.5.0.
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23211
Raymond Hettinger added the comment:
I've observed the generated assembly has fewer instructions on the critical
path and that a register was freed-up. That's enough for me in this case (it's
too easy to get trapped in local minimums in timing small changes like this).
Do either of you have
Ned Deily added the comment:
LGTM. Terry, should I apply them?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23180
___
___
Python-bugs-list
Steve Dower added the comment:
New patch with some changes to how optional debug symbols and binaries are
handled. (I misunderstood how a particular WiX feature worked...)
--
Added file: http://bugs.python.org/file37754/23260_2.diff
___
Python
Changes by Stephan Sokolow bugs_python_org.zen.ssoko...@spamgourmet.com:
--
nosy: +ssokolow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6671
___
New submission from Stephan Sokolow:
As of Firefox 36 (currently in beta channel), the -remote option has been
removed.
https://www.mozilla.org/en-US/firefox/36.0a2/auroranotes/
https://www.mozilla.org/en-US/firefox/36.0beta/releasenotes/
As such, attempting to open http://www.example.com/
New submission from Matt Bachmann:
PEP 3131 changed the definition of valid identifiers to match this pattern
XID_Start XID_Continue* .
Currently if you have an invalid character in an identifier you get this error
☺ = 4
SyntaxError: invalid character in identifier
This is fine in most
Antoine Pitrou added the comment:
Fewer instructions doesn't necessarily translate into better performance. The
bottleneck in superscalar, pipelined processors is often the data dependency
path between instructions. Adding instructions may as well not slow anything
down, if those instructions
Martin Panter added the comment:
For what it’s worth, both io.TextIOWrapper and _pyio.TextIOWrapper appear to
only ever call IncrementalEncoder.setstate(0). And the newline _decoder_ is not
relevant because it doesn’t use any _encoder_.
--
nosy: +vadmium
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3566
___
___
New submission from Ent:
Use of http.server.BaseHTTPRequestHandler for exploratory or simple usage,
SimpleHTTPRequestHandler provides a good platform to start on. However, the
current code in SimpleHTTPRequestHandler's send_head is tightly coupled
together as a single unit.
This patch aims
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +berker.peksag
stage: - patch review
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23255
___
Berker Peksag added the comment:
+base_files = ['index.html', 'index.html']
I guess this should be ['index.htm', 'index.html'].
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23255
Ent added the comment:
Changing base_files to point @ ['index.htm', 'index.html']
--
Added file: http://bugs.python.org/file37737/simplehttp1.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23255
New submission from Claudiu Popa:
Hi,
Doing the following on Windows leads to a nasty crash python_d -m test
test_ctypes:
[1/1] test_ctypes
Fatal Python error: Segmentation fault
Current thread 0x16fc (most recent call first):
File E:\Projects\repos\cpython\lib\unittest\case.py, line
Roundup Robot added the comment:
New changeset 2bbd7b739b85 by Zachary Ware in branch '3.4':
Closes #23256: Avoid a crash in test_ctypes
https://hg.python.org/cpython/rev/2bbd7b739b85
New changeset b5821f7493c1 by Zachary Ware in branch 'default':
Merge with 3.4 (#23256)
Zachary Ware added the comment:
The .EXE is very strange, but the fix was simple enough. Thanks for the report.
--
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23256
Claudiu Popa added the comment:
Yury, regarding your last message, is it actually possible to have a subclass
which doesn't have a __doc__ attribute in its __dict__, except using slots?
__doc__ seems to be set to None every time if it's not specified, so I don't
know how could I detect the
Roundup Robot added the comment:
New changeset 00e552a23bcc by Antoine Pitrou in branch 'default':
Issue #15955: Add an option to limit output size when decompressing LZMA data.
https://hg.python.org/cpython/rev/00e552a23bcc
--
nosy: +python-dev
___
Antoine Pitrou added the comment:
I've committed the LZMADecompressor patch. Now let's tackle the rest.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15955
___
Changes by Claudiu Popa pcmantic...@gmail.com:
--
nosy: +Claudiu.Popa, yselivanov
versions: +Python 3.5 -Python 2.6, Python 2.7, Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6700
Claudiu Popa added the comment:
Here's the updated version of this patch.
--
type: behavior - enhancement
versions: -Python 3.4
Added file: http://bugs.python.org/file37738/issue21817_1.patch
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
It is hard to write good tests, because every example is temporary, after
adding support of pickling it will be not valid.
Here is extended patch. It now handles Python subclasses of builtin classes
(except list and dict which are pickleable via iterators)
Antoine Pitrou added the comment:
I think it's superfluous to mention the GIL here, since it has no impact on the
function.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23251
New submission from Steve Dower:
This seems like the best (only?) way to get a devguide patch reviewed... I
don't have any concerns, but other people may have some more suggestions for
this section that I'm happy to add.
--
assignee: steve.dower
components: Devguide, Windows
files:
SilentGhost added the comment:
Couple of things:
1. chosen chosen
2. double space needed before You can invoke...
--
nosy: +SilentGhost
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23257
Claudiu Popa added the comment:
Here's a cleaned up version of the patch.
--
Added file: http://bugs.python.org/file37741/issue22080_1.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22080
Claudiu Popa added the comment:
The new patch drops the weird error dance from test_unload_key, it seems to
work without it, I don't remember how it failed without it.
--
Added file: http://bugs.python.org/file37742/issue21518_2.patch
___
Python
Antoine Pitrou added the comment:
Hi, here are some comments about the patch:
- RemoteTraceback, ExceptionWithTraceback, rebuild_exc should be private (i.e.
with a leading underscore)
- in test_traceback, you can use the context manager form of assertRaises
instead of the try..except..else
Steve Dower added the comment:
Thanks! Haven't updated the patch, but I've fixed them.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23257
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +steve.dower
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20916
___
___
Python-bugs-list
Changes by Steve Dower steve.do...@microsoft.com:
--
assignee: - steve.dower
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23253
___
Steve Dower added the comment:
Attached a patch.
Comparing the time for python.exe -c '0' with Powershell's Measure-Command
tool, it looks like there's a 3-4ms (~8-10%) improvement in startup time too.
That's not at all robust, but it's certainly no worse. (I'm not surprised -
shell32.dll is
Akira Li added the comment:
I think it's superfluous to mention the GIL here, since it has no impact on
the function.
If GIL is not released then all Python code in other threads is
effectively blocked.
It is worth mentioning explicitly that it is guaranteed to be released
during the sleep.
Antoine Pitrou added the comment:
If GIL is not released then all Python code in other threads is
effectively blocked.
But that would be a stupid implementation of sleep(). It is not desirable to
clutter the docs with such mentions: most calls to the OS in the stdlib release
the GIL.
Only
Claudiu Popa added the comment:
Thanks, Antoine! Here's the new version, with your comments addressed.
--
Added file: http://bugs.python.org/file37744/issue21817_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21817
Claudiu Popa added the comment:
Ping. :-)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22522
___
___
Python-bugs-list mailing list
73 matches
Mail list logo