Le dimanche 25 mai 2014 02:27:11 UTC+2, Terry Reedy a écrit :
On 5/24/2014 3:49 PM, Marko Rauhamaa wrote:
Few people have Python 3 as an objective. What I'm saying is that if
Python 3 had something everybody wants and nothing else provides, the
people will come, even the legacy
On 05/20/2014 03:52 AM, Tim Chase wrote:
While Burak addressed your (Fast-)CGI issues, once you have a
test-script successfully giving you output, you can use the
standard-library's getpass.getuser() function to tell who your script
is running as.
LoadModule wsgi_module modules/mod_wsgi.so
My opinions about Go.
i) go build XXX that creates an exe, one can put on
a usb stick and run (distribute) it, is a feature hard
to beat.
I do not know, if it will be rendered correctly.
D:\jm\jmgohello3.exe
ASCII abcde xyz
Germanäöü ÄÖÜ ß
Polishąęźżńł
Russian абвгдеж эюя
CJK
On 05/20/2014 03:52 AM, Tim Chase wrote:
While Burak addressed your (Fast-)CGI issues, once you have a
test-script successfully giving you output, you can use the
standard-library's getpass.getuser() function to tell who your script
is running as.
LoadModule wsgi_module modules/mod_wsgi.so
On Sunday, May 25, 2014 12:47:27 PM UTC+8, Chris Angelico wrote:
On Sun, May 25, 2014 at 1:06 PM, bookaa wrote:
This tool can be called 'Python to GoLang', which translate Python source
to Golang source. And then you can compile the Go files to executable
binary. (btw: Go is a new
Anyone knows where to get a compiled cx_freeze that has already has this
patch?
http://hg.python.org/cpython/rev/7d20e30bd540
https://bitbucket.org/anthony_tuininga/cx_freeze/issue/81/python-34-venv-importlib-attributeerror
The installer on the sourceforge site still has this bug. :-( I don't
On Sun, May 25, 2014 at 6:17 PM, bookaa bookaa rors...@gmail.com wrote:
1) How compatible is your Python-to-Golang converter with all the
nuances of Python code? Does it work perfectly on any arbitrary Python
script? And, what version of Python is it aimed at?
I try to support all Python
Hi Roy.
On 24.5.2014. 1:57, Roy Smith wrote:
You need 19 projects to transition to Python 3.
Of those 19 projects, 17 have no direct dependencies blocking their
transition:
[...snipped...]
suds
That's a big list. A few of those we could probably work around or
replace with a different
Roy Smith, 24.05.2014 01:57:
I installed and ran caniusepython3. It tells me:
Finding and checking dependencies ...
[WARNING] rpclib not found
You need 19 projects to transition to Python 3.
Of those 19 projects, 17 have no direct dependencies blocking their
transition:
beanstalkc
bookaa bookaa, 25.05.2014 10:17:
I think the significance of Python to Go, is it give us opportunity to
make Python project run fast.
You shouldn't make that your only goal, because you'll have a really hard
time achieving it (to put it mildly).
Stefan
--
On Sun, 25 May 2014 09:06:18 +0200, Chris wrote:
On 05/20/2014 03:52 AM, Tim Chase wrote:
While Burak addressed your (Fast-)CGI issues, once you have a
test-script successfully giving you output, you can use the
standard-library's getpass.getuser() function to tell who your script
is running
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 25.5.2014 10:11, Nagy László Zsolt wrote:
Anyone knows where to get a compiled cx_freeze that has already has
this patch?
http://hg.python.org/cpython/rev/7d20e30bd540
On 25/05/2014 09:17, bookaa bookaa wrote:
Maybe I will work on Python 3 later.
That's good to know, it'll save me wasting my time looking at it now.
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
---
This email is
On 25/05/2014 11:24, Mark Lawrence wrote:
On 25/05/2014 09:17, bookaa bookaa wrote:
Maybe I will work on Python 3 later.
That's good to know, it'll save me wasting my time looking at it now.
OT:
Mark, you've been pro-Python3 enough in your recent postings you have
forced me to act. I've
On 25/05/2014 12:02, mm0fmf wrote:
On 25/05/2014 11:24, Mark Lawrence wrote:
On 25/05/2014 09:17, bookaa bookaa wrote:
Maybe I will work on Python 3 later.
That's good to know, it'll save me wasting my time looking at it now.
OT:
Mark, you've been pro-Python3 enough in your recent
This might be a silly question. Documentation of os.stat:
The exact meaning and resolution of the st_atime, st_mtime, and
st_ctime attributes depend on the operating system and the file
system. For example, on Windows systems using the FAT or FAT32 file
systems, st_mtime has 2-second
Wolfgang, thank you very much for your reply.
Following the example in the link, the problem appears:
A = [[0]*2]*3
A
[[0, 0], [0, 0], [0, 0]]
A[0][0] = 5
A
[[5, 0], [5, 0], [5, 0]]
Now, if I use a numpy array:
d=array([[0]*2]*3)
d
array([[0, 0],
[0, 0],
[0, 0]])
d[0][0]=5
Hi, ALL,
I have a following data structure:
my_dict[(var1,var2,var3)] = None
my_dict[(var4,var5,var6)] = 'abc'
What I'm trying to do is this:
for (key,value) in my_dict:
#Do some stuff
but I'm getting an error Too many values to unpack.
What am I doing wrong?
Thank you.
--
Anyone knows where to get a compiled cx_freeze that has already has this
patch?
http://www.lfd.uci.edu/~gohlke/pythonlibs/#cx_freeze
--
https://mail.python.org/mailman/listinfo/python-list
Igor Korot ikoro...@gmail.com writes:
for (key,value) in my_dict:
#Do some stuff
but I'm getting an error Too many values to unpack.
Use
for (key,value) in mydict.iteritems(): ...
otherwise you loop through just the keys, whicn in your dictionary
happens to be 3-tuples. So you try
On 2014-05-25 05:59, Paul Rubin wrote:
Igor Korot ikoro...@gmail.com writes:
for (key,value) in my_dict:
#Do some stuff
but I'm getting an error Too many values to unpack.
Use
for (key,value) in mydict.iteritems(): ...
You can even use
for ((k1,k2,k3), value) in
In article mailman.10291.1401022510.18130.python-l...@python.org,
Igor Korot ikoro...@gmail.com wrote:
for (key,value) in my_dict:
#Do some stuff
but I'm getting an error Too many values to unpack.
Several people have already given you the right answer, so I'll just
suggest a general
LJ wrote:
Wolfgang, thank you very much for your reply.
Following the example in the link, the problem appears:
A = [[0]*2]*3
You can see this as a shortcut for
value = 0
inner = [value, value]
A = [inner, inner, inner]
When the value is mutable (like your original set) a modification
Anyone knows where to get a compiled cx_freeze that has already has this
patch?
http://www.lfd.uci.edu/~gohlke/pythonlibs/#cx_freeze
Unfortunately, this is buggy too. Here is a test output from a compiled
console exe created with the above version of cx freeze:
Traceback (most recent call
On 5/25/14 8:55 AM, Igor Korot wrote:
Hi, ALL,
I have a following data structure:
my_dict[(var1,var2,var3)] = None
my_dict[(var4,var5,var6)] = 'abc'
What I'm trying to do is this:
for (key,value) in my_dict:
#Do some stuff
but I'm getting an error Too many values to unpack.
What am I
On Sun, May 25, 2014 at 11:22 PM, Roy Smith r...@panix.com wrote:
Hint: in this case,
it will happen on the assignment line, so, your next step is to print
everything out and see what's going on:
for thing in my_dict:
print thing
(key, value) = thing
Aside: I know that you (Roy)
Thank you for the reply.
So, as long as I access and modify the elements of, for example,
A=array([[set([])]*4]*3)
as (for example):
a[0][1] = a[0][1] | set([1,2])
or:
a[0][1]=set([1,2])
then I should have no problems?
--
https://mail.python.org/mailman/listinfo/python-list
Unfortunately, this is buggy too. Here is a test output from a compiled
console exe created with the above version of cx freeze:
Let Christoph know, he is very responsive and extremely helpful.
--
https://mail.python.org/mailman/listinfo/python-list
LJ wrote:
Thank you for the reply.
So, as long as I access and modify the elements of, for example,
A=array([[set([])]*4]*3)
as (for example):
a[0][1] = a[0][1] | set([1,2])
or:
a[0][1]=set([1,2])
then I should have no problems?
As long as you set (i. e. replace) elements
Thank you very much!
--
https://mail.python.org/mailman/listinfo/python-list
On 05/24/2014 11:43 PM, wxjmfa...@gmail.com wrote:
Python and unicode: a buggy hobbyist toy.
Voilà. Nothing either good or bad.
I thought this was a moderated list. What exactly are the moderators doing?
--
~Ethan~
--
https://mail.python.org/mailman/listinfo/python-list
On Mon, May 26, 2014 at 1:21 AM, Ethan Furman et...@stoneleaf.us wrote:
On 05/24/2014 11:43 PM, wxjmfa...@gmail.com wrote:
Python and unicode: a buggy hobbyist toy.
Voilà. Nothing either good or bad.
I thought this was a moderated list. What exactly are the moderators doing?
It's not a
My code has this structure:
class Example(wx.Frame,listmix.ColumnSorterMixin):
def __init__(self,parent):
wx.Frame.__init__(self,parent)
self.InitUI()
def InitUI(self):
. some other functions and other stuff
when a button is clicked this function is called and i
On 25/05/2014 16:21, Ethan Furman wrote:
On 05/24/2014 11:43 PM, wxjmfa...@gmail.com wrote:
Python and unicode: a buggy hobbyist toy.
Voilà. Nothing either good or bad.
I thought this was a moderated list. What exactly are the moderators
doing?
--
~Ethan~
I don't think the list is
Hi All,
I'm pleased to announce the release of testfixtures 3.1.0. This is a new
feature and bug fix release featuring the following changes:
- New RoundComparison object for comparing numbers to a given precision
- New 'unless' parameter to ShouldRaise, for situations where an
exception is
On Mon, May 26, 2014 at 2:01 AM, dimm...@gmail.com wrote:
i want to pass the variables xx and yy to a different script called
application. This script by calling it with import, automatically pop up a
window. I need by clicking the button that is linked with OnB definition to
pop up the
Right now we have a fairly basic shared hosting plan via bluehost.com,
running WordPress for a club web site. I've looked at setting up python
on this account, but the default is the version of python that comes
with the OS (CentOS 5.x currently). There are some basic instructions
on upgrading
On 25/05/2014 18:25, memilanuk wrote:
Right now we have a fairly basic shared hosting plan via bluehost.com,
running WordPress for a club web site. I've looked at setting up python
on this account, but the default is the version of python that comes
with the OS (CentOS 5.x currently). There
On Sun, May 25, 2014 at 7:25 PM, memilanuk memila...@gmail.com wrote:
Right now we have a fairly basic shared hosting plan via bluehost.com,
running WordPress for a club web site. I've looked at setting up python
on this account, but the default is the version of python that comes
with the OS
On Sunday, May 25, 2014 8:51:18 PM UTC+5:30, Ethan Furman wrote:
On 05/24/2014 11:43 PM, jmf wrote:
Python and unicode: a buggy hobbyist toy.
Voil�. Nothing either good or bad.
I thought this was a moderated list. What exactly are the moderators doing?
Your unicode is mojibaked
import win32service
Traceback (most recent call last):
File stdin, line 1, in module
ImportError: DLL load failed: The specified module could not be found
I have no problem loading the same module with Python 2.7.
Strange thing is that win32serviceutil.py is part of the pywin32
In article mailman.10285.1401009964.18130.python-l...@python.org,
Stefan Behnel stefan...@behnel.de wrote:
Ubuntu provides a (partial) Py3 port of boto.
As long as the part that's ported includes all the bits of boto we
currently need, plus all the bits of boto we haven't yet discovered we
On Sun, 25 May 2014 10:38:42 -0700, Rustom Mody wrote:
On Sunday, May 25, 2014 8:51:18 PM UTC+5:30, Ethan Furman wrote:
On 05/24/2014 11:43 PM, jmf wrote:
Python and unicode: a buggy hobbyist toy. Voil�. Nothing either
good or bad.
I thought this was a moderated list. What exactly
On 05/25/2014 12:04 PM, alister wrote:
is your apache server running as root?
if so it probably should be corrected
One is running as chris, the others as apache:
[root@t-centos1 ~]# ps -ef|grep httpd
root 1199 1 0 08:47 ?00:00:01 /usr/sbin/httpd
chris 1293 1199 0 09:47
On 2014-05-25 18:17, Steven D'Aprano wrote:
On Sun, 25 May 2014 10:38:42 -0700, Rustom Mody wrote:
Your unicode is mojibaked Ethan! Voil�. You are hereby
banished to a lonely island with python 1.5 and jmf for company :D
Nope, it's you. Ethan's post is fine. He correctly quotes JMF
On 05/25/2014 10:38 AM, Rustom Mody wrote:
Your unicode is mojibaked Ethan! Voil�.
You are hereby banished to a lonely island with python 1.5 and jmf for company
:D
1.5 I could live with. :( Surely the company would count as cruel and
unusual punishment?
--
~Ethan~
--
On 25/05/2014 19:34, Ethan Furman wrote:
On 05/25/2014 10:38 AM, Rustom Mody wrote:
Your unicode is mojibaked Ethan! Voil�.
You are hereby banished to a lonely island with python 1.5 and jmf for
company :D
1.5 I could live with. :( Surely the company would count as cruel and
unusual
On 05/25/2014 11:56 AM, Tim Chase wrote:
Thunderbird does offer the ability to change default character
encodings (Edit - Preferences - Display - Formatting tab -
Advanced...) for sending and receiving, but you have to go out of your
way to change them to something like UTF-8. On the same
On 5/25/2014 1:40 PM, Nagy László Zsolt wrote:
import win32service
Traceback (most recent call last):
File stdin, line 1, in module
ImportError: DLL load failed: The specified module could not be found
I have no problem loading the same module with Python 2.7.
So the above is with ???
On 25/05/2014 23:22, Dennis Lee Bieber wrote:
On Sun, 25 May 2014 11:34:59 -0700, Ethan Furman et...@stoneleaf.us
declaimed the following:
On 05/25/2014 10:38 AM, Rustom Mody wrote:
Your unicode is mojibaked Ethan! Voil�.
You are hereby banished to a lonely island with python 1.5 and jmf
On 05/25/2014 10:29 AM, Tim Golden wrote:
On 25/05/2014 18:25, memilanuk wrote:
So I'm left wondering if there is someplace that people here would
recommend (for this kind of plan or others) where python isn't a second
class citizen. Really not interested (for my current uses) in a VPS. I
On Mon, May 26, 2014 at 8:22 AM, Dennis Lee Bieber
wlfr...@ix.netcom.com wrote:
On Sun, 25 May 2014 11:34:59 -0700, Ethan Furman et...@stoneleaf.us
declaimed the following:
On 05/25/2014 10:38 AM, Rustom Mody wrote:
Your unicode is mojibaked Ethan! Voil�.
You are hereby banished to a
On 05/25/2014 03:22 PM, Dennis Lee Bieber wrote:
On Sun, 25 May 2014 11:34:59 -0700, Ethan Furman et...@stoneleaf.us
declaimed the following:
On 05/25/2014 10:38 AM, Rustom Mody wrote:
Your unicode is mojibaked Ethan! Voilà.
You are hereby banished to a lonely island with python 1.5 and jmf
On 5/25/2014 6:20 PM, Dennis Lee Bieber wrote:
the mailing
list and gmane group may have some spam filters in place but no real
moderation.
They *do* have spam, structure, and source filters. Please do not
mis-inform people that they post most anything to python-list without
consequence.
I am confused about how various built-in functions are called. Some are called with dot notationeach_item.isalpha()and some are called like 'normal'sum(numlist)How do you know/remember which way to call them?TIA,Deb in WA, USA
Free Online Photosharing - Share your photos online with your
On Sunday 25 May 2014 18:22:11 Dennis Lee Bieber did opine
And Gene did reply:
On Sun, 25 May 2014 11:34:59 -0700, Ethan Furman et...@stoneleaf.us
declaimed the following:
On 05/25/2014 10:38 AM, Rustom Mody wrote:
Your unicode is mojibaked Ethan! Voilï؟½.
You are hereby banished to a
Ned Batchelder n...@nedbatchelder.com Wrote in message:
On 5/25/14 8:55 AM, Igor Korot wrote:
Hi, ALL,
I have a following data structure:
my_dict[(var1,var2,var3)] = None
my_dict[(var4,var5,var6)] = 'abc'
What I'm trying to do is this:
for (key,value) in my_dict:
#Do some stuff
On 5/25/14 7:55 PM, Deb Wyatt wrote:
I am confused about how various built-in functions are called. Some are
called with dot notation
each_item.isalpha()
and some are called like 'normal'
sum(numlist)
How do you know/remember which way to call them?
TIA,
Deb in WA, USA
It can be
On 5/25/14 10:09 PM, Dave Angel wrote:
Ned Batchelder n...@nedbatchelder.com Wrote in message:
On 5/25/14 8:55 AM, Igor Korot wrote:
Hi, ALL,
I have a following data structure:
my_dict[(var1,var2,var3)] = None
my_dict[(var4,var5,var6)] = 'abc'
What I'm trying to do is this:
for (key,value)
On 25May2014 15:55, Deb Wyatt codemon...@inbox.com wrote:
I am confused about how various built-in functions are called. Some are
called with dot notation
each_item.isalpha()
and some are called like 'normal'
sum(numlist)
How do you know/remember which way to call them?
Documentation.
On 25May2014 13:47, Nagy László Zsolt gand...@shopzeus.com wrote:
This might be a silly question. Documentation of os.stat:
The exact meaning and resolution of the st_atime, st_mtime, and
st_ctime attributes depend on the operating system and the file
system. For example, on Windows systems
Roy Smith r...@panix.com writes:
Stefan Behnel stefan...@behnel.de wrote:
And I don't really see why you would consider fabric a dependency
that keeps you from switching to Py3. In many cases, you can just
keep running it in Py2 as you did before.
In theory, that's possible. In
bookaa bookaa rors...@gmail.com writes:
Generally, people consider Python as a script language.
Count me as one who does not. Python is a general-purpose language.
It has high development efficiency
True.
but run too slowly
Which Python implementation are you talking about? Run time is
Nagy László Zsolt gand...@shopzeus.com writes:
This might be a silly question. Documentation of os.stat:
The exact meaning and resolution of the st_atime, st_mtime, and
st_ctime attributes depend on the operating system and the file
system. For example, on Windows systems using the FAT or
Serhiy Storchaka added the comment:
Here is a little simpler patch. Instead of checking string length in custom
converter, it is checked after invocation of PyArg_ParseTuple. Also added
bigmem tests.
--
Added file: http://bugs.python.org/file35345/tkinter_strlen_overflow_alt.patch
Serhiy Storchaka added the comment:
Why you should check the type? There is no difference between '.' and u'.'.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21343
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21331
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20197
___
___
Raymond Hettinger added the comment:
Attaching a draft patch with tests.
--
Added file: http://bugs.python.org/file35346/fix_set_abc.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8743
Roundup Robot added the comment:
New changeset 4fd17e28d4bf by Serhiy Storchaka in branch 'default':
Issue #20197: Added support for the WebP image type in the imghdr module.
http://hg.python.org/cpython/rev/4fd17e28d4bf
--
nosy: +python-dev
___
Serhiy Storchaka added the comment:
Thank you for your contribution Fabrice and Claudiu.
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20197
New submission from Serhiy Storchaka:
It would be good to add support of all image types which are supported in PIL
to the imghdr module.
--
components: Library (Lib)
keywords: easy
messages: 219078
nosy: Claudiu.Popa, effbot, serhiy.storchaka
priority: normal
severity: normal
stage:
Claudiu.Popa added the comment:
Sounds good, I'll create a patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21574
___
___
Python-bugs-list
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
nosy: +serhiy.storchaka
type: - enhancement
versions: +Python 2.7, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19925
Roundup Robot added the comment:
New changeset 3fa76139c908 by Serhiy Storchaka in branch '3.4':
Issue #18918: Removed non-existing topic from a list of available topics.
http://hg.python.org/cpython/rev/3fa76139c908
New changeset e5bac5b2f38d by Serhiy Storchaka in branch 'default':
Issue
Serhiy Storchaka added the comment:
Fixed in Python 3. Thanks Claudiu.
But it is not clear why this topic is absent in 2.7.
--
nosy: +serhiy.storchaka
versions: -Python 3.3, Python 3.4
___
Python tracker rep...@bugs.python.org
Vajrasky Kok added the comment:
Thanks, Serhiy, for the review! Here is the updated patch.
--
Added file: http://bugs.python.org/file35347/unittest_for_spwd_v3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19925
Serhiy Storchaka added the comment:
There is no need to speed up methods which do IO (__getitem__, __setitem__,
__delitem__). However method which works only with an index (keys, iterkeys,
__contains__, __len__) can be optimized. In the __contains__ method an
exception can be raised not only
Xavier de Gaye added the comment:
An improved patch with a test case.
--
Added file: http://bugs.python.org/file35349/refleak_2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20766
___
New submission from Jan-Philip Gehrcke:
Currently, the tutorial for the list sort method does not show allowed
arguments:
list.sort()
Sort the items of the list in place.
(see e.g. https://docs.python.org/3.4/tutorial/datastructures.html)
Is there a reason why we do not show the
Roundup Robot added the comment:
New changeset 9724eb19f6d0 by Charles-François Natali in branch 'default':
Issue #21565: multiprocessing: use contex-manager protocol for synchronization
http://hg.python.org/cpython/rev/9724eb19f6d0
--
nosy: +python-dev
Roundup Robot added the comment:
New changeset c35274fe5b35 by Serhiy Storchaka in branch '2.7':
Issue #19925: Added tests for the spwd module. Original patch by Vajrasky Kok.
http://hg.python.org/cpython/rev/c35274fe5b35
New changeset 9bdbe0b08dff by Serhiy Storchaka in branch '3.4':
Issue
Andy Maier added the comment:
The pydoc.py of Python 3.4 that supposedly has been fixed has a lot of changes
compared to 2.7, but the place where I applied my fix in TextDoc.docclass()
is unchanged.
So it seems that my fix should be regarded only to be a quick fix, and the real
fix would be
Serhiy Storchaka added the comment:
Committed with some changes. geteuid() is used instead getuid(), and checked
that os.geteuid exists (see test_shutil). Checked deprecated attributes sp_nam
and sp_pwd. Added tests for the calling getspnam() with wrong number of
arguments and with bytes (on
New submission from beta:
Results:
Block: 2d = {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 0} same as {'Blocks': 3,
'Name': 'Fregatten', 'uuid': 0}
Block: 2e = {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 0} same as {'Blocks': 3,
'Name': 'Fregatten', 'uuid': 0}
Block: 2f = {'Blocks': 3, 'Name':
Nick Coghlan added the comment:
Ah, interesting - I completely missed the comparison operators in my patch and
tests. Your version looks good to me, though.
That looks like a patch against 2.7 - do you want to add 2.7 3.4 back to the
list of target versions for the fix?
--
Changes by Florent Rougon frou...@users.sourceforge.net:
--
nosy: +frougon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17679
___
___
Matt Bachmann added the comment:
There is a difference! '.' is a bytes string and u'.' is a unicode one!
I found this problem because I work on a project that supports both python2 and
python3.
In python3 I pass in unicode I get back unicode. In python2.7 I pass in unicode
and I get back a
Charles-François Natali added the comment:
Committed (I've added a versionchanged as suggested by Antoine), closing.
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
Matt Bachmann added the comment:
Perhaps this is the bug I should be filing but here is why this comes up for
me.
I get different output from this function if I pass in two types.
On my machine:
os.path.relpath(u'test_srcl.txt', u'.') returns u'test_src.txt'
os.path.relpath(u'test_srcl.txt',
Berker Peksag added the comment:
I get a test failure when I run the test suite with unittest.patch:
test_Exit (unittest.test.test_program.Test_TestProgram) ... test test_unittest
crashed -- Traceback (most recent call last):
File /home/berker/projects/cpython-default/Lib/test/regrtest.py,
Saimadhav Heblikar added the comment:
Modifications in htest-25052014.diff
1. ClassBrowser, PathBrowser, EditorWindow no longer close parent when closed
2. Sample code in _color_delegator changed to string, instead of reading from
file.
3. String text change for Tooltip.
4. Adds htest for
Serhiy Storchaka added the comment:
In Python 2 str is coerced to unicode, so most functions should return the same
(or compatible) result for str and unicode argument if it contains only 7-bit
ASCII characters. Of course there are several obvious exceptions, such as
type() or repr(). And
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
versions: +Python 2.7, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8743
___
Raymond Hettinger added the comment:
Adding tests for non-set iterables as suggested by Serhiy.
--
Added file: http://bugs.python.org/file35353/fix_set_abc2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8743
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10203
___
___
Serhiy Storchaka added the comment:
LGTM. Perhaps it is worth to add a test for negative indices (valid (-1) and
invalid ( -length)).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10203
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: needs patch - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21560
___
___
Éric Araujo added the comment:
I assume it is on purpose that the tutorial does not show all methods with all
their arguments. It could overwhelm readers with too much information, and
would also duplicate the full doc that’s in the reference.
A link from this tutorial page to the list
Damian added the comment:
Just a quick comment that I ran into this again, but turns out that it's not an
issue with python. Rather, this is a quirk with how readline works...
https://stackoverflow.com/questions/9468435/look-how-to-fix-column-calculation-in-python-readline-if-use-color-prompt
1 - 100 of 142 matches
Mail list logo