Dear all,
There are many enhancements and bug fixes, notably
- Performance improvements for large test suites, particularly Saving
- Config tab has file management context menu now similar to Test tab
- Jenkins integration more reliable and informative
- Various knownbugs enhancements
Regards,
ftputil 3.0b is now available from
http://ftputil.sschwarzer.net/download .
Changes since version 2.8
-
Note: This version of ftputil is _not_ backward-compatible
with earlier versions.See the links below for information
on adapting existing client code.
- This version
Hey everyone,
As time progresses, so does my Redis object mapper.
The rom package is a Redis object mapper for Python. It sports an
interface similar to Django's ORM, SQLAlchemy + Elixir, or Appengine's
datastore.
The changelog for recent releases can be seen below my signature.
You can find
Hi all,
The 3.10 release features the following:
- Many enhancements for SWT/Eclipse and wxPython.
- Some general new features also, mostly in the editor.
Regards,
Geoff Bache
A bit more detail:
StoryText is an unconventional GUI testing tool for PyGTK, Tkinter,
wxPython, Swing and SWT along
Op 03-11-13 23:11, Ben Finney schreef:
Antoon Pardon antoon.par...@rece.vub.ac.be writes:
Op 03-11-13 06:17, Steven D'Aprano schreef:
I'm trying hard to give up threads like this, where people debate
the subjective tone of an email and ever more pedantic arguments
about the precise wording.
Antoon Pardon antoon.par...@rece.vub.ac.be writes:
This is a typical: Heads, I win, Tail, you lose situation that is
being set up.
If you see a discussion as a zero-sum game – like a coin toss, where one
person's win can only be at the expense of someone else's loss – then I
fear this isn't
On 04/11/2013 00:16, bob gailer wrote:
Let's remember that it is the job of the OP to explain his problem so we
can offer solutions.
It's also the job of the responder to help if possible, e.g. by
providing some context with their messages, which is clearly absent above.
--
Python is the
On 11/4/2013 12:28 AM, memilanuk wrote:
On 11/03/2013 06:06 PM, yungwong@gmail.com wrote:
Hi, who has some problems to practice using Python?
Thx a lot!
http://projecteuler.net/ is always a good bet
Also www.checkio.org
--
Terry Jan Reedy
--
Op 04-11-13 10:07, Ben Finney schreef:
Antoon Pardon antoon.par...@rece.vub.ac.be writes:
This is a typical: Heads, I win, Tail, you lose situation that is
being set up.
If you see a discussion as a zero-sum game – like a coin toss, where one
person's win can only be at the expense of
Hi,
I have cloned someone's repository on my local drive using git command:
git clone http://github.com/xxx.git
But I don't find any setup.py file. How do I install the package xxx? So that I
can 'import xxx' in my python script.
Many thanks.
--
create a setup.py and install it
2013/11/4 C. Ng ngc...@gmail.com
Hi,
I have cloned someone's repository on my local drive using git command:
git clone http://github.com/xxx.git
But I don't find any setup.py file. How do I install the package xxx? So
that I can 'import xxx' in my python
On Sun, 03 Nov 2013 23:32:46 +, Denis McMahon wrote:
On Sun, 03 Nov 2013 14:19:48 -0200, Renato Barbosa Pim Pereira wrote:
I have one .xls file with the values of PV MV and SP, I wanna to
calculate Kp Ki Kd with python from this file, can anyone give me any
suggestion about how can I do
On Mon, Nov 4, 2013 at 8:56 PM, C. Ng ngc...@gmail.com wrote:
Hi,
I have cloned someone's repository on my local drive using git command:
git clone http://github.com/xxx.git
But I don't find any setup.py file. How do I install the package xxx? So that
I can 'import xxx' in my python
On 2013-11-03 19:40, Mark Janssen wrote:
But you cheated by using a piece of information from outside the
system: length. A generic compression algorithm doesn't have this
information beforehand.
By cheating with outside information, you can perfectly compress any
one data-set down to 1 bit.
Den lördagen den 2:e november 2013 kl. 22:31:09 UTC+1 skrev Tim Roberts:
jonas.thornv...@gmail.com wrote:
Well then i have news for you.
Well, then, why don't you share it?
Let me try to get you to understand WHY what you say is impossible. Let's
say you do have a
Den måndagen den 4:e november 2013 kl. 14:53:28 UTC+1 skrev
jonas.t...@gmail.com:
Den lördagen den 2:e november 2013 kl. 22:31:09 UTC+1 skrev Tim Roberts:
jonas.thornv...@gmail.com wrote:
Well then i have news for you.
Well, then, why don't you share it?
On Mon, 4 Nov 2013 05:53:28 -0800 (PST), jonas.thornv...@gmail.com
wrote:
Den lördagen den 2:e november 2013 kl. 22:31:09 UTC+1 skrev Tim
Roberts:
Here's another way to look at it. If f(x) is smaller than x for
every x,
that means there MUST me multiple values of x that produce the
On Monday, November 4, 2013 7:57:19 PM UTC+5:30, Dave Angel wrote:
On Mon, 4 Nov 2013 05:53:28 -0800 (PST), Jonas wrote:
Well let me try to explain why it is working and i have implemented one.
I only need to refresh my memory it was almost 15 years ago.
This is not the solution but this is
On Mon, 04 Nov 2013 00:15:40 +0100, Martin Manns wrote:
On 29 Oct 2013 05:22:00 GMT
Steven D'Aprano st...@pearwood.info wrote:
Does anyone here use slices (or range/xrange) with negative strides
other than -1?
I have used negative strides for comparing discrete sequences e. g. for
On Tue, Nov 5, 2013 at 2:29 AM, anatoly techtonik techto...@gmail.com wrote:
Right. But I am working more with URL paths nowadays. In there if I
want to join two paths, no matter if 2nd starts with slash or not, I
don't really expect the 2nd to rewrite the first.
Then os.path.join is probably
Blargh, wrong list. It should have been private anyway. Kindly take no
notice of the man behind the 3AM clock...
ChrisA
On Tue, Nov 5, 2013 at 3:07 AM, Chris Angelico ros...@gmail.com wrote:
On Tue, Nov 5, 2013 at 2:29 AM, anatoly techtonik techto...@gmail.com wrote:
Right. But I am working
On 11/04/2013 08:07 AM, Chris Angelico wrote:
On Tue, Nov 5, 2013 at 2:29 AM, anatoly techtonik techto...@gmail.com wrote:
Right. But I am working more with URL paths nowadays. In there if I
want to join two paths, no matter if 2nd starts with slash or not, I
don't really expect the 2nd to
Στις 3/11/2013 2:16 μμ, ο/η Roy Smith έγραψε:
In article bdm7fif28r...@mid.individual.net,
Gregory Ewing greg.ew...@canterbury.ac.nz wrote:
Nick the Gr33k wrote:
I just want a mysql column type that can be eligible to store an array
of elements, a list that is, no need for having a seperate
I'm playing with a BeagleBone Black running the angstrom distro. Of course,
stock python is 2.7, I'd rather use python3. There isn't a python3 package
available for angstrom. So I downloaded the source and compiled. It seemed to
work pretty well. I used the basic approach outlined in the
On Mon, Nov 4, 2013, at 11:07, Chris Angelico wrote:
Then os.path.join is probably the wrong tool for the job. Do you want
to collapse /foo/bar + ../quux into /foo/quux? That rewrites the
first. If not, don't use a function that does that. Try simple string
concatenation instead.
On Monday, November 4, 2013 9:47:18 PM UTC+5:30, Chris Angelico wrote:
Blargh, wrong list. It should have been private anyway. Kindly take no
notice of the man behind the 3AM clock...
ChrisA
Ive got a little list Ive got a little list
For Australians of all kinds Ive got a little list
--
On 11/04/2013 09:29 AM, random...@fastmail.us wrote:
I did, incidentally, notice a bug in macpath's *split* function;
macpath.split(':foo::bar') should return (':foo::','bar') rather than
(':foo:','bar').
Open a bug report. :)
http://bugs.python.org
--
~Ethan~
--
On 04/11/2013 17:34, Ethan Furman wrote:
On 11/04/2013 09:29 AM, random...@fastmail.us wrote:
I did, incidentally, notice a bug in macpath's *split* function;
macpath.split(':foo::bar') should return (':foo::','bar') rather than
(':foo:','bar').
Open a bug report. :)
http://bugs.python.org
04.11.13 20:01, Mark Lawrence написав(ла):
On 04/11/2013 17:34, Ethan Furman wrote:
On 11/04/2013 09:29 AM, random...@fastmail.us wrote:
I did, incidentally, notice a bug in macpath's *split* function;
macpath.split(':foo::bar') should return (':foo::','bar') rather than
(':foo:','bar').
I have written Python code for Google Drive which uploads the image files to my
drive app. I have three queries. Here is my code:
#!/usr/bin/python
import httplib2
import pprint
from apiclient.discovery import build
from apiclient.http import MediaFileUpload
from oauth2client.client import
Hi Travis,
I see, looking at ./configure --help | less, that I could provide
--disable-FEATURE and --without-PACKAGE directives to my ./configure
invocation. But what I don't see is how to generate a list of what
FEATURES/PACKAGES I could put there for consideration of omission. Is there
some
Héllo,
Look for Google Apps APIs. I'm not sure what you want to do is possible, at
least manipulating the spreadsheet is doable from Pythonl:
http://stackoverflow.com/questions/2377301/how-to-write-a-python-script-to-manipulate-google-spreadsheet-data
2013/11/4 caseyc...@google.com
I don't
https://github.com/amirouche/1001-Projects
2013/11/4 Terry Reedy tjre...@udel.edu
On 11/4/2013 12:28 AM, memilanuk wrote:
On 11/03/2013 06:06 PM, yungwong@gmail.com wrote:
Hi, who has some problems to practice using Python?
Thx a lot!
http://projecteuler.net/ is always a good bet
Hi,
I have a Python script that's using a format string without positional
specifiers. I.e.:
LOG_FILENAME =
'my_something_{}.log'.format(datetime.now().strftime('%Y-%d-%m_%H.%M.%S'))
I'm running this from within a virtualenv, running under Python 2.7.3.
$ python -V
Python 2.7.3
Den måndagen den 4:e november 2013 kl. 15:27:19 UTC+1 skrev Dave Angel:
On Mon, 4 Nov 2013 05:53:28 -0800 (PST), jonas.thornv...@gmail.com
wrote:
Den lördagen den 2:e november 2013 kl. 22:31:09 UTC+1 skrev Tim
Roberts:
Here's another way to look at it. If f(x) is smaller than x
On Mon, 04 Nov 2013 19:03:58 +0200, Nick the Gr33k wrote:
Please since this column you mentioned is able to store a Python's list
datatype could you tell me what needs alternation in:
We've already told you, there is NO mysql datatype that can store a
python list directly. There are ways of
On Tue, Nov 5, 2013 at 9:33 AM, Victor Hooi victorh...@gmail.com wrote:
However, when I run this line, I get the following error:
Traceback (most recent call last):
File my_script.py, line 25, in module
LOG_FILENAME =
Ian said :
Since the compiler generally can't predict what the types of objects will be,
the bytecode that it generates can't depend on those types.
very nice, the py is strong with you. Thanks, Pete
--
https://mail.python.org/mailman/listinfo/python-list
Hi,
You're right - it was sudo playing up with the virtualenv.
The script was in /opt, so I was testing with sudo to get it to run.
I should have setup a service account, and tested it with that =).
$ python sync_bexdb.py
2.7.3 (default, Jan 7 2013, 11:52:52)
[GCC 4.4.6 20120305 (Red Hat
On 4/11/2013 12:06 PM, yungwong@gmail.com wrote:
Hi, who has some problems to practice using Python?
Try http://projecteuler.net/
--
https://mail.python.org/mailman/listinfo/python-list
On Nov 4, 2013, at 9:22 AM, Travis Griggs travisgri...@gmail.com wrote:
I'm playing with a BeagleBone Black running the angstrom distro. Of course,
stock python is 2.7, I'd rather use python3. There isn't a python3 package
available for angstrom. So I downloaded the source and compiled. It
Hi,
We have a machine running CentOS 6.4, and we're attempting to compile Python
3.3.2 on it:
# cat /etc/redhat-release
CentOS release 6.4 (Final)
We've compiled openssl 1.0.1e 11 by hand on this box, and installed it into
/usr/local/:
# openssl
OpenSSL
Any thoughts on what we're doing wrong?
Building them yourself:)
Try iuscommunity.org for prebuilt packages...
--
https://mail.python.org/mailman/listinfo/python-list
Hallo,
again: a python beginner problem... but I spent ours to solve it without
success.
I have an object (a variable) name, which gets its value from a
PostgreSQL database via a SELECT statement, an it sometimes has german
special characters as ß, ä, ö...
Then I would like to insert that
On Mon, 4 Nov 2013 14:34:23 -0800 (PST), jonas.thornv...@gmail.com
wrote:
e is an approximation... and your idea is not general for any n.
e is certainly not an approximation, and I never mentioned n.
--
DaveA
--
https://mail.python.org/mailman/listinfo/python-list
Ulrich Goebel m...@fam-goebel.de writes:
I have an object (a variable) name
This confuses me. Is it an object, a variable, or a name?
which gets its value from a PostgreSQL database via a SELECT
statement, an it sometimes has german special characters as ß, ä, ö...
What is the type of that
On 11/4/2013 7:23 PM, Travis Griggs wrote:
On Nov 4, 2013, at 9:22 AM, Travis Griggs travisgri...@gmail.com wrote:
I'm playing with a BeagleBone Black running the angstrom distro. Of course,
stock python is 2.7, I'd rather use python3. There isn't a python3 package
available for angstrom.
On Mon, 04 Nov 2013 14:34:23 -0800, jonas.thornvall wrote:
Den måndagen den 4:e november 2013 kl. 15:27:19 UTC+1 skrev Dave Angel:
On Mon, 4 Nov 2013 05:53:28 -0800 (PST), jonas.thornv...@gmail.com
wrote:
[...]
This is not the solution but this is why it is working.
On Tue, 05 Nov 2013 04:33:46 +, Steven D'Aprano wrote:
On Mon, 04 Nov 2013 14:34:23 -0800, jonas.thornvall wrote:
Den måndagen den 4:e november 2013 kl. 15:27:19 UTC+1 skrev Dave Angel:
On Mon, 4 Nov 2013 05:53:28 -0800 (PST), jonas.thornv...@gmail.com
wrote:
[...]
This is not the
Jim Gibson jimsgib...@gmail.com wrote in message
news:031120131018099327%jimsgib...@gmail.com...
One way to generate plot within a CGI program is this:
To start off with, I am not a CGI expert. Also, I have several
degrees in the physical sciences and many years of doing computer
Στις 5/11/2013 12:46 πμ, ο/η Denis McMahon έγραψε:
On Mon, 04 Nov 2013 19:03:58 +0200, Nick the Gr33k wrote:
There is no built in support in the python / mysql system for puttinga
list straight into a database, because mysql does not havecollection
record type.
Does postgresql has this
Terry J. Reedy added the comment:
As I explained on the checkins list, I am do hg import --no-commit indirectly
though TortoiseHg Workbench Repository/import. It normally brings up an edit
box for a commit message after patching and if that is left blank, it does not
commit. With a message in
Vajrasky Kok added the comment:
Attached the patch to raise error when using sock dgram in wrap_socket.
I am still unsure whether I should put the validation in C code (private
function _wrap_socket) or not.
--
keywords: +patch
nosy: +vajrasky
Added file:
Serhiy Storchaka added the comment:
I suppose this is related to pickling.
I were puzzled why it works with bytearray subclasses. But now I investigated
that print() implicitly converts str and bytearray subclasses to str and left
unicode subclasses as is. You can reproduce this bug for str
New submission from Ned Deily:
Piet van Oostrum (on python-dev and elsewhere) wrote:
I tried to install matplotlib 1.3.1 on the release candidates of Python 2.7.6
and 3.3.3.
I am on Mac OS X 10.6.8.
Although the installation gave no problems, there is a problem with Tcl/Tk.
The new Pythons
Serhiy Storchaka added the comment:
And here is a patch for 3.x. Without it following code hangs.
class S(str): pass
import sys
sys.stdout.write('\u20ac')
€1
sys.stdout.write(S('\u20ac'))
€1
--
Added file:
http://bugs.python.org/file32491/idle_write_string_subclass-3.x.patch
Nick Coghlan added the comment:
Hmm, I just noticed an interesting issue here in drafting the 2.7 backport: as
near as I can tell, these aren't tested, so other implementations that failed
to provide them would pass the 2.7 and 3.3 test suites.
--
Added file:
Changes by Nick Coghlan ncogh...@gmail.com:
--
title: Document codecs.encode and codecs.decode - Document and test
codecs.encode and codecs.decode
versions: +Python 3.3, Python 3.4
___
Python tracker rep...@bugs.python.org
Ned Deily added the comment:
That's unfortunate. It looks like matplotlib on OS X (darwin) has cpp code
that interfaces directly with Tk and, hence, needs Tk headers. Further, for OS
X (darwin), its setup.py assumes that Tkinter is linked with Tcl and Tk
installed as frameworks in
Nick Coghlan added the comment:
Oops, never mind - the tests are already there (and have been since MAL's
original commit prior to Python 2.4), I just fail at searching code.
--
title: Document and test codecs.encode and codecs.decode - Document
codecs.encode and codecs.decode
Ned Deily added the comment:
Pickling for the RPC protocol between the GUI process and the interpreter
subprocess, which would explain why there is no problem when running idle -n
(no subproces)?
--
___
Python tracker rep...@bugs.python.org
New submission from Carolyn Reed:
The ICT teacher at the school I work at has reported that frequently students
are experiencing their Python software crashing when they attempt to save
files. No error message is reported, the software just freezes.
They are using the IDLE GUI Python v 3.2.4
STINNER Victor added the comment:
Could you try to collect more information, like an error message, or better a
traceback?
Do you get a Windows popup like program crashed?
Try to run IDLE from the command line, not from the icon, to get the traceback.
--
nosy: +haypo
STINNER Victor added the comment:
By the way, Python 3.2.4 is old, you should try to reproduce your issue with
a newer Python version, like Python 3.3.2.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19491
Carolyn Reed added the comment:
Unfortunately we are unable to run it from the command line - as we are a
school this is locked down for students.
There are no error messages at all, the program just freezes.
--
___
Python tracker
Carolyn Reed added the comment:
Okay, we'll see if we can go to V 3.3.2 and see what difference this makes.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19491
___
Roundup Robot added the comment:
New changeset bdb30bdf60a5 by Nick Coghlan in branch '2.7':
Close #17827: Document codecs.encode codecs.decode
http://hg.python.org/cpython/rev/bdb30bdf60a5
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
Roundup Robot added the comment:
New changeset 536a7c09c7fd by Victor Stinner in branch 'default':
Issue #16286: write a new subfunction bytes_compare_eq()
http://hg.python.org/cpython/rev/536a7c09c7fd
--
nosy: +python-dev
___
Python tracker
Carolyn Reed added the comment:
There doesn't seem to be a Pygame version for 3.3 on the pygame webpage?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19491
___
Roundup Robot added the comment:
New changeset 5fa291435740 by Victor Stinner in branch 'default':
Issue #16286: optimize PyUnicode_RichCompare() for identical strings (same
http://hg.python.org/cpython/rev/5fa291435740
--
___
Python tracker
Serhiy Storchaka added the comment:
I forgot to merge branches? Thanks Ned.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18702
___
___
Roundup Robot added the comment:
New changeset 494f736f5945 by Victor Stinner in branch 'default':
Issue #19424: PyUnicode_CompareWithASCIIString() normalizes memcmp() result
http://hg.python.org/cpython/rev/494f736f5945
--
___
Python tracker
Roundup Robot added the comment:
New changeset da9c6e4ef301 by Victor Stinner in branch 'default':
Issue #16286: remove duplicated identity check from unicode_compare()
http://hg.python.org/cpython/rev/da9c6e4ef301
--
___
Python tracker
STINNER Victor added the comment:
I applied changes unrelated to the hash.
--
Added file: http://bugs.python.org/file32493/compare_hash-3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16286
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19466
___
___
STINNER Victor added the comment:
Results of benchmarks using compare_hash-3.patch:
$ time ../benchmarks/perf.py -r -b default ./pythonorig ./pythonhash
INFO:root:Skipping benchmark slowspitfire; not compatible with Python 3.4
INFO:root:Skipping benchmark slowpickle; not compatible with Python
STINNER Victor added the comment:
@Stefan: Did you my comments on Rietveld?
http://bugs.python.org/review/7442/#ps1473
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7442
___
STINNER Victor added the comment:
@Giampaolo: Your patch doesn't apply cleanly anymore. Could you update it?
Issue #19172 has been fixed, selectors now have a get_map() method.
--
___
Python tracker rep...@bugs.python.org
Ezio Melotti added the comment:
For 2.7 that sounds like a reasonable option, for 3.3/3.4 however I'm keeping
the name but I change the regex groups, so it might break if someone is using
it with groups. In theory I could add a third name and leave that unchanged,
but I'm not sure it's worth
STINNER Victor added the comment:
You got me, Antoine! I'm working on a Python-only implementation of
PBKDF2_HMAC. It involves XOR of two bytes in one place.
If you want super-fast code, you should probably reimplement it in C. Python is
not designed for performances...
--
Changes by STINNER Victor victor.stin...@gmail.com:
Added file: http://bugs.python.org/file32494/022955935ba3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18874
___
Changes by STINNER Victor victor.stin...@gmail.com:
Removed file: http://bugs.python.org/file32478/65e72bf01246.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18874
___
Changes by STINNER Victor victor.stin...@gmail.com:
Removed file: http://bugs.python.org/file32211/57ae01bf96cb.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18874
___
R. David Murray added the comment:
Then for 3.3 you are bug fixing the regex, so anyone using it ought to want the
change, right? :)
If the same is true for 2.7, then creating an alias would probably be fine. I
haven't looked at the details, so I'll leave it to your judgment. I just don't
STINNER Victor added the comment:
What is the status of this issue?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19017
___
___
New submission from Serhiy Storchaka:
Some skipped distutils tests are reported as passed. Arfrever pointed out on
some of these tests on IRC. Proposed patch adds explicit reporting them as
skipped.
See also issue18702.
--
assignee: eric.araujo
components: Distutils, Tests
messages:
New submission from Serhiy Storchaka:
Some skipped ctypes tests are reported as passed. Proposed patch adds explicit
reporting them as skipped.
See also issue18702.
--
components: Tests, ctypes
files: skip_tests_ctypes.patch
keywords: patch
messages: 202124
nosy: amaury.forgeotdarc,
Nick Coghlan added the comment:
Updated patch. The results of this suggests to me that the input wrappers are
likely infeasible at this point in time, but improving the errors for the wrong
*output* type is entirely feasible. Since the main conversion we need to prompt
is things like
Serhiy Storchaka added the comment:
Related issues: issue19492 and issue19493.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18702
Stefan Krah added the comment:
Yes, I saw the comments. I'm still wondering if we should just write an
mbstowcs_l() function instead.
Even then, there would still be a small chance that a C extension that
creates its own thread picks up the wrong LC_CTYPE.
--
Vajrasky Kok added the comment:
You forgot to upload the proposed patch, Serhiy.
--
nosy: +vajrasky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19492
___
Nick Coghlan added the comment:
Ah, came up with a relatively simple solution based on an internal helper
function with an optional output flag:
import codecs
codecs.encode(bhello, bz2_codec).decode(bz2_codec)
Traceback (most recent call last):
File stdin, line 1, in module
TypeError:
Nick Coghlan added the comment:
For anyone interested, I have a patch up on issue 17828 that produces the
following output for various codec usage errors:
import codecs
codecs.encode(bhello, bz2_codec).decode(bz2_codec)
Traceback (most recent call last):
File stdin, line 1, in module
Nick Coghlan added the comment:
The other thing is that this patch doesn't wrap AttributeError. I'm OK with
that, since I believe the only codec in the standard library that currently
throws that for a bad input type is rot_13.
--
___
Python
STINNER Victor added the comment:
What is this locale_t type used for the locale parameter of mbstowcs_l()? Are
you sure that it is a string? According to this patch, it looks like a
structure:
http://www.winehq.org/pipermail/wine-cvs/2010-May/067264.html
--
STINNER Victor added the comment:
It would be simpler to just drop these custom codecs (rot13, bz2, hex, etc.)
instead of helping to use them :-)
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17828
New submission from Nick Coghlan:
Thanks for the report, this has now been fixed in
http://hg.python.org/cpython/rev/ac1685661b07
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Nick Coghlan ncogh...@gmail.com:
--
assignee: - ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19378
___
___
Python-bugs-list
Nick Coghlan added the comment:
Indeed, added to __all__ in http://hg.python.org/cpython/rev/ac1685661b07
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4331
___
Serhiy Storchaka added the comment:
Thank you Vajrasky.
--
keywords: +patch
Added file: http://bugs.python.org/file32498/skip_tests_distutils.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19492
1 - 100 of 174 matches
Mail list logo