Barry A. Warsaw added the comment:
On Oct 10, 2012, at 04:13 PM, Éric Araujo wrote:
>This probably happens in 3.2 too, where the ABI suffixes were added. I think
>Barry edited the sysconfig module to let it find config-$suffixes but not
>distutils.sysconfig.
This sure smells famil
Barry A. Warsaw added the comment:
I cannot reproduce it with Python 3.3 hg head on my ARM buildbot. _curses
builds and imports just fine now.
--
___
Python tracker
<http://bugs.python.org/issue13
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue15872>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
On Mar 13, 2014, at 05:15 AM, Éric Araujo wrote:
>The source contains :meth:`self.gettext`, and Sphinx adds the parentheses
>when creating markup for a function, probably because it’s common to say
>things like “the len() function”. There is a Sphi
Barry A. Warsaw added the comment:
On Mar 20, 2014, at 08:29 AM, STINNER Victor wrote:
>from quopri import decodestring as _qdecode
>from email.encoders import _bencode, _qencode
AFAICT, _qdecode is only used in email/messages.py, so perhaps it's better to
import it there and rem
Barry A. Warsaw added the comment:
On Mar 20, 2014, at 01:32 PM, R. David Murray wrote:
>Well, one reason is I was afraid mailman might be using them. So if you are
>cool with it, that removes that objection.
Nope, neither the 2.1 or 3.0 code uses those methods AFAICT.
>The other r
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue20895>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
The `python3` binary package is a sort of meta package that brings in the
interpreter (and some ancillary stuff) for all supported Python 3 versions.
For Ubuntu 14.04 that will be just python3.4. But if you want to build the
interpreter from source (e.g
Barry A. Warsaw added the comment:
On Apr 14, 2014, at 05:47 PM, R. David Murray wrote:
>OK, so the devguide currently has
>
> sudo apt-get build-dep python3
>
>which did something on Glenn's machine, but did not enable him to build the
>optional packages. So the ques
Barry A. Warsaw added the comment:
On Apr 16, 2014, at 10:12 PM, Matthias Klose wrote:
>
>distutils/sysconfig still parses the Makefile and config header; it should
>use the same approach now as the toplevel sysconfig module.
Why do we still have two sysconfig modules?
--
nos
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue7776>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
Agreed! I'll update the PEP. Thanks.
--
assignee: -> barry
___
Python tracker
<http://bugs.python.org/issue21540>
___
Changes by Barry A. Warsaw :
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue21540>
___
___
Python-bugs-list
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue21539>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
I've just been writing some new code to use pathlib and ran into this one
myself. An exist_ok=False is fine, although it's a slight shame that for
backward compatibility we can't adopt os.makedirs() si
Barry A. Warsaw added the comment:
On May 27, 2014, at 08:48 PM, Antoine Pitrou wrote:
>What do you mean by that? The os.makedirs() signature is
>os.makedirs(name, mode=0o777, exist_ok=False)
Right, but this is Path.mkdir's signature:
Path.mkdir(mode=0o777, parents=False)
so it
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue21643>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
The os.chmod() will fail if path is a symlink. At the very least it must be
guarded by a `not os.path.islink()` call like above it. I'll add this check to
3.4 and 3.5.
--
nosy: +barry
___
Python tracker
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue21736>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
I'm -0 on this patch. I can understand that in some sense, frozen modules do
semantically have an associated file, but OTOH, once they're frozen the
connection to their file is broken. Also, I think anything that assumes
__file__ exists is sim
Barry A. Warsaw added the comment:
PBP might be reasonably used to justify it for the frozen case. I just don't
want to use that as a wedge to define __file__ in *all* cases, even when no
reasonable file name exists.
--
___
Python tracker
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue16389>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
On Nov 18, 2012, at 05:16 PM, Antoine Pitrou wrote:
>Antoine Pitrou added the comment:
>
>+1 from me. "-I" and "isolated" sound fine to me.
I haven't reviewed the patch yet, but based on the email discussions, I'm al
New submission from Barry A. Warsaw:
When sys.path[0] is None, attempting to import a module produces a cryptic
chained traceback. This is a regression from 3.2 where the import would
succeed.
The basic issue is that in 3.2's import.c, non-string/bytes items on sys.path
are essent
Barry A. Warsaw added the comment:
Patch for 3.3, omitting the requisite importlib.h change.
--
keywords: +patch
Added file: http://bugs.python.org/file28051/16514.diff
___
Python tracker
<http://bugs.python.org/issue16
Barry A. Warsaw added the comment:
Oh, the patch includes the removal of some unused imports from test_path.py,
thanks to pyflakes.
--
___
Python tracker
<http://bugs.python.org/issue16
Changes by Barry A. Warsaw :
--
nosy: +brett.cannon, eric.smith, eric.snow, jason.coombs
___
Python tracker
<http://bugs.python.org/issue16514>
___
___
Python-bug
Barry A. Warsaw added the comment:
Oh, btw, I intend to add documentation that makes explicit:
* sys.path entries must be strings or bytes, everything else is ignored
* path importers should expect strings or bytes
* the encoding of bytes is left to the individual path hooks to define, however
Barry A. Warsaw added the comment:
On Nov 20, 2012, at 04:51 PM, Eric V. Smith wrote:
>I agree it's a bug. And the fix looks good to me.
Thanks.
>Having said that: I haven't looked at the import.c version to verify what is
>happening. Does the test pass under 3.2?
Yep. S
Changes by Barry A. Warsaw :
--
title: Cryptic traceback when sys.path -> Cryptic traceback when sys.path[0] is
None
___
Python tracker
<http://bugs.python.org/issu
Changes by Barry A. Warsaw :
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue16514>
___
___
Python-bugs-list
Barry A. Warsaw added the comment:
On Nov 29, 2012, at 12:56 AM, Chris Jerdonek wrote:
>
>Currently, PEP 1 says, "In general, Standards track PEPs are no longer
>modified after they have reached the Final state."
I agree w/mvl. This is still true, and it doesn't mea
Barry A. Warsaw added the comment:
On Nov 29, 2012, at 12:16 PM, Martin v. Löwis wrote:
>1. I think that the PEP author has the final say as to what specific text
>goes into the PEP. Contributors shouldn't modify other people's PEP without
>consent from the author(s).
>
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue14803>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Barry A. Warsaw :
--
nosy: +anthony_baxter
___
Python tracker
<http://bugs.python.org/issue16581>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
On Nov 30, 2012, at 02:00 AM, Chris Jerdonek wrote:
>In particular, PEP 1 should say whether editorship is an invitation-only
>status and/or how one becomes a PEP editor. It would also be good if it said
>(for transparency) how to go about seeing th
Barry A. Warsaw added the comment:
On Nov 30, 2012, at 07:55 PM, Chris Jerdonek wrote:
>Thanks for providing the info. To clarify, is membership in peps@ restricted
>to editors?
Yes. It may not be a perfect overlap, but that's the best we have, and should
be the i
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue16612>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue16480>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Barry Alan Scott:
bundlebuild in pytthon 2.7 fails to create usable applications.
After examining the code there are a number of coding errors:
1. optimize will puts the -O in the wrong place in the argv
2. Modules.zip is never added to the path
The bunderbuilder in 2.6
Barry Alan Scott added the comment:
I'm using the pysvn workbench sources to find the problem.
Test cases for Mac Apps are not that simple. You need a GUI
framework for starters.
But I'm happy to test any candidate fix using workbench.
As I said a code inspection of the changes sinc
Barry Alan Scott added the comment:
Why not use IDLE? Workbench is a lot of code and dependencies.
I expect that it works because idle.app was created using the --no-zipimport
option that is new in 2.7.
However with zip import the code is badly broken.
Build IDLE.app with zip import and you
Barry A. Warsaw added the comment:
On Jan 02, 2013, at 04:06 PM, Meador Inge wrote:
>I am a little unsure about (3) since I am not sure why the __file__ attribute
>is being removed to begin with. eric.smith?
This is related to PEP 420, which relaxes the requirement that all modules
Barry A. Warsaw added the comment:
On Jan 02, 2013, at 04:29 PM, Eric V. Smith wrote:
>I haven't had time to check yet: but why does site.py need the __file__
>attribute? Maybe that's the actual problem.
It uses it to find the license text when you type license() at the intera
Barry A. Warsaw added the comment:
Note that this change is causing problems with genshi due to API backward
incompatibility. This is reported here:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1097783
The reason the user found it in Ubuntu first is that we track hg tip, but I
Barry A. Warsaw added the comment:
Nosied Benjamin since this is a release issue. Re-opened, assigned to him, and
release blocked for 2.7.4.
--
assignee: -> benjamin.peterson
nosy: +georg.brandl, larry
priority: normal -> release blocker
status: closed -
Changes by Barry A. Warsaw :
--
nosy: +benjamin.peterson
___
Python tracker
<http://bugs.python.org/issue10182>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Barry A. Warsaw:
In this distribute bug I describe a problem when pip installing mimeparse,
which has a setup.py with a BOM. distribute uses execfile() which gets fixed
in Python 3 to use a combination of compile(open()) as the fixer.
https://bitbucket.org/tarek
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue3585>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
See PEP 292 and the section titled "Why `$' and Braces?"
http://www.python.org/dev/peps/pep-0292/
--
___
Python tracker
<http://bugs.pyt
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue17098>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue17099>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue15767>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
For me, it mostly comes down to whether end-users are expected to see such
errors generally or not. We see ImportErrors all the time, and they are
clearly errors. If we're expected to see and deal with MNF, and if in such
cases it's generally con
Barry A. Warsaw added the comment:
On Feb 11, 2013, at 05:31 PM, Brett Cannon wrote:
>Right, so what's typical? =) I mean do most people see ImportError for
>optional modules (e.g. not on support platforms), or do most people see
>ImportError because they messed up and tried to im
Changes by Barry A. Warsaw :
--
versions: -Python 2.6
___
Python tracker
<http://bugs.python.org/issue16043>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
Any more thoughts on this bug w.r.t. 2.6.9? It seems that without a patch for
any version of Python, and with 2.6.9 coming soon, a fix for this just won't
make it into 2.6.9.
That doesn't bother me too much, and I'm willing to just kno
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue19025>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
Patch looks great, thanks Andrew. All tests pass. Feel free to commit to the
2.6 branch along with a NEWS file entry.
--
___
Python tracker
<http://bugs.python.org/issue16
Barry A. Warsaw added the comment:
On Sep 15, 2013, at 04:47 PM, Serhiy Storchaka wrote:
>It is not important in the context of this issue, but readline(0) is blocked
>and returns 1-character string. Move the length check above
>self.sslobj.read(1). For readability you can also mov
Barry A. Warsaw added the comment:
I'm removing 2.6 from the Versions field since AFAIK we've resolved this issue
for 2.6. This way it'll be easier to scan the blockers for 2.6.9.
If anyone things we still have things to address for this issue in 2.6.9,
please reassign
Barry A. Warsaw added the comment:
On Sep 15, 2013, at 06:05 PM, R. David Murray wrote:
>For the security fix, the check should only be done if the file is the the
>default .netrc. (Which would also make your error message
>correct...otherwise it is not :) Also, it would make more
Changes by Barry A. Warsaw :
--
nosy: +benjamin.peterson, georg.brandl, larry
priority: high -> release blocker
___
Python tracker
<http://bugs.python.org/issu
Barry A. Warsaw added the comment:
On Sep 15, 2013, at 05:34 PM, Serhiy Storchaka wrote:
>Oh, right. The correct code should be as I proposed in msg173413 or... as
>Andrew has committed. Good.
Excellent. So we're good for this in 2
Barry A. Warsaw added the comment:
On Sep 15, 2013, at 06:51 PM, R. David Murray wrote:
>I could write a 2.6 test for the permissions part, but not for the incorrect
>owner part. Do you want one without the other?
Yeah, I guess you can't mock os or stat in 2.6. ;)
Let's tes
Barry A. Warsaw added the comment:
After further contemplation and without objection from __ap__ and Crys on IRC,
I am de-targeting this for 2.6. I won't apply it for 2.6.9.
--
versions: -Python 2.6
___
Python tracker
<http://bugs.py
Barry A. Warsaw added the comment:
FWIW, the Ubuntu manpage netrc(5) says:
password string
Supply a password. If this token is present, the auto-login
process will supply the specified string if the remote server
requires a password as part of
Barry A. Warsaw added the comment:
==
FAIL: test_retrlines_too_long (__main__.TestFTPClass)
--
Traceback (most recent call last):
File "Lib
Barry A. Warsaw added the comment:
@RDM: In netrc.rst, s/posix/POSIX/
It also looks like you're keeping the ownership test. Did I misunderstand
msg197815? I thought you were only going to keep the permission test?
--
___
Python tracker
Barry A. Warsaw added the comment:
@RDM: Please commit to 2.6 and null merge to 2.7. Thanks!
--
___
Python tracker
<http://bugs.python.org/issue14984>
___
___
Barry A. Warsaw added the comment:
On Sep 16, 2013, at 03:12 PM, R. David Murray wrote:
>Well, I was planning to merge it, since 2.7 needs the fix as well.
Oh yeah, that's fine of course. And thanks!
--
___
Python tracker
<http://bugs
Barry A. Warsaw added the comment:
Yep, confirmed that ftplib.patch causes test_ftplib to fail, at least on Ubuntu
10.04 chroot.
--
___
Python tracker
<http://bugs.python.org/issue16
Barry A. Warsaw added the comment:
Succeeds on OS X 10.8 (although there are other failures)
--
___
Python tracker
<http://bugs.python.org/issue16038>
___
___
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue19043>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
Okay, this one is quite odd. It's definitely a timing issue.
If I put a `import time; time.sleep(1)` at the beginning of
test_retrlines_too_line() -- i.e. first line of the method -- then the test
reliably passes. If I put a `print(len(line))` just b
Barry A. Warsaw added the comment:
Looks good for 2.6. The NEWS file hunk doesn't apply, but I'll fix that when I
commit this to 2.6.
--
___
Python tracker
<http://bugs.python.o
Barry A. Warsaw added the comment:
Since the merge 2.6 -> 2.7 did not apply cleanly, and had other problems. I
null merged the 2.6 changes. I'll leave it to Benjamin to work out whatever
patches 2.7 needs.
--
versions: -Python 2.6
__
Barry A. Warsaw added the comment:
Please don't add 2.6 back to the Versions, unless there's actually something to
do for 2.6. AFAIK, this issue is resolved for 2.6.
--
versions: -Python 2.6
___
Python tracker
<http://bugs.python.o
Barry A. Warsaw added the comment:
On Sep 23, 2013, at 03:36 PM, Serhiy Storchaka wrote:
>What about time.sleep(0.1)?
I usually don't like introducing sleeps to fix race conditions, but if that's
the only option for landing this patch, maybe we'll have to hold o
Barry A. Warsaw added the comment:
On Sep 23, 2013, at 06:33 PM, Giampaolo Rodola' wrote:
>Barry can you paste the traceback caused by the race condition? What's not
>clear to me is when (what line) it occurs. One solution might be to send a
>"NOOP" command (se
Barry A. Warsaw added the comment:
On Sep 24, 2013, at 01:12 PM, Giampaolo Rodola' wrote:
>Giampaolo Rodola' added the comment:
>
>I believe the problem is the set of next_retr_data attribute here:
>
>def test_retrlines_too_long(self):
>self.server
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue19084>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
On Sep 24, 2013, at 09:59 PM, Serhiy Storchaka wrote:
>Added file: http://bugs.python.org/file31862/ftplib_maxline.patch
This looks great and fixes the test failure problem. Thanks! Serhiy, please
feel free to apply this to the 2.6 branch, or let me know
Changes by Barry A. Warsaw :
--
versions: -Python 2.6
___
Python tracker
<http://bugs.python.org/issue16038>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue19092>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
As we discussed in other issues regarding the similar problem, I don't really
want to introduce a new exception in a point release of 2.6. Is there any
reason not to just raise HTTPException with the error message text? Code that
has to work a
Barry A. Warsaw added the comment:
I'm just going to go ahead and commit this patch to 2.6 with the change I
mentioned. Does anything else need to be done for 2.6?
--
___
Python tracker
<http://bugs.python.org/is
Barry A. Warsaw added the comment:
Thanks!
--
versions: -Python 2.6
___
Python tracker
<http://bugs.python.org/issue16037>
___
___
Python-bugs-list mailin
Barry A. Warsaw added the comment:
Looks good, although only the POP3 exception is actually tested. The POP3_SSL
exception isn't tested. Any chance you could add a test for that (obviously,
only if `import ssl` succeeds)?
--
___
Python tr
Changes by Barry A. Warsaw :
--
versions: -Python 2.6
___
Python tracker
<http://bugs.python.org/issue16041>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
On Sep 30, 2013, at 08:41 PM, Arfrever Frehtes Taifersar Arahesis wrote:
>
>Arfrever Frehtes Taifersar Arahesis added the comment:
>
>> New changeset 7214e3324a45 by Barry Warsaw in branch '2.6':
>> - Issue #16041: CVE-2013-1
Barry A. Warsaw added the comment:
Looks great, thanks! I'll apply this to 2.6.9 but let others forward port it
to 2.7.
--
___
Python tracker
<http://bugs.python.org/is
Barry A. Warsaw added the comment:
On Sep 30, 2013, at 09:43 PM, Jyrki Pulliainen wrote:
>I also wonder if there should be data error risen instead? Current docstrings
>of the errors are not that well fit.
I guess a data error makes the least nonsense here, so I'll change it over to
Changes by Barry A. Warsaw :
--
versions: -Python 2.7
___
Python tracker
<http://bugs.python.org/issue16040>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Barry A. Warsaw :
--
versions: -Python 2.6
___
Python tracker
<http://bugs.python.org/issue16040>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
On Oct 01, 2013, at 01:44 PM, Arfrever Frehtes Taifersar Arahesis wrote:
>s/lenght/length/ in new comment in Lib/nntplib.py
Fixed, thanks.
--
___
Python tracker
<http://bugs.python.org/issu
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue19205>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue19209>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue9548>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue19216>
___
___
Python-bugs-list mailing list
Unsubscribe:
2001 - 2100 of 2726 matches
Mail list logo