Changes by Mark Dickinson dicki...@gmail.com:
--
assignee: - marketdickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6713
___
___
Changes by Chris Rebert pyb...@rebertia.com:
--
nosy: +cvrebert
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6108
___
___
Python-bugs-list
Vincent Legoll vincent.leg...@gmail.com added the comment:
The real question I had is why mkstemp return an os-level opened file
descriptor instead of a python file object...
--
___
Python tracker rep...@bugs.python.org
New submission from Raphaël Barrois xelnor_pyt...@melix.net:
I discovered recently that urllib2 doesn't respect the no_proxy
environment variable on linux (and on other platforms too, I think).
Here is an example of the problem :
- Set http_proxy and no_proxy environment variables (for
Lars Gustäbel l...@gustaebel.de added the comment:
I applied the patch with some more small fixes to the trunk (r74750) and
the py3k branch (r74751).
--
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
Akira Kitada akit...@gmail.com added the comment:
Aren't CC and CXX variables just for compilers?
CC
Program for compiling C programs; default `cc'.
CXX
Program for compiling C++ programs; default `g++'.
http://www.gnu.org/software/make/manual/make.html#index-CXX-848
--
nosy:
Akira Kitada akit...@gmail.com added the comment:
I think this is duplicate of issue858809.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1294959
___
Akira Kitada akit...@gmail.com added the comment:
I think this is duplicate of issue858809.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1019715
___
Pertti Kellomäki pertti.kellom...@tut.fi added the comment:
The linker is usually called via a compiler, which arranges for compiler
specific libraries to be included in the linking. See e.g. section 10.2
in the GNU Make manual:
Linking a single object file
n is made automatically from n.o by
Martin v. Löwis mar...@v.loewis.de added the comment:
You are saying that if I pass a long to the i argument parser it will
cause a problem. But if I passed a int, it will be same as before and
overflow will not be detected at all.
Correct. So you should use the l argument parser.
Jonas Byström highfest...@gmail.com added the comment:
I would like something like a regexp-replace of
def[ \t]*__idiv__\((.*?)\)
into
def __floordiv__(\1): self.__truediv__(arg[-1:] goes here)
def __truediv__(\1)
--
___
Python tracker
New submission from Santhosh Thottingal santhosh.thottin...@gmail.com:
locale._parse_localename fails when the locale name is in xx_YY format.
For example when the system locale is Malayalam(India), ml_IN we get
the following result
locale._parse_localename(ml_IN)
Traceback (most recent call
Benjamin Peterson benja...@python.org added the comment:
That would not always be correct because __div__ implements a default
division that doesn't exist in Py3k. It's easiest to implement
__floordiv__ and __truediv__ in for 2.x for correct behavior there, too.
--
resolution: - wont
Björn Lindqvist bjou...@gmail.com added the comment:
In my app, I need to transform the regexp created from user input so
that it matches unicode characters with their ascii equivalents. For
example, if someone searches for el nino, that should match the string
el ñino. Similarly, searching for
R. David Murray rdmur...@bitdance.com added the comment:
Because if you want the Python file object, you should use TemporaryFile
or NamedTemporaryFile. mkstemp is a lower level (closer to the os)
interface, and is provided because Python has a philosophy of providing
those low level interfaces
New submission from Ezio Melotti ezio.melo...@gmail.com:
While running test.regrtest, test_mailbox failed with the error:
test test_mailbox failed -- Traceback (most recent call last):
File /home/wolf/py3k/Lib/test/test_mailbox.py, line 116, in
test_discard
Ezio Melotti ezio.melo...@gmail.com added the comment:
Fixed in r74754 (trunk) and r74755 (py3k).
--
keywords: -needs review, patch
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +georg.brandl
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6574
___
New submission from geremy condra debat...@gmail.com:
Getting the following issue- this code:
#! /usr/bin/env python3
import getpass, imaplib
M = imaplib.IMAP4_SSL(imap.gmail.com)
M.login(username, password)
M.select()
typ, data = M.search(None, 'ALL')
for num in data[0].split():
typ,
Georg Brandl ge...@python.org added the comment:
Accepted, except for two things:
* I'd drop the a0 suffix for the mandatory version. 2.2 instead of
2.2.0a0 is much better to comprehend.
* Why the ugly markup with the PEP refs? ``:pep:`number`: blah`` should
work well.
For 3k, all previous
Ezio Melotti ezio.melo...@gmail.com added the comment:
I think there should also be one or more tests that check if the file is
closed correctly after the __exit__, in normal conditions and possibly
in different situations (e.g. when an error is raised ).
Unlike regular file objects, ZipFile
mkp mkpmkpmkp9...@gmail.com added the comment:
on python2.5 / mac os x 10.5.7:
$ cat main.c
#include stdio.h
#include python.h
int main()
{
int i;
for (i=0; i10; i++)
{
printf(--- %d ---\n, i);
Py_Initialize();
PyRun_SimpleString(import ctypes);
Alan Isaac alan.is...@gmail.com added the comment:
Since you are working on this, can you see if
http://bugs.python.org/issue6108
is related or in any case can be fixed at the same time?
Thanks.
--
___
Python tracker rep...@bugs.python.org
New submission from vitvn caothucodon...@gmail.com:
viet= â ă á à ấ ầ ắ ằ ạ ậ ặ
print(viet)
Traceback (most recent call last):
File tiengviet.py, line 4, in module
print(viet)
File I:\python\python.v3.1_portable\App\lib\encodings\cp1252.py,
line 19, in encode
return
Benjamin Peterson benja...@python.org added the comment:
Change your terminal's encoding.
--
nosy: +benjamin.peterson
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6898
Ezio Melotti ezio.melo...@gmail.com added the comment:
It looks like you are using the Windows terminal, that, afaik, is not
able to display the characters you are trying to print. This is because
its default encoding - cp1252 - can encode only a small subset of the
Unicode characters.
If
Ezio Melotti ezio.melo...@gmail.com added the comment:
I fixed the machine and tried the file that you uploaded, but nothing
changed. This is what I used (traceback.print_exc() prints to stderr,
so the traceback should be visible):
$ while ./python Lib/test/regrtest.py -v test_docxmlrpc.py; do
Jean-Paul Calderone exar...@divmod.com added the comment:
Perhaps also worth noting is that in Python 2.4 as well, str(exception)
and unicode(exception) returned the same thing. Unlike some other
exception changes in 2.6, this doesn't seem to be a return to older
behavior, but just a new
Jean-Paul Calderone exar...@divmod.com added the comment:
FWIW, I'm waiting to hear about the acceptability of adding fields to
the exception structure(s) before I work on this patch.
--
___
Python tracker rep...@bugs.python.org
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6844
___
___
Python-bugs-list
30 matches
Mail list logo