Christoph Gohlke added the comment:
FWIW, I rebuilt static libraries for zlib, jbig, jpeg, openjpeg, tiff, webp,
lcms, and freetype with /MT flag (a tedious task) and was able to build
matplotlib and Pillow using Python 3.5.0rc1. As expected there is no dependency
on the vcruntime DLL.
Even
Changes by Serhiy Storchaka storch...@gmail.com:
Added file: http://bugs.python.org/file40190/cycle_reduce_3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24874
___
Serhiy Storchaka added the comment:
Original Raymonds reason in msg248662 is not valid. Pickling a cycle object
that fully consumed its input iterable is already space-inefficient.
import itertools, pickle, pickletools
c = itertools.cycle(iter('abcde'))
[next(c) for i in range(8)]
['a',
Changes by Serhiy Storchaka storch...@gmail.com:
Added file: http://bugs.python.org/file40189/cycle_reduce_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24874
___
Laura Creighton added the comment:
Things work with python3.5 so this is an issue with what debian sid calls
python3 (i.e. CPython 3.4.3+ (default, Jul 28 2015, 13:17:50) [GCC 4.9.3])
--
___
Python tracker rep...@bugs.python.org
Steve Dower added the comment:
I expect that, but most extensions don't seem to be in that category so this
will help remove the administrator barrier.
Thanks for going through that tedious process. I'll put up a patch later today
and submit for 3.5.0.
--
sih4sing5hong5 added the comment:
I moved the import urlopen inside the patch.
The mock worked.
Thank you for explanations. I understand now.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24855
Laura Creighton added the comment:
(as expected) Fails when invoked as python3.4 as well.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24858
___
New submission from Jakub Wilk:
Docstring of the distutils.errors module reads:
This module is safe to use in from ... import * mode; it only exports
symbols whose names start with Distutils and end with Error.
But in reality, the module exports also names that don't start with Distutils:
ns
Akira Li added the comment:
People do have problems that SimpleNamespace can solve:
- Why Python does not support record type i.e. mutable namedtuple [1]
- Does Python have anonymous classes? [2]
- How to create inline objects with properties in Python? [3]
- python create object and add
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
priority: normal - low
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24874
___
___
Adam Bartoš added the comment:
I was also bitten by this via Enum. Is there any chance this will be fixed in
Python 3.5?
--
nosy: +Drekin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23572
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24842
___
Roundup Robot added the comment:
New changeset 678d93c273de by Raymond Hettinger in branch 'default':
Issue #24842: Cross-reference types.SimpleNamespace from the namedtuple docs
https://hg.python.org/cpython/rev/678d93c273de
--
nosy: +python-dev
Steve Dower added the comment:
Actually, on rereading this (during daylight hours, previous response was
before 6am my time) the patch wouldn't help. I need to write some porting notes
for rebuilding static libraries with suitable settings. I'll base it on my
initial post and find somewhere
Jairo Trad added the comment:
I just tested this issue in Python 3.6.0a0 and got this behavior:
help('help') brings
Help on _Helper in module _sitebuiltins object:
help(help) brings:
Help on _Helper in module _sitebuiltins object:
help() invokes the help command line.
So this was fixes on
Changes by Steve Dower steve.do...@python.org:
--
components: +Documentation, Extension Modules
priority: release blocker - high
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24872
___
Changes by Benjamin Peng (烈之斩) human.p...@gmail.com:
--
nosy: +Benjamin Peng (烈之斩)
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15809
___
___
Terry J. Reedy added the comment:
3.5 is the same as 3.6 in that now both help(help) and help('help') show the
not terribly helpful Help on _Helper in module site object: Buried in the
text is
| Calling help() at the Python prompt starts an interactive help session.
| Calling
New submission from shiva prasanth:
i created a zip file with password as getlost using Archive Manager which comes
with ubuntu.
and when i try to extract the same file using zipfile module which comes with
python2.7 with same password it is showing error as
Bad Password for file which is
shiva prasanth added the comment:
Python 2.7.9 (default, Apr 2 2015, 15:33:21)
[GCC 4.9.2] on linux2
Type help, copyright, credits or license for more information.
import zipfile
s=zipfile.ZipFile('random.zip')
s.extractall(pwd='getlost')
Traceback (most recent call last):
File stdin,
Terry J. Reedy added the comment:
From msg248192 (Serhiy - which
...
File /home/serhiy/py/cpython/Lib/idlelib/EditorWindow.py, line 899, in
update_recent_files_list
if '\0' in path or not os.path.exists(path[0:-1]):
File /home/serhiy/py/cpython/Lib/genericpath.py, line 19, in exists
Jairo Trad added the comment:
I have patched this as explained by David. Also the tests are working. Another
test broke because a missing trailing space. I fixed that too.
This is my first patch :D
--
nosy: +jairotrad
Added file: http://bugs.python.org/file40191/issue24746.patch
Roundup Robot added the comment:
New changeset d9e0c82d8653 by Robert Collins in branch '3.4':
Issue #24774: Fix docstring in http.server.test.
https://hg.python.org/cpython/rev/d9e0c82d8653
New changeset 845c79097c21 by Robert Collins in branch '3.5':
Issue #24774: Fix docstring in
Robert Collins added the comment:
Thanks for the patch. Applied to 3.4 and up.
--
nosy: +rbcollins
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24774
Roundup Robot added the comment:
New changeset d54aa163e4ec by Terry Jan Reedy in branch '2.7':
Issue #23672: ACKS
https://hg.python.org/cpython/rev/d54aa163e4ec
New changeset c1031eb12aa1 by Terry Jan Reedy in branch '3.4':
Issue #23672: ACKS
https://hg.python.org/cpython/rev/c1031eb12aa1
R. David Murray added the comment:
Unfortunately I was reminded a few days ago that there is a commit hook that
prevents patches containing trailing whitespace from being committed to the
repository. So using doctest to test this isn't going to work.
The alternatives are to write a unit
Terry J. Reedy added the comment:
It appears that the failures in msg248192 and msg248365 are issues with
non-latin1 chars in general, not with astral chars in particular. Anyone who
wants filenames with astral chars should be using a utf-8 locale.
This issue is about Idle working around the
Josh Rosenberg added the comment:
So this has sign off on Python ideas, and it's not fundamentally changing the
language (it's implemented in pure Python after all), it's passed a dozen code
reviews. Can someone with commit privileges just finish this off please?
--
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: - rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24379
___
___
Joe Jevnik added the comment:
Sorry about the ideas thread. Thank you for merging this!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24379
___
Raymond Hettinger added the comment:
For example:
import sched
help(sched.Event)
class Event(Event)
| Event(time, priority, action, argument, kwargs)
|
...
| --
| Data descriptors inherited from Event:
|
|
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24734
___
R. David Murray added the comment:
For future reference can you post a link to the python-ideas thread in which
the signoff occurred?
--
nosy: +r.david.murray
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
Terry J. Reedy added the comment:
Do you consider the second patch ready as is (as a step toward doing the
merge)? Is so, I will do a commit review.
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24379
New submission from Raymond Hettinger:
Add docstrings to some named tuples that could benefit from it (there was more
documentation or useful information other than just the field name). This
makes the help() on those named tuples much more informative.
--
assignee: docs@python
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24735
___
New submission from Raymond Hettinger:
Currently, help() lists out data descriptors in alphabetical order. This is
fine in the general case, however if the fields are parts of a named tuple, it
is more sensible to list them in the order found in the tuple.
The presence of a named tuple can
Christoph Gohlke added the comment:
Matplotlib and my own extensions are using C++ sources but do not depend on
msvcp140.dll, just the ucrt. Am I missing something?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24872
Raymond Hettinger added the comment:
Applied the cycle2 patch but kept the signature the same as the original reduce
(using a number instead of a boolean).
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python
Christoph Gohlke added the comment:
Thanks for going through that tedious process
~140 libraries to go.
I hit the wall last night trying to build Boost DLLs. Boost's build tool b2
does not allow `link=shared runtime-link=static`, hence the `/MT /LTCG
/NODEFAULTLIB:libucrt.lib ucrt.lib` magic
Steve Dower added the comment:
Boost requires C++ anyway doesn't it? So the full redist will be required.
These options are only useful for pure C sources.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24872
Steve Dower added the comment:
Probably I'm missing something. Maybe there's a subset of C++ that doesn't rely
on it - a decent amount of the standard template library is generated at
compile time.
If the dependency isn't there, it'll be fine.
Do you think it'll be worth having a check box
Roundup Robot added the comment:
New changeset 17b5c8ba6875 by Raymond Hettinger in branch 'default':
Issue #24874: Speed-up itertools and make it pickles more compact.
https://hg.python.org/cpython/rev/17b5c8ba6875
--
nosy: +python-dev
___
Python
Raymond Hettinger added the comment:
The old python ideas discussion stops way short of a sign-off but I'll go
ahead an apply the patch. If someone really hates it, they have a year and
half to persuade someone to rip it out ;-)
Roundup Robot added the comment:
New changeset dccc4e63aef5 by Raymond Hettinger in branch 'default':
Issue #24379: Add operator.subscript() as a convenience for building slices.
https://hg.python.org/cpython/rev/dccc4e63aef5
--
nosy: +python-dev
___
Terry J. Reedy added the comment:
The side-by-side part I obviously like, but I think we need to keep 'Base
Editor Font' since this and only this is affected by the selection. I think
there should be an option to increase the 'other' font used for everything else.
--
Terry J. Reedy added the comment:
As I think I said elsewhere, I want myself and others to be able to select
among the style themes provided with ttk, as well as any other themes (a dark
theme?) that we or users devise. A custom theme would be a good project for a
UI design class.
I do not
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24683
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24613
___
51 matches
Mail list logo