Hi all,
just did a quick release of devpi-server 0.8.5, the pypi.python.org
caching server. This should fix some cases of uninstallable packages
and removes pip and virtualenv from its dependencies. See
https://pypi.python.org/pypi/devpi-server
for details. Thanks to Markus
On Tue, May 14, 2013 at 9:32 AM, Citizen Kant citizenk...@gmail.com wrote:
Do I want to learn to program?
I didn't say I've wanted to learn to program neither said the
opposite. I've said that I wasn't sure.
H... i'd say you'll make very good business applications analyst. In
fact i'd
Hi everyone,
I am facing a strange problem using weave on 64 bit machine.
Specifically with weave's inline function. It has something to do with
weave's catalog.
Similar issues I found in the past (very old)
http://mail.scipy.org/pipermail/scipy-dev/2006-June/005908.html
On Tue, May 14, 2013 at 9:22 AM, Dave Angel da...@davea.name wrote:
On 05/13/2013 06:53 PM, Mark Lawrence wrote:
I much prefer the alternative for != but some silly people insisted
that this be removed from Python3. Just how stupid can you get?
So which special methods should the operator
On Tue, May 14, 2013 at 9:40 AM, Fábio Santos fabiosantos...@gmail.com wrote:
Well I am thus defying the law and order of this world by publishing
it on the internets!
---
And here it is:
http://fabiosantoscode.blogspot.pt/2013/05/pythons-new-enum-class.html
class Text(unicode, Enum):
2013/5/14 Steven D'Aprano steve+comp.lang.pyt...@pearwood.info
On Tue, 14 May 2013 01:32:43 +0200, Citizen Kant wrote:
An entity named Python must be somehow as a serpent. Don't forget that
I'm with the freeing up of my memory, now I'm not trying to follow the
path of what's told but
From: llanitedave llanited...@veawb.coop
On Monday, May 13, 2013 4:32:43 PM UTC-7, Citizen Kant wrote:
An entity named Python must be
somehow as a serpent.
llanitedave wrote:
Moe like a dead parrot, actually.
That's a good one! Even If doesn't lead to the fact that Python (so to
speak)
- Original Message -
On Mon, 13 May 2013 13:00:36 +0200, Jean-Michel Pichavant wrote:
- Original Message -
That's the title of this little beast
http://www.acooke.org/cute/Pythonssad0.html if anybody's
interested.
--
If you're using GoogleCrap™ please read this
On 13 May 2013 12:05, Jean-Michel Pichavant jeanmic...@sequans.com
wrote:
class Enum:
class __metaclass__(type):
That's some cool metaclass fu! I didn't know that to be possible
--
http://mail.python.org/mailman/listinfo/python-list
Case study (kind of)
Imagine that I use to explore with my mind a particular topic and I want to
map and model the mechanics of that exploration. That's mostly
metaphysical. I have a partner called Python with whom I must communicate
in Python. Which would be the basics that I must know in order
ssl proxy server
http://natigtas7ab.blogspot.com/2013/05/ssl-proxy-server.html
--
http://mail.python.org/mailman/listinfo/python-list
2013/5/14 Steven D'Aprano steve+comp.lang.pyt...@pearwood.info
mailto:steve+comp.lang.pyt...@pearwood.info
Python is not named after the snake, but after Monty Python the
British
comedy troupe. And they picked their name because it sounded funny.
That does not mean they were
On 5/14/2013 3:52 AM, Chris Angelico wrote:
On Tue, May 14, 2013 at 9:40 AM, Fábio Santos fabiosantos...@gmail.com wrote:
http://fabiosantoscode.blogspot.pt/2013/05/pythons-new-enum-class.html
class Text(unicode, Enum):
one = u'one'
two = u'two'
three =
Sorry for digging this old topic back. I see that my 'property' does not
play well with polymorphic code comment generated some controversy. So
here's something in my defense:
Here's the link to stackoveflow topic I am talking about:
Hi folks,
This questions may be asked several times already, but the development of
relevant software continues day-for-day. For some time now I've been using
xhtml2pdf [1] to generate PDF documents from HTML templates (which are rendered
through my Django-based web application. This have been
On Tue, 14 May 2013 08:05:53 -0700, Christian Jurk wrote:
Hi folks,
This questions may be asked several times already, but the development
of relevant software continues day-for-day. For some time now I've been
using xhtml2pdf [1] to generate PDF documents from HTML templates (which
are
On Wed, May 15, 2013 at 1:07 AM, Terry Jan Reedy tjre...@udel.edu wrote:
On 5/14/2013 3:52 AM, Chris Angelico wrote:
On Tue, May 14, 2013 at 9:40 AM, Fábio Santos fabiosantos...@gmail.com
wrote:
http://fabiosantoscode.blogspot.pt/2013/05/pythons-new-enum-class.html
class
Hi guys! This is my first post on this list.
I'd like have your opinion on how to safely implement WSGI on a production
server.
My benchmarks show no performance differences between our PHP and Python
environments. I'm using mod_wsgi v3.4 with Apache 2.4.
Is that ok or can it get faster?
I corrected it indeed.
On Tue, May 14, 2013 at 4:36 PM, Chris Angelico ros...@gmail.com wrote:
On Wed, May 15, 2013 at 1:07 AM, Terry Jan Reedy tjre...@udel.edu wrote:
On 5/14/2013 3:52 AM, Chris Angelico wrote:
On Tue, May 14, 2013 at 9:40 AM, Fábio Santos fabiosantos...@gmail.com
wrote:
On 14 mai, 17:05, Christian Jurk co...@commx.ws wrote:
Hi folks,
This questions may be asked several times already, but the development of
relevant software continues day-for-day. For some time now I've been using
xhtml2pdf [1] to generate PDF documents from HTML templates (which are
On Tue, May 14, 2013 at 2:34 PM, 23alagmy hossamala...@gmail.com wrote:
ssl proxy server
hxxp://natigtas7ab.blogspot.com/2013/05/ssl-proxy-server.html
--
http://mail.python.org/mailman/listinfo/python-list
I have been seeing those mails for a long time. Why didn’t anybody
ban that guy? If
On Sat, May 11, 2013 at 1:03 PM, Citizen Kant citizenk...@gmail.com wrote:
I'm making my way to Python (and
OOP in general) from a philosophical perspective or point of view and try to
set the more global definition of Python's core as an entity. In order to
do that, and following
I am trying to use os.open() and os.lseek() methods to operate on a device file
in Linux. My code goes something like this -
# first, open the file as a plain binary
try:
self.file = open(/dev/relpcfpga, r+b, buffering=0)
except IOError:
raise IOError ('Failed to open.')
#
Sounds a lot like reddit threads.
It's similar, but it goes a lot further. Where every other site
without centralized editors, the thread mess on a simple flat page
doesn't scale after about a 100 interactions. To sort out the mess,
it takes another dimension. The project I'm working on uses
I haven't touched the SpamBayes setup for the usenet-to-mail gateway
in a long while. For whatever reason, this message was either held
and then approved by the current list moderator(s), or (more likely)
slipped through unscathed. No filter is perfect.
Skip
On Tue, May 14, 2013 at 1:40 PM,
On Tue, May 14, 2013, at 03:00 PM, krishna2pra...@gmail.com wrote:
I am trying to use os.open() and os.lseek() methods to operate on a
device file in Linux. My code goes something like this -
# first, open the file as a plain binary
try:
self.file = open(/dev/relpcfpga, r+b,
In article 50bf9366-46e0-4a7f-865b-3f7c7b0f6...@googlegroups.com,
krishna2pra...@gmail.com wrote:
I am trying to use os.open() and os.lseek() methods to operate on a device
file in Linux. My code goes something like this -
# first, open the file as a plain binary
try:
self.file =
Impressive, I'd say.
On Tue, May 14, 2013 at 8:11 PM, Mark Janssen dreamingforw...@gmail.com wrote:
Sounds a lot like reddit threads.
It's similar, but it goes a lot further. Where every other site
without centralized editors, the thread mess on a simple flat page
doesn't scale after about
On 14.05.2013 21:00, krishna2pra...@gmail.com wrote:
# first, open the file as a plain binary
try:
self.file = open(/dev/relpcfpga, r+b, buffering=0)
Aren't you missing the quotes for /dev/relpcfpga?
The method seek() complains OSError: [Errno 29] Illegal seek
The device relpcfpga
On 14/05/13 09:34, Citizen Kant wrote:
2013/5/14 Steven D'Aprano steve+comp.lang.pyt...@pearwood.info
On Tue, 14 May 2013 01:32:43 +0200, Citizen Kant wrote:
An entity named Python must be somehow as a serpent. Don't forget that
I'm with the freeing up of my memory, now I'm not trying to
On Tue, 14 May 2013 19:01:38 -0400, Dennis Lee Bieber wrote:
On 14 May 2013 05:09:48 GMT, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info declaimed the following in
gmane.comp.python.general:
The operator comes from Pascal, where it was used as not equal
since
I thought it
Hi everyone,
I realize my previous post was quite unreadable, thanks to my email
client. I am going to report my question here, with slight enhancements.
Apologies for inconvenience caused and spamming your mailboxes.
I am facing a strange problem using weave on 64 bit machine.
Chris Angelico於 2013年5月14日星期二UTC+8上午1時36分34秒寫道:
On Mon, May 13, 2013 at 8:17 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
Let's look at his major criticisms:
1) values aren't automatically generated.
True. So what? That is the *least* important part of
On May 14, 2:24 pm, Jean-Michel Pichavant jeanmic...@sequans.com
wrote:
- Original Message -
On Mon, 13 May 2013 13:00:36 +0200, Jean-Michel Pichavant wrote:
- Original Message -
That's the title of this little beast
http://www.acooke.org/cute/Pythonssad0.htmlif
On Sunday, 12 May 2013 01:33:15 UTC+5:30, Citizen Kant wrote:
Hi,
this could be seen as an extravagant subject but that is not my original
purpose. I still don't know if I want to become a programmer or not. At this
moment I'm just inspecting the environment. I'm making my way to Python
hello,
going fru some basic examples and can't figureout why the following errors
out. Help is very much appreciated:
code
def front_x(words):
# +++your code here+++
print words passed : , words
list_xx = []
list_temp = words[:]
print list_temp -, list_temp
print words -,
Your for idx, val in enumerate(words): is running on words not list_temp.
As you remove from list_temp and keeps parsing words you get the IndexError.
From: form...@gmail.com
Date: Wed, 15 May 2013 00:22:05 -0400
Subject: IndexError: pop index out of range
paul j3 added the comment:
I need to make one correction to my last post:
'-x 1 2 -w 3 4 5 6', # w:3, x:[1,2], y:4, z:[5,6] +
# w:3, x:[1], y:2, z:[4,5,6] -
The second solution is only possible if 'z' is not consumed when 'y' is being
processed. In current
New submission from Andy Chugunov:
At the same time append() succeeds silently, while simple '+' fails.
Here's an example:
a = ([1],)
a[0].append(2)
a
([1, 2],)
a[0] += [3]
Traceback (most recent call last):
File pyshell#47, line 1, in module
a[0] += [3]
TypeError: 'tuple' object does
Changes by Ronald Oussoren ronaldousso...@mac.com:
--
assignee: - ronaldoussoren
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17973
___
___
Ronald Oussoren added the comment:
This is a side effect to the way the in place operators work.
Basically a[0] += [3] is evaluated as:
a[0] = a[0].__iadd__([3])
The call to __iadd__ succeeds, which is why the list is updated, but you get an
exception when the interpreter tries to update
Ronald Oussoren added the comment:
I'm closing this issue as rejected because the current behavior is intentional,
although it is confusing (IMO).
--
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17973
___
___
Python-bugs-list
Ronald Oussoren added the comment:
The RVM issue is wrong, ML still includes OpenSSL. Apple has deprecated the use
of the system install of OpenSSL, but the library and include files are still
there.
There are two paths for avoiding the deprecated library: either ship your own
build of
Kiyoshi Aman added the comment:
I would instead suggest a cidr or netmask kwarg, rather than accepting a tuple
as first argument.
--
nosy: +Kiyoshi.Aman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16531
Kristján Valur Jónsson added the comment:
Catching regressions is what we have the regression tests for. If it is not in
caught by the regression tests, then it is not a regression, by definition.
Bug fix mode is for fixing bugs, IMHO.
Yes, I have patched my local version. The reason I am
Kristján Valur Jónsson added the comment:
Thanks Guido.
The current patch provides the property you ask for. I will see if I can make
the fiddling of the internal tuple less magical.
I have one other question for you: The standard mro puts the class in the
0th position.
But apparently,
Richard Oudkerk added the comment:
Kristjan, could you confirm whether joining the pool explicitly before shutdown
(in the way I suggested earlier) fixes the problem. I think it should -- at
shutdown you won't switch to a thread if it has already been joined.
--
Antoine Pitrou added the comment:
Catching regressions is what we have the regression tests for. If it
is not in caught by the regression tests, then it is not a
regression, by definition.
Call it what you want :-) The bottom line is that we'll release a
2.7.5 soon because of breakage
Serhiy Storchaka added the comment:
In C++ we may overload functions for backward compatibility:
PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *,
const char *, const char * const *, ...);
PyAPI_FUNC(int) PyArg_VaParseTupleAndKeywords(PyObject *,
Charles-François Natali added the comment:
Catching regressions is what we have the regression tests for. If it is not
in caught by the regression tests, then it is not a regression, by definition.
You do realize this sentence doesn't make sense, do you?
--
New submission from Antoine Pitrou:
Attached patch migrates unittest to argparse.
This doesn't make discover handling much saner, given the awful way it's
originally implemented.
--
components: Library (Lib)
files: unittest_argparse.patch
keywords: patch
messages: 189212
nosy:
Michael Foord added the comment:
What's the benefit of this change?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17974
___
___
Antoine Pitrou added the comment:
I don't think Serhiy's patch should be blocked by a larger issue. I suppose you
could rebase easily over his changes.
--
versions: +Python 3.4 -Python 2.7, Python 3.2, Python 3.3
___
Python tracker
Antoine Pitrou added the comment:
I was considering making it possible to customize command-line options, as
requested by Guido, and it's better to expose the modern API rather than the
more obsolete one.
--
___
Python tracker
A.M. Kuchling added the comment:
Kaleb Robertson's changes look good. Larry, do you want to go ahead and commit
this?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16024
___
Michael Foord added the comment:
Ok, feel free to reimplement discovery command line handling if it can be done
in a compatible-but-less-horrible way. Anyway, the patch looks fine and a
couple of minor cleanups in there.
--
___
Python tracker
Serhiy Storchaka added the comment:
I don't see much sense in this modernization, while the code does not use the
capabilities of argparse (and even optparse). Why
USAGE_AS_MAIN/USAGE_FROM_MODULE/etc exist, why help is not generated
automatically? Why -v/-q store boolean flags instead of
Kristján Valur Jónsson added the comment:
Richard, I'll review implement your change. It is a bit tricky to test this,
since I can only tell after a few days if the particular (rare) problem has
been fixed. The crash is a rare one but consistently happens with some
probability we use
Michael Foord added the comment:
Test discovery and new options (buffer, failfast etc) were bolted onto an old
and ugly design. Yes the code could use an overhaul and rebuilding from scratch
- but doing that whilst remaining fully compatible with all the existing usage
patterns is difficult.
Changes by Barry A. Warsaw ba...@python.org:
--
nosy: +barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17974
___
___
Python-bugs-list mailing
Kristján Valur Jónsson added the comment:
Richard, reading the multiprocessing.py code, it appears that your suggestion
of closign and joining the Pool() object should also do the trick. Doing that
will certainly also fix this particular case. I'll implement that in our local
application
A.M. Kuchling added the comment:
Updated version of the patch:
* uses 'r' instead of 'N'.
* removes the old outline and some notes at the end.
* minor rewriting.
--
Added file: http://bugs.python.org/file30257/functional.txt
___
Python tracker
Changes by Dmitry Shachnev mity...@gmail.com:
--
nosy: +mitya57
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11245
___
___
Python-bugs-list
New submission from Patrick Welche:
I currently have python 2.7 and 3.2 installed concurrently. I just tried to
install 3.3 as well, but a file conflicts between 3.2 and 3.3. It is
libpython3.so.
Given that we go out of our way e.g. with
$(INSTALL_DATA) Misc/python.pc
Guido van Rossum added the comment:
Would you mind doing the backport then?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17927
___
___
Christian Heimes added the comment:
In my opinion it's fine to document Python's XML parser as not thread-safe and
leave locking to the user. Any fancy locking or tracking is going to make it
slower for users. Any it takes a lot of effort to implement the feature, too.
lxml offers a faster
New submission from Jaakko Moisio:
file.write doesn't sometimes raise IOError when it should, e.g. writing to
/dev/full in line buffered mode:
jaakko@jm-laptop:~$ python
Python 2.7.5+ (2.7:a32a3b79f5e8, May 14 2013, 14:20:11)
[GCC 4.7.2] on linux2
Type help, copyright, credits or license for
Jan Safranek added the comment:
On 05/09/2013 09:07 AM, Jan Safranek wrote:
Jan Safranek added the comment:
On 05/07/2013 05:32 PM, Antoine Pitrou wrote:
Jan, one possibility would be for Pegasus to stop unloading Python,
it seems.
It is always possibility. Actually, Pegasus plugin is
New submission from Barry A. Warsaw:
The docs[1] say:
.. function:: urlopen(url, data=None[, timeout], *, cafile=None, capath=None,
cadefault=True)
The code[2] says:
def urlopen(url, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
*, cafile=None, capath=None, cadefault=False):
Roundup Robot added the comment:
New changeset e2288953e9f1 by Barry Warsaw in branch '3.3':
- Issue #17977: The documentation for the cadefault argument's default value
http://hg.python.org/cpython/rev/e2288953e9f1
New changeset 85ecc4761a6c by Barry Warsaw in branch 'default':
- Issue #17977:
Changes by Barry A. Warsaw ba...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17977
___
Kristján Valur Jónsson added the comment:
Yes, thanks for pointing that out, Antoine, I have made the change locally.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17936
___
Armin Rigo added the comment:
Well, adding weak references left and right to break cycles is going to subtly
change or break people's code and hasn't been done so far, but that's only my
opinion. Anyway, I want to correct what you say about tp_subclasses: yes,
tp_subclasses is a list of
Amaury Forgeot d'Arc added the comment:
In my opinion it's not fine to let Python crash.
The implementation could be similar to the one in bufferedio.c, it's quite
lightweight.
--
___
Python tracker rep...@bugs.python.org
Charles-François Natali added the comment:
I assume my glibc and fwrite aren't broken though
Actually, it's a glibc bug when the last character is a '\n':
$ python -c f = open('/dev/full', 'w', 1); f.write('hello'); f.close()
Traceback (most recent call last):
File string, line 1, in module
Meador Inge added the comment:
I don't think Serhiy's patch should be blocked by a larger issue.
I suppose you could rebase easily over his changes.
Where rebase=undo, sure. The changes for issue3132 are pretty
extensive (the basic data structures are changed). And as mentioned
in
Serhiy Storchaka added the comment:
Indeed, fwrite() can return expected number of items and set errno. Here is a
simple example on C. An output is:
setvbuf 0 0
fwrite 5 0
fwrite 1 28
fwrite 1 28
On writing \n fwrite returns 1 and set errno to ENOSPC.
--
nosy: +serhiy.storchaka
Added
Antoine Pitrou added the comment:
Ok, feel free to reimplement discovery command line handling if it can
be done in a compatible-but-less-horrible way.
I don't think it's possible. Best way forward would be to provide a
pytest utility that does discovery automatically, and leave python -m
Charles-François Natali added the comment:
Indeed, fwrite() can return expected number of items and set errno. Here is a
simple example on C. An output is:
Yeah, who's volunteering to report it to the glibc?
That's not a python bug, but I feel bad ignoring it.
Note that ferror() isn't
Guido van Rossum added the comment:
Kristjan, it seems you're in over your head. :-)
The mro() function is documented here:
http://docs.python.org/3/library/stdtypes.html?highlight=mro#class.mro
It exists to be called instead of using __mro__ directly; a metaclass can then
override what it
Antoine Pitrou added the comment:
Le mardi 14 mai 2013 à 16:37 +, Meador Inge a écrit :
If we feel that this optimization is really critical, then I agree
let's not hold it up and I will just work around it with my patch for
issue3132. I don't see it as that critical, but I understand
Antoine Pitrou added the comment:
Yuck. We can of course workaround this (the glibc is commonly used :-)). Why is
ferror() not reliable?
--
priority: normal - low
stage: - needs patch
___
Python tracker rep...@bugs.python.org
Charles-François Natali added the comment:
Why is ferror() not reliable?
Because the glibc doesn't check the errno return code after the
write() syscall, and thus doesn't set the file's stream error flag
(ferror() just checks this flag).
That's what I saw from the code.
I was a little
Roundup Robot added the comment:
New changeset edefd3450834 by Antoine Pitrou in branch 'default':
Backout c89febab4648 following private feedback by Guido.
http://hg.python.org/cpython/rev/edefd3450834
--
___
Python tracker rep...@bugs.python.org
Antoine Pitrou added the comment:
After getting some private feedback from Guido, I'm convinced this patch isn't
ready for consumption. Objects visible from the frame when it is finalized can
be in a weird, incomplete state (Guido reports failing to get the __class__ of
an object, for
to an OpenSSL CA
file:
https://svn.macports.org/repository/macports/trunk/dports/security/certsync/files/certsync.m,
and a blog message at
http://landonf.bikemonkey.org/code/macosx/certsync.20130514.html
--
___
Python tracker rep...@bugs.python.org
http
Antoine Pitrou added the comment:
Le mardi 14 mai 2013 à 15:28 +, Jan Safranek a écrit :
libpython2.7.so is not unloaded because python extensions, e.g.
/usr/lib64/python2.7/lib-dynload/_heapq.so depend on it. And _heapq.so
was dlopenened by Python and it was not dlclosed - glibc does not
Jaakko Moisio added the comment:
Thank you for your comments.
I was a little surprised when Jaako says that ferror() is enough to
detect this, so I modified Serhiy code to print ferror(), and actually
ferror() reports an error for subsequent writes, not for the first one
(probably because
Kristján Valur Jónsson added the comment:
Armin: Of course you are right. This is what weak references are for, in a gc
world, although their convenience to avoid cycles and enable reference counting
to work always makes me forget.
I have another ongoing issue regarding tp_subclasses, btw,
Guido van Rossum added the comment:
Good call. I think it's perfectly fine for you to do this in your custom 2.7
branch. It feels too fragile to adopt the same approach for Python 3.4 though.
--
status: open - closed
___
Python tracker
Meador Inge added the comment:
Are you sure the PEP 3118 changes will land in 3.4? It would be a pity
to lose a simple improvement because it was deferred to a bigger
change.
No, I am not sure. That is why I said that I understand if others felt
this bug was critical to fix now since the
New submission from Romulo A. Ceccon:
I have patched (see attachment) Python 2.7.4 (as available for download at
python.org/download) to disable initialization of Unicode (an embeded system
requirement) and now it segfaults with the following program:
#include Python.h
int
Charles-François Natali added the comment:
Strange. I too modified Serchiy's code and my version of glibc (2.15) set the
error flag at the same fwrite call as errno was set:
setvbuf 0 0 0
fwrite 5 0 0
fwrite 1 28 1
fwrite 1 28 1
(the last column being the return value of ferror after
Éric Araujo added the comment:
I have just been bitten by a bug (haven’t checked if it’s covered by the added
tests) where Cookies uses string.translate incorrectly:
File /usr/lib/python2.7/Cookie.py, line 323, in _quote
if == translate(str, idmap, LegalChars):
File
Jaakko Moisio added the comment:
Yeah, would you like to write a patch?
Yes. It's fileobject-fix3.patch attached to this issue record.
--
Added file: http://bugs.python.org/file30262/fileobject-fix3.patch
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
Here is a patch which reimplement discovery command line handling in a
i-hope-in-compatible-but-less-horrible way (and fixes some bugs). It is
horrible still, but I doubt how many changes can I do without breaking
compatibility. If _do_discovery() used only
New submission from Amaury Forgeot d'Arc:
python2.7 can't be compiled with --enable-unicode=no
Because of a crash in the re module. It's a regression from 2.7.3.
$ ./python -c 'import re; re.compile(([a-zA-Z][a-zA-Z0-9_]+)\s*=\s*(.*))'
Traceback (most recent call last):
File string, line 1,
Amaury Forgeot d'Arc added the comment:
The official way to build without unicode is
./configure --enable-unicode=no
But see issue17979.
--
nosy: +amaury.forgeotdarc
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17978
Senthil Kumaran added the comment:
OMG. That's a glaring mistake. Thanks for fixing it.
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17977
___
1 - 100 of 114 matches
Mail list logo