Alex Leon ael...@gmail.com added the comment:
It could have a 2 phase regex match. We match the first one, and if it fails,
match the second and produce a warning.
I think producing a warning is a good idea, as it allows the programmer to know
that the implementation of basic auth they are
shevegen sheve...@linuxmail.org added the comment:
I think a warning would be quite nice to have.
--
nosy: +shevegen
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12541
___
Changes by Stefan Krah stefan-use...@bytereef.org:
--
nosy: +skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10744
___
___
Python-bugs-list
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
It works as expected for me:
vinay@eta-jaunty:~/projects/python/2.7$ python2.7
Python 2.7.2+ (2.7:7d5a37ce42d5, Aug 10 2011, 09:20:30)
[GCC 4.3.3] on linux2
Type help, copyright, credits or license for more information.
import
New submission from Hynek Schlawack h...@ox.cx:
While working on #12715 I noticed that the tests of shutil aren't exactly
consistent concerning reading and writing files.
There were no less than two function to read files (one of them not being used
at all) and two methods to write them.
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk:
--
hgrepos: +58
resolution: - accepted
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12687
___
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk:
--
keywords: +patch
Added file: http://bugs.python.org/file22872/6394321ef4ec.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12687
___
Александр alexandr.s@gmail.com added the comment:
Install rpdb2 or winpdb for you python. And install django to you python path.
Create empty djnago-project:
django-admin createproject bbbtest
Add line LOGGING_CONFIG = 'logging.config.dictConfig' to setting.py for use
python
Changes by Stefan Krah stefan-use...@bytereef.org:
Added file: http://bugs.python.org/file22873/78fb1181787a.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10181
___
Stefan Krah stefan-use...@bytereef.org added the comment:
I thought it might be productive to switch to documentation/test driven
development for PEP-3118 in general. So I updated the documentation,
trying to spell out the responsibilities of both exporter and consumer
as clearly as possible.
Stefan Krah stefan-use...@bytereef.org added the comment:
This should be fixed with the ManagedBuffer implementation from #10181.
--
dependencies: +Problems with Py_buffer management in memoryobject.c (and
elsewhere?)
nosy: +skrah
___
Python tracker
Stefan Krah stefan-use...@bytereef.org added the comment:
The crash is fixed in the features/pep-3118 repo:
from numpy import array
y=array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11])
y.shape = 3,4
view=memoryview(y)
view2 = view[0]
Traceback (most recent call last):
File stdin,
Stefan Krah stefan-use...@bytereef.org added the comment:
This should be fixed in features/pep-3118.
--
dependencies: +Problems with Py_buffer management in memoryobject.c (and
elsewhere?)
nosy: +skrah
___
Python tracker rep...@bugs.python.org
Changes by Stefan Krah stefan-use...@bytereef.org:
--
nosy: +skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10746
___
___
Python-bugs-list
New submission from Senthil Kumaran sent...@uthcode.com:
http://mail.python.org/pipermail/docs/2011-August/005336.html
I see that it is a problem with viewvc software which is not handling
unicode text in HTML markup properly. Probably we can reference the
text version of that module till the
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 9f482b957d77 by Senthil Kumaran in branch '2.7':
Fix closes Issue12722 - link heapq source in the text format in the
documentation.
http://hg.python.org/cpython/rev/9f482b957d77
--
nosy: +python-dev
Gennadiy Zlobin gennad.zlo...@gmail.com added the comment:
This patch should fix the issue
--
nosy: +gennad
Added file: http://bugs.python.org/file22874/1492704.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1492704
R. David Murray rdmur...@bitdance.com added the comment:
optionals only means the same thing as options only, but 'optionals' is
what argparse calls them (as contrasted with positionals).
'optionals' is only used two places in the doc and isn't defined, but its
meaning is implied by the
R. David Murray rdmur...@bitdance.com added the comment:
Vinay: you want to mark importer as a static method anyway, otherwise it won't
work with pypy. I don't know why this would show up on CPython, though.
--
nosy: +r.david.murray
___
Python
Meador Inge mead...@gmail.com added the comment:
I have verified that the code checked in for issue12575 keep the test case from
this issue from crashing the interpreter:
[meadori@motherbrain cpython]$ ./python test.py
Traceback (most recent call last):
File test.py, line 14, in module
New submission from Matthew Hemke mghe...@gmail.com:
tkSimpleDialog.askstring allows empty input. The attached patch adds validation
to the input to ensure it is not empty.
--
components: Tkinter
files: askstring.patch
keywords: patch
messages: 141868
nosy: rabbidous
priority: normal
Changes by Matthew Hemke mghe...@gmail.com:
--
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12723
___
___
Python-bugs-list
Benjamin Peterson benja...@python.org added the comment:
2011/8/10 Meador Inge rep...@bugs.python.org:
Meador Inge mead...@gmail.com added the comment:
I have verified that the code checked in for issue12575 keep the test case
from this issue from crashing the interpreter:
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
@Александр: It still works for me without winpdb/rpdb2, so you should probably
report this there. Can you confirm that it works as expected when you do
python manage.py help?
vinay@eta-natty:/tmp$ virtualenv -p python2.7 bbbenv
Running
deadshort cploo...@gmail.com added the comment:
Since this is still dribbling along I'll point out intobject.c:int_pow() and:
prev = ix; /* Save value for overflow check */
if (iw 1) {
ix = ix*temp;
if (temp == 0)
break; /*
Alexis Metaireau ale...@notmyidea.org added the comment:
I see two different things here:
1) the fact that getlocale() doesn't return (None, None) on some python
versions
2) the fact that having it returning (None, None) by default is a bit
misleading as users may think that getlocale() is
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
BTW I just tested on PyPy. The following program:
import logging.config
import sys
d = {
'version': 1,
'disable_existing_loggers': False,
'handlers': {
'console': {
'level': 'DEBUG',
'class':
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk:
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12718
___
___
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk:
Added file: http://bugs.python.org/file22876/fac0421cb7b2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12687
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
@alanjds: Why do you add Python 2.7 version to this issue?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9528
___
Brett Cannon br...@python.org added the comment:
@Victor it doesn't really matter why since it is an incorrect classification.
This issue in no way involves Python 2.7 since we will not backport any modules
to Python 2.7.
--
versions: +Python 3.3 -Python 2.7, Python 3.2
Hynek Schlawack h...@ox.cx added the comment:
JFTR, my implementation is ready, but I can't/don't want to start writing
tests, as long as #12721 is open.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12715
Alan Justino alan.just...@yahoo.com.br added the comment:
@haypo: Because it affects version 2.7 too.
@Victor: Even since we will not backport any modules to Python 2.7, is not
worth to sign that this affects it too? Even wontfix or rejected, it affects,
does not?
Have I made something
Alan Justino alan.just...@yahoo.com.br added the comment:
(noticed a typo at the start of my last msg: @Victor should be @brett.cannon)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9528
Александр alexandr.s@gmail.com added the comment:
As I understand, you created importer as a class attribute, so we can
opportunity set import function to importer when inheritance new class from
BaseConfigurator(# We might want to use a different one, e.g. importlib)? As
example importer
Marc-Andre Lemburg m...@egenix.com added the comment:
Alan Justino wrote:
I am getting a hard time trying to do some BDD with c-based datetime because
I cannot mock it easily to force datetime.datetime.now() to return a desired
value, making almost impossible to test time-based code, like
Changes by Matt M numbernine.pyt...@complexnumber.net:
--
nosy: +numbernine
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8713
___
___
Changes by Andreas Stührk andy-pyt...@hammerhartes.de:
--
nosy: +Trundle
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10588
___
___
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
Okay, the problem occurs because builtin functions and Python functions are
handled differently. This is how you need to set a Python importer:
vinay@eta-natty:~$ python
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:05:24)
[GCC 4.5.2] on
Meador Inge mead...@gmail.com added the comment:
OK, I am marking this as fixed then. If someone decides to fix this in 3.2 or
3.7, then they can reopen the issue.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
Changes by Meador Inge mead...@gmail.com:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4841
___
___
Benjamin Peterson benja...@python.org added the comment:
The reason for this is that file_module tries to detect the encoding of the
file to set the encoding for the opened file. IMO, it should just return a file
in binary mode.
--
nosy: +benjamin.peterson, haypo
Changes by Meador Inge mead...@gmail.com:
--
nosy: +meador.inge
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12613
___
___
Python-bugs-list
Antoine Pitrou pit...@free.fr added the comment:
First, the patch calls PyOS_strtol while a Py_ssize_t should be decodable.
However, the dump phase (in memo_put) coerces the memo size to long as well, so
this shouldn't be a problem in real life.
Second, the patch needs a test.
Also, please
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
I can add a test, using the data attached to the ticket, but like the marshal
case we discussed before, it might be several KB of data, which I would
incorporate into the tests using a similar approach to the one I used for
marshal. (This
New submission from Brian Curtin br...@python.org:
Would anyone be opposed to adding the following simple macro, which would be
the same as the one we have for Py_RETURN_NONE. I recently found myself doing
the Py_INCREF/return dance several times and ended up leaving an incref out in
a few
R. David Murray rdmur...@bitdance.com added the comment:
But what if the empty string is valid input? This change would be backward
incompatible.
I think this should instead be a feature request for exposing _QueryDialog so
that you can subclass it and provide your own getresult function.
Benjamin Peterson benja...@python.org added the comment:
+1
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12724
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 9fc7ef60ea06 by Senthil Kumaran in branch '3.2':
Fix closes Issue10087 - fixing the output of calendar display in the html
format. Patch by Chris Lambacher. Test Contributed by catherine.
R. David Murray rdmur...@bitdance.com added the comment:
Yes a new issue would be more appropriate.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6203
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 77a65b078852 by Brian Curtin in branch 'default':
Add Py_RETURN_NOTIMPLEMENTED macro. Fixes #12724.
http://hg.python.org/cpython/rev/77a65b078852
New changeset d0b0fcbb40db by Brian Curtin in branch 'default':
Changes by Brian Curtin br...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12724
___
New submission from Cris Simpson cri...@gmail.com:
In http://docs.python.org/library/socket.html, the description for
socket.setdefaulttimeout(timeout) reads:
Set the default timeout in *floating seconds* for new socket objects.
[occurs two other times on that page]
floating seconds is a
Meador Inge mead...@gmail.com added the comment:
I see two problems that cause the posted test cases to fail:
1. The 'next' fixer runs before the 'itertools' fixer and strips
out a 'power' node. This keeps the 'itertools' fixer from
matching.
2. The 'itertools' fixer does not
54 matches
Mail list logo