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
___
Hi Dennis,
On Sat, Aug 15, 2015 at 7:35 PM, Dennis Lee Bieber wlfr...@ix.netcom.com
wrote:
On Sat, 15 Aug 2015 12:47:17 +0300, Uri Even-Chen u...@speedy.net
declaimed the following:
To Python, Django and Speedy Mail Software developers,
Is it possible to make Speedy Mail encrypted? I
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
Anyone know how to handle #N/A in Excel from win32com.client.
I'm extracting data from an Excel file using win32com.client. Everything works
fine except for when the value #N/A is entered in excel. An empty cell. I
assumed I do something as
if ws.Cells(r, c).Value is None:
...
But that
Hi,
On Sun, Aug 16, 2015 at 12:40 PM, AGOSTINHO TEIXEIRA
agostinhoteixeir...@gmail.com wrote:
I'm a 25year DBASE-5 DOS programmer and want/have to step over to new
program/platform software, because there is no future anymore for DOS after
W-XP, I've been looking around for alternatives and
On Sunday, August 16, 2015 at 10:10:18 PM UTC+5:30, AGOSTINHO TEIXEIRA wrote:
I'm a 25year DBASE-5 DOS programmer and want/have to step over to new
program/platform software, because there is no future anymore for DOS after
W-XP, I've been looking around for alternatives and cannot figure out
Date: Sun, 16 Aug 2015 09:53:32 -0700
Subject: -2146826246 in win32com.client for empty #N/A cell in Excel
From: sven.bo...@gmail.com
To: python-list@python.org
Anyone know how to handle #N/A in Excel from win32com.client.
I'm extracting data from an Excel file using win32com.client.
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
priority: normal - low
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24874
___
___
I'm a 25year DBASE-5 DOS programmer and want/have to step over to new
program/platform software, because there is no future anymore for DOS after
W-XP, I've been looking around for alternatives and cannot figure out where to
start, I already have been learning the SQL with SSMS database
On 08/16/2015 10:40 AM, AGOSTINHO TEIXEIRA wrote:
I'm a 25year DBASE-5 DOS programmer and want/have to step over to new
program/platform software, because there is no future anymore for DOS
after W-XP, I've been looking around for alternatives and cannot
figure out where to start, I already
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
What's the accepted practice for return types from a c based API
Python wrapper? I have many methods which return generators
which yield potentially many fields per iteration. In lower level
languages we would yield a struct with readonly fields.
The existing implementation returns a dict which I
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
On Mon, Aug 17, 2015 at 5:16 AM, shiva upreti katewinslet...@gmail.com wrote:
I am new to linux. I tried various things in attempt to install kivy. I
installed python 2.7.10 (I think python3 was already installed in ubuntu
14.04). Then i downloaded kivy from
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
___
___
On Sun, Aug 16, 2015 at 1:11 PM, Rustom Mody rustompm...@gmail.com wrote:
I have some ideas in mind like Java with (ECLIPS) because it is very
popular, it is the most widely used and can get tutorials and videos all
over the internet.
I've read a lot of good things about Python, that it is
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
___
On Monday, August 17, 2015 at 7:30:14 AM UTC+5:30, Chris Angelico wrote:
On Mon, Aug 17, 2015 at 5:16 AM, shiva upreti wrote:
I am new to linux. I tried various things in attempt to install kivy. I
installed python 2.7.10 (I think python3 was already installed in ubuntu
14.04). Then i
In a message of Sun, 16 Aug 2015 20:19:49 -0700, rurpy--- via Python-list write
s:
On Sunday, August 16, 2015 at 8:00:14 PM UTC-6, Chris Angelico wrote:
On Mon, Aug 17, 2015 at 5:16 AM, shiva upreti katewinslet...@gmail.com
wrote:
I am new to linux. I tried various things in attempt to
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
shiva upreti katewinslet...@gmail.com wrote:
Hi
I am new to linux. I tried various things in attempt to install kivy. I
installed python 2.7.10
Just to make clear what others have said -- replacing Ubuntu 14.04's
system Python 2.7.6 is a bad idea and will break stuff, so if you really
must have
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
On 2015-08-16 20:16, shiva upreti wrote:
Hi
I am new to linux. I tried various things in attempt to install kivy. I installed python 2.7.10 (I think python3 was
already installed in ubuntu 14.04). Then i downloaded kivy from
https://pypi.python.org/packages/source/K/Kivy/Kivy-1.9.0.tar.gz,
Thanks again to everyone who tried to help.
Michael, I especially appreciate your encouragement and chiming in to
point out that telling newbies to learn everything there is before
posting question was not helpful in getting more people using Python.
Have the Pi wired up directly to the
For what it's worth, I use xlrd for this. http://www.python-excel.org/
Laura
--
https://mail.python.org/mailman/listinfo/python-list
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
On Mon, Aug 17, 2015 at 3:27 AM, Albert-Jan Roskam
sjeik_ap...@hotmail.com wrote:
Does that number happen to be -1 * sys.maxint?
No, it's -1 * 0x7ff5f806. As a signed 32-bit integer, it's 0x800a07fa.
Does either of those numbers mean anything?
Sven, you might do better to ask on a dedicated
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
Hello, all. I am hoping some people here are familiar with the RPi.GPIO
python module for the Raspberry Pi.
Very new to Python and electronics. Not to computing in general though.
I posted for help about accepting key presses and then discovered that
wiring up buttons directly to the Pi was
On Sun, Aug 16, 2015, at 14:41, Chris Angelico wrote:
On Mon, Aug 17, 2015 at 3:27 AM, Albert-Jan Roskam
sjeik_ap...@hotmail.com wrote:
Does that number happen to be -1 * sys.maxint?
No, it's -1 * 0x7ff5f806. As a signed 32-bit integer, it's 0x800a07fa.
Does either of those numbers mean
On Sun, 16 Aug 2015 09:53:32 -0700, Sven Boden wrote:
Anyone knows how to handle a #N/A cell in Excel in the proper way?
0x800A07FA is how xlErrNA (error 2042) is marshalled. This isn't specific
to Python; you'll get the same value using e.g C# or VB.NET.
There's a fairly thorough article on
Hi
I am new to linux. I tried various things in attempt to install kivy. I
installed python 2.7.10 (I think python3 was already installed in ubuntu
14.04). Then i downloaded kivy from
https://pypi.python.org/packages/source/K/Kivy/Kivy-1.9.0.tar.gz, extracted it
and tried to execute python
In a message of Sun, 16 Aug 2015 12:16:53 -0700, shiva upreti writes:
I am still getting the error:ImportError: No module named kivy.
Any help will be highly appreciated.
Thanks.
The preferred way to install kivy with ubuntu is to follow the
instructions here:
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
I tried building the spammodule.c example described in the documentation
section Extending Python with C or C++. As shown the code compiles OK but
generates a link error:
LINK : error LNK2001: unresolved external symbol init_spam
build\temp.win32-2.7\Release\_spam.lib : fatal error LNK1120: 1
On 2015-08-16 20:40, John McKenzie wrote:
Hello, all. I am hoping some people here are familiar with the RPi.GPIO
python module for the Raspberry Pi.
Very new to Python and electronics. Not to computing in general though.
I posted for help about accepting key presses and then discovered
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
On 8/16/2015 7:31 PM, Joseph L. Casale wrote:
What's the accepted practice for return types from a c based API
Python wrapper? I have many methods which return generators
which yield potentially many fields per iteration. In lower level
languages we would yield a struct with readonly fields.
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.
--
On Mon, Aug 17, 2015 at 12:51 PM, Rustom Mody rustompm...@gmail.com wrote:
On Monday, August 17, 2015 at 7:30:14 AM UTC+5:30, Chris Angelico wrote:
On Mon, Aug 17, 2015 at 5:16 AM, shiva upreti wrote:
I am new to linux. I tried various things in attempt to install kivy. I
installed python
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
On Sunday, August 16, 2015 at 8:00:14 PM UTC-6, Chris Angelico wrote:
On Mon, Aug 17, 2015 at 5:16 AM, shiva upreti katewinslet...@gmail.com
wrote:
I am new to linux. I tried various things in attempt to install kivy. I
installed python 2.7.10 (I think python3 was already installed in
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
___
On Sunday, August 16, 2015 at 10:14:29 PM UTC-6, Laura Creighton wrote:
In a message of Sun, 16 Aug 2015 20:19:49 -0700, rurpy--- via Python-list
writes:
On Sunday, August 16, 2015 at 8:00:14 PM UTC-6, Chris Angelico wrote:
[...]
use pip (maybe inside a virtualenv). It'll chug for a while
79 matches
Mail list logo