Changes by Paweł Widera mo...@man.poznan.pl:
--
nosy: +momat
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue670664
___
___
Python-bugs-list mailing
Hagen Fürstenau hfuerste...@gmx.net added the comment:
The latest patch is missing the file Lib/_compat.pickle.py. (Seems as
if you forgot to svn add it after patching.)
--
nosy: +hagen
___
Python tracker rep...@bugs.python.org
Paweł Widera mo...@man.poznan.pl added the comment:
A simple workaround for the BeautifulSoup is the following wrapper. It
sanitize the javascript code before passing it to the parser by joining
the disjoint strings, so that /scr+ipt becomes /script.
def bs(input):
pattern =
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
Re point a) and opening files - why not use the delay parameter on
FileHandlers, which delays opening until a message is actually logged? I
can understand why one wouldn't want empty log files cluttering up the
place, but the same argument
Ronald Oussoren ronaldousso...@mac.com added the comment:
On 4 Jun, 2009, at 2:24, Brett Cannon wrote:
Ronald, can you look at the changes I proposed on Makefile.pre.in to
make sure LIBS from configure get used in the framework builds? If you
do then that change with the configure.in change
Changes by Ronald Oussoren ronaldousso...@mac.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5648
___
New submission from Paweł Widera mo...@man.poznan.pl:
Of course both are not correct HTML but are easy to guess, so I believe
the parser should not give up too quick here.
1) extra comma between attributes
form action=/xxx.php?a=1amp;b=2amp, method=post
2) missing closing quotation mark for
Georg Brandl ge...@python.org added the comment:
Applied in r73201, r73202.
--
nosy: +georg.brandl
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5767
Georg Brandl ge...@python.org added the comment:
Applied a patch to rename (and keep old aliases) in r73204.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3613
Georg Brandl ge...@python.org added the comment:
Thanks, committed as r73206.
--
nosy: +georg.brandl
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3684
Georg Brandl ge...@python.org added the comment:
Removed the last traces of bsddb in r73208.
--
nosy: +georg.brandl
resolution: accepted - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3791
Georg Brandl ge...@python.org added the comment:
Ping?
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3798
___
___
Changes by Georg Brandl ge...@python.org:
--
resolution: - duplicate
status: open - closed
superseder: - Major reworking of Python 2.5.2 re module
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue433028
Georg Brandl ge...@python.org added the comment:
2.6 has been released and out there some time, and there was no cry
about this, so I guess this can be ignored.
--
nosy: +georg.brandl
resolution: - wont fix
status: open - pending
___
Python tracker
Georg Brandl ge...@python.org added the comment:
Postponed to 3.2.
--
nosy: +georg.brandl
versions: +Python 3.2 -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4199
___
Georg Brandl ge...@python.org added the comment:
Documented in r73213.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5967
___
Georg Brandl ge...@python.org added the comment:
Thanks, fixed in r73215.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6176
___
Georg Brandl ge...@python.org added the comment:
Thanks, updated the docs in r73217.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6175
___
New submission from Kristján Valur Jónsson krist...@ccpgames.com:
It is useful to be able to disable the Nagle algoritm on socket
connections from the TCPServer. These are typically used by HTTP servers.
If combined with write buffering (setting RequestHangler.wbufsize = -1) it
can make
Changes by Kristján Valur Jónsson krist...@ccpgames.com:
--
components: +Library (Lib)
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6192
___
___
Marc-Andre Lemburg m...@egenix.com added the comment:
Here's a new version of the unicode reference type, extended
to run in both Python 2.6 and 3.1:
http://downloads.egenix.com/python/unicoderef-0.0.2.tar.gz
I've also included a benchmark implemented in C which measures
Unicode/Bytes
Marc-Andre Lemburg m...@egenix.com added the comment:
Guido van Rossum wrote:
Guido van Rossum gu...@python.org added the comment:
On Wed, Jun 3, 2009 at 1:41 PM, Antoine Pitrou rep...@bugs.python.org wrote:
Apart from the example Marc-André just posted (and which is a 0.0.1
proof of
Antoine Pitrou pit...@free.fr added the comment:
Since pymalloc is being used to manage such objects, there's
a lot of room for improvements, since the allocation scheme
is under out control. E.g. we could have pymalloc allocate
larger pools for PyUnicodeObjects.
I'm not sure what larger
Johannes Hoff johan...@johanneshoff.com added the comment:
I came across this bug while searching for autodetecting tabs/spaces.
Thanks for the help.
To address Georg's question, the patch should be modified to say
if search('^\t', 'n', 100)
instead of
if search('^\t')
The former will
Marc-Andre Lemburg m...@egenix.com added the comment:
Antoine Pitrou wrote:
Antoine Pitrou pit...@free.fr added the comment:
Since pymalloc is being used to manage such objects, there's
a lot of room for improvements, since the allocation scheme
is under out control. E.g. we could have
Jean-Paul Calderone exar...@divmod.com added the comment:
Any plans for a unit test for this change?
--
nosy: +exarkun
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3684
___
Antoine Pitrou pit...@free.fr added the comment:
Anything larger than 256 bytes goes straight to the OS malloc().
Under a 64-bit system, a plain dict is more than 256 bytes.
--
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
Looks ok to me.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6192
___
___
mARK python.mblo...@xoxy.net added the comment:
this looks like a good fix. i've put it into my own copy.
--
nosy: +mbloore
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4108
___
Jean Brouwers mrje...@gmail.com added the comment:
Well, with fresh build of Python 3.1rc1 on MacOS X 10.4.11 Tiger (Intel)
test_asynchat.py rev 73183 still seems to
fail, perhaps differently. Here is 3 different results. First, rev 73183:
% ./python.exe Lib/test/test_asynchat73183.py
Changes by Martin v. Löwis mar...@v.loewis.de:
Removed file: http://bugs.python.org/file14183/smime.p7s
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6154
___
Changes by Martin v. Löwis mar...@v.loewis.de:
Removed file: http://bugs.python.org/file14182/smime.p7s
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6154
___
Changes by Martin v. Löwis mar...@v.loewis.de:
Removed file: http://bugs.python.org/file14181/smime.p7s
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6154
___
Changes by Martin v. Löwis mar...@v.loewis.de:
Removed file: http://bugs.python.org/file14180/smime.p7s
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6154
___
R. David Murray rdmur...@bitdance.com added the comment:
I presume you mean a fresh build of 3.1rc1+ (from svn)? 3.1rc1 does
not contain the most recent fix.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5798
Josiah Carlson josiahcarl...@users.sourceforge.net added the comment:
I installed 3.1rc1 on my OS X (10.5.?) machine, updated asynchat, and ran
the test with and without my change. Without my change, it breaks in the
way described numerous times. With my change, it seems to work fine on OS
Brett Cannon br...@python.org added the comment:
Been thinking about it and as a compromise to people who view this as a
bug I am re-opening it but lowering the priority.
--
components: +Interpreter Core -Library (Lib)
priority: normal - low
resolution: wont fix -
stage:
Changes by Brett Cannon br...@python.org:
--
title: Python 3.1 rc1 will not build on OS X 10.5.7 with macports libintl
- Python 3.1 rc1 will not build on OS X 10.5.7 with macports libintl
___
Python tracker rep...@bugs.python.org
Changes by Brett Cannon br...@python.org:
--
components: +Library (Lib) -Interpreter Core
title: import deadlocks when using PyObjC threads - Function-level import in
os triggering an threaded import deadlock
___
Python tracker
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
r73230 and r73223
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6182
___
Georg Brandl ge...@python.org added the comment:
Good point. Added a test in r73232.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3684
___
___
New submission from Sridhar Ratnakumar sridh...@activestate.com:
On Windows, urllib fails to open local files:
python -c import urllib; urllib.urlopen(r'C:\test.txt').read()
Traceback (most recent call last):
File C:\HOME\as\pypm\bin\python-script.py, line 33, in module
exec _val
File
Sridhar Ratnakumar sridh...@activestate.com added the comment:
This also happens on 3.1 (urllib.urlrequest) .. and I believe must also
happen on 2.7 and 3.0.
--
components: +Windows
versions: +Python 2.7, Python 3.0, Python 3.1
___
Python tracker
Georg Brandl ge...@python.org added the comment:
You should use file:// to open local files with urllib.
--
nosy: +georg.brandl
resolution: - wont fix
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6193
Sridhar Ratnakumar sridh...@activestate.com added the comment:
Relevant discussion:
http://osdir.com/ml/python.py2exe/2008-03/msg00013.html
[quote]'The only thing I could think of was editing urllib.py and
changing the splittype method (...)'[endquote]
--
Sridhar Ratnakumar sridh...@activestate.com added the comment:
[Brandl] You should use file:// to open local files with urllib.
Hmm, that is strange. How come it works on Unix without file://?
--
___
Python tracker rep...@bugs.python.org
Georg Brandl ge...@python.org added the comment:
I do not think HTMLParser should guess. Guessing always opens the door
to misinterpretation.
--
nosy: +georg.brandl
resolution: - wont fix
status: open - closed
___
Python tracker
R. David Murray rdmur...@bitdance.com added the comment:
Because in unix the filename starts with a '/', while in windows your
filename started with a 'C:'. That looks like the urltype portion of a
url, and it isn't a valid one, so urllib correctly rejects it.
--
nosy: +r.david.murray
Alexandre Vassalotti alexan...@peadrop.com added the comment:
Oops. Here is a new patch with _compat_pickle.py.
--
Added file: http://bugs.python.org/file14186/compat_pickle7.diff
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
Committed in r73236 in the hope that it gets a bit more testing before
rc2/final.
--
assignee: alexandre.vassalotti -
resolution: - fixed
stage: patch review - committed/rejected
status: open - pending
Paweł Widera mo...@man.poznan.pl added the comment:
It depends whether you want a HTMLParser to be an useful tool that can
deal with real world HTML or just a toy without practical meaning.
Crashing on every little deviation from the standard, where more relaxed
approach is possible, doesn't
New submission from R. David Murray rdmur...@bitdance.com:
At the bottom of http://docs.python.org/library/fcntl.html there is a
see also section for the os module that says:
If the locking flags O_SHLOCK and O_EXLOCK are present in the os
module, the os.open() function provides a more
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
The current check for *gettext/*textdomain* functions is not so correct.
It mix(!?!) checks for headers with check for functions.
GNU libc include them and on linux we will see in pyconfig.h (trunk):
---
/* #undef WITH_LIBINTL
Georg Brandl ge...@python.org added the comment:
Throwing an exception and giving up is just not good enough.
Yes it is, in some cases. There are forgiving HTML parsers out there,
HTMLParser does not strive to be one.
There are *so many* cases where HTML is a bit malformed that it takes
more
New submission from Lisandro Dalcin dalc...@gmail.com:
When doctests are written in docstrings from C extension modules,
'doctest' reads the binary extension module file.
The attached one-line patch seems to fix the problem, it is in fact very
similar to patch for issue4050 related to
Sridhar Ratnakumar sridh...@activestate.com added the comment:
Here's a test data from PyPI:
http://pypi.python.org/packages/source/g/generator_tools/generator_tools-0.3.5.tar.gz
--
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
In doing web scraping I started using BeautifulSoup precisely because it
was very lenient in what html it accepted (I haven't written such an ap
for a while, so I'm not sure what BeautifulSoup currently does...I
thought I heard it was now
Sridhar Ratnakumar sridh...@activestate.com added the comment:
Considering this bug where tarfile fails to set g+s,
https://bugs.launchpad.net/pyopenssl/+bug/236190
a more general approach could be:
tarfile.extractall(safe_perms=True)
where if safe_perms is set, tarfile can 1) ignore
New submission from Sridhar Ratnakumar sridh...@activestate.com:
If a tarball has a-x perms set on its root directory, one cannot access
its contents.
$ tar zxf generator_tools-0.3.5.tar.gz.
$ ls generator_tools-0.3.5/
ls: cannot access generator_tools-0.3.5/README.txt: Permission denied
...
R. David Murray rdmur...@bitdance.com added the comment:
I don't see why the tarfile case should be different from the tar case.
You can always chmod it later in python, too (with os.walk and
os.chmod). Perhaps the real need is for a recursive chmod in shutil?
--
nosy: +r.david.murray
Georg Brandl ge...@python.org added the comment:
So BeautifulSoup is using HTMLParser? That is interesting, because they
claim to support broken HTML.
In any case, if a quirky mode is added, it should have to be turned on
explicitly by a flag.
--
resolution: wont fix -
Alexandre Vassalotti alexan...@peadrop.com added the comment:
Can you check if the patch in issue #5645 fix the bug?
--
nosy: +alexandre.vassalotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6127
Sridhar Ratnakumar sridh...@activestate.com added the comment:
[David] I don't see why the tarfile case should be different from the
tar case. (...)
As I explained, Viz:
[quote]'(...)the very reason to write a program to extract tarball
(instead of doing it manually) is to automate it .. which
Changes by R. David Murray rdmur...@bitdance.com:
--
assignee: - r.david.murray
nosy: +r.david.murray
priority: - high
stage: - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6195
R. David Murray rdmur...@bitdance.com added the comment:
Here's a test case which fails with the existing code and passes with
the patch applied.
However, with the patch applied some of the other doctest tests fail
with an off-by-one error in the source line number output. I'd like to
Jason R. Coombs jar...@jaraco.com added the comment:
Indeed, that patch works. I'm attaching the same patch applicable to
branches/release26-maint.
--
keywords: +patch
Added file: http://bugs.python.org/file14189/issue5645_release26-maint.patch
___
Jason R. Coombs jar...@jaraco.com added the comment:
Patch is also applicable to #6127.
--
nosy: +jaraco
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5645
___
New submission from James Abbatiello abb...@gmail.com:
regrtest.py test__locale fails with:
test__locale
test test__locale crashed -- type 'exceptions.ImportError': cannot
import name
RADIXCHAR
1 test failed:
test__locale
The attached patch backports the fix from issue5643
--
Jean Brouwers mrje...@gmail.com added the comment:
Correct. With new Lib/asyncore.py file rev 73183 all 23 tests in the
original test_asynchat.py pass in Python 3.1rc1 built from source on
MacOS X 10.4.11 Tiger (Intel).
% ./python.exe Lib/test/test_asynchat.py
test_close_when_done
Hagen Fürstenau hfuerste...@gmx.net added the comment:
I think it is worth noting that now some Python 3.1 protocol 2 pickles
can't be read by Python 3.0. We probably don't have to do anything about
that, but perhaps it should be mentioned somewhere? Docs, release notes?
--
status:
New submission from James Abbatiello abb...@gmail.com:
test_float fails on Windows with:
==
FAIL: test_format_testfile (test.test_float.IEEEFormatTestCase)
--
71 matches
Mail list logo