Grygoriy Fuchedzhy grygoriy.fuched...@gmail.com added the comment:
Shouldn't .svgz be also added as 'image/x-svg+xml'?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10730
___
Terry J. Reedy tjre...@udel.edu added the comment:
No, the other combined suffixes are not either.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10730
___
Stephen J. Turnbull step...@xemacs.org added the comment:
Re: msg124528
Yes, XEmacs installs a signal handler on what are normally fatal errors. (I
don't know about GNU Emacs but they probably do too.)
The handler has two functions: to display a Lisp backtrace and to output a
message
New submission from David Leonard d+pyt...@adaptive-enterprises.com:
Installed http://www.python.org/ftp/python/2.7.1/python-2.7.1.amd64.msi
on Windows 7, x64 into C:\Python27
C:\\Python27\python.exe
Python 2.7.1 (r271:86832, Nov 27 2010, 17:19:03) [MSC v.1500 64 bit (AMD64)] on
win32
Type
Stefan Krah stefan-use...@bytereef.org added the comment:
Before anyone does any further testing:
Tarek, can this go into distutils 2.7/3.2 (after 3.2 has been released)?
Due to the popularity of this issue I think it might be worthwhile to
make an exception and ignore the distutils freeze.
ctypes has _always_ catched exceptions raised in function calls.
On Windows ;-).
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
Stefan Krah stefan-use...@bytereef.org added the comment:
[Alexander]
if sys.getenv('PYTHONSEGVHANDLER'):
import segvhandler
segvhandler.enable()
+1
If this doesn't find support, I'd name sys.setsegfaultenabled()
sys.setsegvhandlerenabled() or sys.enable_segvhandler().
--
STINNER Victor victor.stin...@haypocalc.com added the comment:
Note: To avoid the signal-safe requirement, another solution is to use
sigsetjmp()+siglongjmp().
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8863
Tarek Ziadé ziade.ta...@gmail.com added the comment:
I have investigated the problem and it turns out virtualenv patches
distutils.sysconfig behavior by adding to the sys module a real_prefix
attribute that points to the global Python install and is used instead of
sys.prefix that points to
New submission from STINNER Victor victor.stin...@haypocalc.com:
If more than one file (stdin, stdout and stderr) are pipes, Popen.communicate()
uses threads calling _readerthread() on each pipe. But this method doesn't
close the pipes, whereas all other communicate implementations (select,
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +amaury.forgeotdarc, pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10763
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
I tested the patch version 11 on Windows: all tests pass. But #include
unistd.h should be skipped on Windows (Python/fault.c): I will add #ifdef
MS_WINDOWS.
--
___
Python tracker
STINNER Victor victor.stin...@haypocalc.com added the comment:
I tested the patch version 11 on Windows: all tests pass.
Oh, and I forgot to say that the Windows fault handler does catch the fault too
(Windows opens a popup with a question like Should the error be reported to
Microsoft?).
STINNER Victor victor.stin...@haypocalc.com added the comment:
Tested on FreeBSD 8: all tests pass (all of the 4 signals are supported) and
FreeBSD dumps a core file.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8863
Stefan Krah stefan-use...@bytereef.org added the comment:
STINNER Victor rep...@bugs.python.org wrote:
Note: To avoid the signal-safe requirement, another solution is to use
sigsetjmp()+siglongjmp().
FWIW, there is a caveat in the OpenBSD man page concerning the use of
siglongjmp():
STINNER Victor victor.stin...@haypocalc.com added the comment:
Tested on Ubuntu 10.04: all tests pass and apport intercepts the fault. Apport
ignores the faults because I am testing a Python executable compiled from SVN
(py3k). Apport logs (/var/log/apport.log):
---
apport (pid 18148) Thu Dec
Martin v. Löwis mar...@v.loewis.de added the comment:
IIUC, the issue is that people installing a 64-bit Python, and VS Express, and
then wonder why they can't build extension modules. I'm not so sure that there
is a bug in Python here - this setup is not supported (and that's really
R. David Murray rdmur...@bitdance.com added the comment:
Note that this is a regression relative to 2.6, where the same call returns ''
(which is different from what it returns on linux, where the result would be
'%f', or OSX, where the result would be 'f'). (Tests done on windows XP using
Senthil Kumaran orsent...@gmail.com added the comment:
Yes, I too agree that HTMLParser.unescape() should split-out malformed char-ref
just as other browsers do.
But, as unescape function has undocumented/unexposed for releases, I am not
sure making it exposed is a good idea. HTMLParser is
Thorsten Behrens sbehr...@gmx.li added the comment:
You are right, this is not a bug in Python. The diff provides a workaround for
a limitation in VC++ 2008 Express. This diff is a piece of user service.
An equally as workable workaround is for the user to copy VC\bin\vcvars64.bat
into
Éric Araujo mer...@netwok.org added the comment:
I believe the patch should add the used but non-standard image/svg+xml type to
the common_type dictionary, not invent a new x- type.
--
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
p3k_i9313.diff is just a workaround, not the correct fix. The problem is that
PyTokenizer_FindEncoding() doesn't get the filename.
I wrote tokenizer_encoding_filename.patch which add
PyTokenizer_FindEncodingFilename() and patch
STINNER Victor victor.stin...@haypocalc.com added the comment:
See also #9738 (Document the encoding of functions bytes arguments of the C
API) to check which encoding is expected :-p
--
___
Python tracker rep...@bugs.python.org
New submission from Michael Foord mich...@voidspace.org.uk:
sysconfig assumes there will be a makefile if the platform is posix, which
isn't always true. For example IronPython on Mac OS X with mono.
This leads to a traceback on startup with IronPython 2.7:
$ ipy27
Traceback (most recent call
R. David Murray rdmur...@bitdance.com added the comment:
Yes, adding the x- version would probably be pointless as most likely nobody
uses it.
Has anyone found any definitive info on where exactly in the approval process
image/svg+xml is?
I think we should probably just go ahead and put it
Sridhar Ratnakumar sridh...@activestate.com added the comment:
Sounds good, but this doesn't belong to the virtualenv bug tracker (virtualenv
does even support Python 3). Instead, it belongs to the virtualenv5 tracker:
http://code.google.com/p/virtualenv5/issues/detail?id=6
--
ipatrol ipatrol6...@yahoo.com added the comment:
Purity shmurity. The point of distutils is largely to present a unified and
simple interface. 'python setup.py install' should be all a user has to do on
any platform. Unless you can come up with a better idea, MSVC is really the
only big
Terry J. Reedy tjre...@udel.edu added the comment:
I obviously misunderstood the instruction about 'x-' and will remove that.
Should I leave the entry where it is or move as Éric suggested?
--
Added file: http://bugs.python.org/file20149/mimetypes.svg2.diff
Éric Araujo mer...@netwok.org added the comment:
I’m not sure; the common_types is actually for invalid but used types, like
image/jpg (the correct one is image/jpeg and is listed in types_map). The
status of IANA registration is unclear (thanks David for looking at that);
since common tools
R. David Murray rdmur...@bitdance.com added the comment:
No, I don't think it qualifies as a common_type.
But since this is technically a feature request we need Georg's approval for
the commit.
--
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
It is used in the tests, but I agree that it doesn't appear to be used in the
code. I've removed the misleading comment and marked the self.handlers
attribute as backward-compat-only in r87448, r87449, and r87450.
The sorting is based
R. David Murray rdmur...@bitdance.com added the comment:
Committed a slightly different patch in r87451, with tests. Although I do
consider this a bug fix, it hasn't apparently caused any problems in real life
and does represent a slight behavior change, so I'm not backporting it.
--
R. David Murray rdmur...@bitdance.com added the comment:
Got approval from Georg on IRC, so go ahead and commit it, Terry. Or assign it
to me if you'd rather I do it.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10730
Lukas Lueg lukas.l...@gmail.com added the comment:
Why not make the start-callback be able to return a boolean value to the
gcmodule that indicates if garbage collection should take place or not.
For example, any value returned from the callback that evaluates to False (like
null) will cause
Éric Araujo mer...@netwok.org added the comment:
I can’t reproduce the crash when building in the source dir (and tests pass
except for ctypes because its configure script refuses my directory path), and
I can’t build in a subdir*, so this bug looks fixed.
* Error messages:
gcc:
R. David Murray rdmur...@bitdance.com added the comment:
Reading the RFC again, I think you are right. The quoted vs unquoted sounds
like it refers to the *n vs the [*n]* forms, and the latter doesn't use quoted
strings but % encoding.
I'm attaching a patch that adds some tests and fixes
Terry J. Reedy tjre...@udel.edu added the comment:
r87460
--
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10730
___
R. David Murray rdmur...@bitdance.com added the comment:
I take it back. Previously quotes didn't get added if they weren't already
there. So my simpleminded fix may not be the best choice.
--
___
Python tracker rep...@bugs.python.org
New submission from Martin gzl...@googlemail.com:
The build changes in r87093 broke me, as my py3k branch is under a dir with a
space in the name, and the OutDir path needs escaping in the makefiles. Various
extra quoting seems to be sufficient, though inelegant.
--
components: Build,
Éric Araujo mer...@netwok.org added the comment:
Updated patch for optparse. Georg: Is this okay for 3.2?
Based on Steven’s decision for another patch that changed strings, these fixes
won’t be backported.
--
versions: -Python 2.7, Python 3.1
Added file:
Martin gzl...@googlemail.com added the comment:
Oh, and after building with this, I get:
$ svn st
? PC/python3dll.obj
So either that wants moving or svn:ignore needs updating.
--
___
Python tracker rep...@bugs.python.org
New submission from Éric Araujo mer...@netwok.org:
When you run xgettext other optparse.py, you get this warning:
“'msgid' format string with unnamed arguments cannot be properly localized: The
translator cannot reorder the arguments. Please consider using a format string
with named
Changes by Éric Araujo mer...@netwok.org:
--
dependencies: +use proper gettext plurals forms in argparse and optparse
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10766
___
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6280
___
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Committed in r87463 (3.2), r87464 (2.7) and r87465 (3.1).
--
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
versions: +Python 3.1
___
John Machin sjmac...@users.sourceforge.net added the comment:
Please re-open this. The binary/text mode problem still exists with Python 3.X
on Windows. Quite simply, there is no option available to the caller to open
the output file in binary mode, because the module is throwing str objects
Matthew Barnett pyt...@mrabarnett.plus.com added the comment:
issue2636-20101224.zip is a new version of the regex module.
Case-insensitive matching is now faster.
The matching functions and methods now accept a keyword argument to release the
GIL during matching to enable other Python
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
I would like to start reviewing this code, but dated zip files on a tracker
make a very inefficient VC setup. Would you consider exporting your
development history to some public VC system?
--
nosy: +belopolsky
STINNER Victor victor.stin...@haypocalc.com added the comment:
Georg rejected this patch in Python 3.2:
I did say I like the feature, but that was a) before beta 2
was released, now the next release is a release candidate, and b) this
thread showed that it is not at all obvious how the feature
Changes by Andy Bailey goosey...@gmail.com:
--
nosy: +GooseYArd
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5755
___
___
Python-bugs-list
On Thu, Dec 23, 2010 at 07:53:01PM +, R. David Murray wrote:
The sorting is based on a 'handler_order' attribute, by the way, and
presumably does control the order in which they are applied.
Yes. Exactly.
___
Python-bugs-list mailing list
Jeffrey C. Jacobs timeho...@users.sourceforge.net added the comment:
+1 on VC
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2636
___
___
New submission from Alexander Belopolsky belopol...@users.sourceforge.net:
Among other things, README says:
Each test should have a link to the bug report:
# http://python.org/sf/BUG#
but the only such link is found in crashers/infinite_loop_re.py and points to a
closed issue
Senthil Kumaran orsent...@gmail.com added the comment:
On Wed, Dec 22, 2010 at 12:20:24AM +, R. David Murray wrote:
Presumably all that is needed is to add ';' to 'safe' in the call
that encodes PATH_INFO?
Well, that is what is required in order for the quote function call to
ignore it,
Senthil Kumaran orsent...@gmail.com added the comment:
A mistake with Content-Length in the previous commit resolved in revision 87469.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3243
Scott Rostrup scott.rost...@googlemail.com added the comment:
I just encountered this error in python 3.1.3 on cygwin 1.7.
I used the same fix as jbinder.
Old Modules/main.c (line 13):
#if defined(MS_WINDOWS) || defined(__CYGWIN__)
#include windows.h
#ifdef HAVE_FCNTL_H
#include
Senthil Kumaran orsent...@gmail.com added the comment:
Closing this as Invalid, because in the latest code, if the Host header is not
explicitly specified by the request, then it is added to unredirected headers
and if it explicitly specified by the request, then it is taken into account
when
On Sun, Dec 12, 2010 at 09:52:27PM +, Brett Cannon wrote:
At this point I'm willing to either hand maintenance of the files
over to someone else or to delete the files and shift what we point
people at.
I think, just pointing to the script at vim.org location is a good
idea. It is
R. David Murray rdmur...@bitdance.com added the comment:
Well, if the parameters aren't part of the path info, what are they part of?
They are passed as part of path info now, just incorrectly encoded. I haven't
found anything so far to make me think they belong anywhere else.
--
59 matches
Mail list logo