On Mon, 22 Oct 2012 07:22:18 +1100, Chris Angelico wrote:
On Mon, Oct 22, 2012 at 6:11 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
Ahh. I totally didn't see that, I'm way too used to reading past
typos.
As a programmer, doesn't that screw up your debugging ability?
On Mon, Oct 22, 2012 at 5:30 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
For languages without static types, what other reasons for declaring
variables are there?
The main one is scope nesting. Compare a few different languages.
Python: If you don't declare, it's global if
On 21 Oct 2012, at 15:14, Pradipto Banerjee
pradipto.baner...@adainvestments.com wrote:
I tried this on a different PC with 12 GB RAM. As expected, this time,
reading the data was no issue. I noticed that for large files, Python takes
up 2.5x size in memory compared to size on disk, for the
I am trying to compile an extension module with C++ Builder 6 for Python 3.3.
I converted python33.lib using coff2omf.exe and added this library
into my project.
I wonder why I get this error message while building:
[Linker Error] Unresolved external '_PyModule_Create2TraceRefs'
referenced from
In article 5084e819$0$29897$c3e8da3$54964...@news.astraweb.com,
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
On Mon, 22 Oct 2012 07:22:18 +1100, Chris Angelico wrote:
On Mon, Oct 22, 2012 at 6:11 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
Ahh. I
On Mon, 22 Oct 2012 13:51:35 +1100, Ben Finney wrote:
Walter Hurry walterhu...@lavabit.com writes:
It is Google bloody Groups which is the problem. I should have plonked
posts from there ages ago, and am about to remedy that omission.
What narrowly-defined, precise filter rule should be
Il giorno venerdì 21 settembre 2012 16:04:48 UTC+2, mikcec82 ha scritto:
Hallo to all,
I'm using Python 2.7.3 with Windows 7 @ 64 bit
and an Intel Core i3 -2350M CPU @2.30GHz 2.3GHz.
Sometimes, when I'm programming in Python on my screen compare this blue
screen:
On 10/21/2012 9:19 PM, Ian Foote wrote:
On 22/10/12 09:03, Emile van Sebille wrote:
So, as OP's a self confessed newbie asking about slicing, why provide an
example requiring knowledge of tee, enumerate, next and izip?
Because not only the newbie will read the thread? I for one was
On Fri, 19 Oct 2012 21:21:11 -0700 (PDT), ru...@yahoo.com declaimed the
following in gmane.comp.python.general:
[I posted the following in another thread yesterday...]
When you post from Google Groups you will sometimes
see a checkbox above the edit window that is a cc to
the python
On 2012-10-22, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
On Mon, 22 Oct 2012 02:02:27 +0200, Anatoli Hristov wrote:
Hello,
I need an advice about a small script I run 24/24 7/7.
It's a script converted to EXE using py2exe and this script takes -
grows 30kb RAM on each
On 2012-10-22, Walter Hurry walterhu...@lavabit.com wrote:
On Mon, 22 Oct 2012 13:51:35 +1100, Ben Finney wrote:
Walter Hurry walterhu...@lavabit.com writes:
It is Google bloody Groups which is the problem. I should have plonked
posts from there ages ago, and am about to remedy that
On Mon, 22 Oct 2012 14:21:36 +, Grant Edwards wrote:
On 2012-10-22, Walter Hurry walterhu...@lavabit.com wrote:
On Mon, 22 Oct 2012 13:51:35 +1100, Ben Finney wrote:
Walter Hurry walterhu...@lavabit.com writes:
It is Google bloody Groups which is the problem. I should have
plonked
On Mon, 22 Oct 2012 07:07:20 -0700 (PDT)
ru...@yahoo.com wrote:
Re the specific problem mentioned, I just paste the original
message into an emacs window, add the quote marks and paste back
into the GG compose window.
If you are on Firefox you should check out the It's All Text!
plugin. Not
On Mon, 22 Oct 2012 14:35:58 +, HoneyMonster wrote:
snip
Sorry about the moniker on the above. I used it by accident - it's one I
reserve for junk trapping.
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, 22 Oct 2012 14:21:36 + (UTC)
Grant Edwards invalid@invalid.invalid wrote:
Same here. Here's the rule I have in slrn's .score file:
Here is the procmail one that I use:
:0 Hir
* ^List-Id:.*python-list.python.org
* ^From:.*@gmail.com
* ^Newsgroups:
/dev/null
This still allows people
Back at it this morning. The RPC was due to needing to run it under
another account (or so I think now...). However, the RemoteRegistry service
is not just STOPPED but DISABLED.
I am trying to see if there is a call to actually set the state to MANUAL.
Then I can star the registry, grab what I
On 22/10/2012 15:51, Kevin Holleran wrote:
Back at it this morning. The RPC was due to needing to run it under
another account (or so I think now...). However, the RemoteRegistry
service is not just STOPPED but DISABLED.
I am trying to see if there is a call to actually set the state to
Thanks, I will look into that. WMI is enabled, but everything WMI query I
wrote ( I am NOT a WMI expert or even close) gave me a bunch of NIC
info, but not the info I am after in the registry (driver description,
driver date, driver version for the NICs).
Thanks for your help.
Kevin
On
--
http://mail.python.org/mailman/listinfo/python-list
[Please help spread the word by forwarding to other relevant mailing lists,
user groups, etc. world-wide; thanks]
ANNOUNCING
Central Python Events Calendars
maintained by the Python
On 10/21/2012 11:33 AM, Vincent Davis wrote:
I am looking for a good way to get every pair from a string. For example,
input:
x = 'apple'
output
'ap'
'pp'
'pl'
'le'
Maybe zip before izip for a noob?
s=apple
[a+b for a,b in zip(s, s[1:])]
['ap', 'pp', 'pl', 'le']
--
On 22/10/2012 17:01, nepaul wrote:
Try using a search engine for specific Python issues that you'd like to
read up on. If you can't find what you want please ask a specific
question, that way you're far more likely to get some answers.
--
Cheers.
Mark Lawrence.
--
ANNOUNCING
Central Python Events Calendars
Thanks, a great idea.
--
http://mail.python.org/mailman/listinfo/python-list
On 2012-10-22 11:55, Paul Volkov wrote:
I am trying to compile an extension module with C++ Builder 6 for Python 3.3.
I converted python33.lib using coff2omf.exe and added this library
into my project.
I wonder why I get this error message while building:
[Linker Error] Unresolved external
Hello rusi
This is a little bit faster:
s = apple
[s[i:i+2] for i in range(len(s)-1)]
timeit(s = apple
... [a+b for a,b in zip(s, s[1:])],number=1)
0.061038970947265625
timeit(s = apple
... [s[i:i+2] for i in range(len(s)-1)],number=1)
0.0467379093170166
Regards
From: rusi
On 22/10/2012 16:38, Kevin Holleran wrote:
Thanks, I will look into that. WMI is enabled, but everything WMI query I
wrote ( I am NOT a WMI expert or even close) gave me a bunch of NIC
info, but not the info I am after in the registry (driver description,
driver date, driver version for the
On Fri, Oct 19, 2012 at 4:11 PM, bbbenrothsch...@gmail.com wrote:
I am trying to create a button in Tkinter and then when it is pressed
delete it/have it disappear. Does anyone know the simplest script to do
that with. Thanks for your help.
Note that there is a _big_ difference between
Tim,
I am looking here:
SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{BF9F6FB0-C999-4D19-BED0-144F77E2A9D6}
Enumerating the keys for a BusType == 5, then grabbing the values of
DriverDesc, DriverDate, DriverVersion.
So I am doing this:
try:
hKey = _winreg.OpenKey
Roy Smith wrote:
Pet peeve of the day...
Why do you have to write:
global foo
foo = 4
when
global foo = 4
would have been so much easier?
To make it more annoying for people who use globals, duh. :)
Ramit Prasad
This email is confidential and subject to important disclaimers
The version of Python I have on my old Solaris boxes is old and
isn't supported and dosn't have all the modules that I need.I have
downloaded the new 3.3 version and have been trying to compile it and
have no luck:
After running the ./configure command I run make and it gives me the
On Oct 20, 6:24 pm, Nick Sabalausky
seewebsitetocontac...@semitwist.com wrote:
Hi, I'm fairly new to Python, and I'm trying to figure out how to use
SQLAlchemy to connect to a MySQL DB and use table reflection to set up
SQLAlchemy's tables. But the SQLAlchemy documentation is gigantic and
Walter Hurry walterhu...@lavabit.com writes:
On Mon, 22 Oct 2012 13:51:35 +1100, Ben Finney wrote:
Walter Hurry walterhu...@lavabit.com writes:
It is Google bloody Groups which is the problem. I should have
plonked posts from there ages ago, and am about to remedy that
omission.
On Mon, Oct 22, 2012 at 1:03 AM, Chris Angelico ros...@gmail.com wrote:
Python's system just works most of
the time, but can introduce yet another trap for the unsuspecting
newbie who doesn't understand the difference between rebinding and
mutating; I've not looked into multiple levels of
On 2012-10-22 22:31, Joe Davis wrote:
The version of Python I have on my old Solaris boxes is old and
isn't supported and dosn't have all the modules that I need.I have
downloaded the new 3.3 version and have been trying to compile it and
have no luck:
After running the ./configure
On 21/10/2012 12:24, Mark Lawrence wrote:
http://docs.python.org/dev/whatsnew/3.3.html states memoryview
comparisons now use the logical structure of the operands and compare
all array elements by value. So I'd have thought that you should be
able to compare them and hence sort them, but this
On Mon, Oct 22, 2012 at 4:58 PM, Mark Lawrence breamore...@yahoo.co.uk wrote:
http://docs.python.org/py3k/library/stdtypes.html#typememoryview only
gives examples of equality comparisons and there was nothing that I
could see in PEP3118 to explain the rationale behind the lack of other
Am 22.10.2012 23:31, schrieb Joe Davis:
The version of Python I have on my old Solaris boxes is old and
isn't supported and dosn't have all the modules that I need.I have
downloaded the new 3.3 version and have been trying to compile it and
have no luck:
After running the ./configure
I'm writing some code that does a structured read from formatted binary file.
The code I came up with looks like:
# get the first four bytes, the first gap field
chunk = byteStream.read(4)
while chunk:
# interpret the gap bytes
gap, = struct.unpack('I', chunk)
# suck off the
On 2012-10-23 01:43, Travis Griggs wrote:
I'm writing some code that does a structured read from formatted binary file.
The code I came up with looks like:
# get the first four bytes, the first gap field
chunk = byteStream.read(4)
while chunk:
# interpret the gap bytes
gap, =
On Oct 22, 9:19 pm, rusi rustompm...@gmail.com wrote:
On 10/21/2012 11:33 AM, Vincent Davis wrote:
I am looking for a good way to get every pair from a string. For example,
input:
x = 'apple'
output
'ap'
'pp'
'pl'
'le'
Maybe zip before izip for a noob?
s=apple
[a+b for a,b
Marc-Andre Lemburg added the comment:
On 21.10.2012 23:42, STINNER Victor wrote:
STINNER Victor added the comment:
It's interesting to note how this whole -R discussion made very long
threads on python-dev, and python-dev has subsequently ignored (for the
past 6 months!) the fact that
Ronald Oussoren added the comment:
The patch itself looks fine, but I wonder how useful it will be.
A small question about the patch, why this case in the cross_arch function:
+ x86_64*darwin*)
+ echo i386
That doesn't look correct.
Back to the more important issue of the
New submission from tb:
The csv.DictReader contains a setter method for the fieldnames
(@fieldnames.setter). However, the __init__ method does not make use of the
setter method as it sets _fieldnames directly. To allow users
correct/functional overriding of the fieldnames.setter method I
Changes by Piotr Dobrogost p...@bugs.python.dobrogost.net:
--
nosy: +piotr.dobrogost
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15633
___
___
Ronald Oussoren added the comment:
I've just tested this on OSX 10.8.2 and the problem is not present there (that
is, 'python -c import deadline ' does not hang)
The problem is present on OSX 10.6.8, and when using ksh(1) you can see why the
process is stopped:
[1] + Stopped(SIGTTOU)
Jesús Cea Avión added the comment:
I take care of this. Thanks for pointing it out.
--
assignee: docs@python - jcea
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16294
___
Changes by Jesús Cea Avión j...@jcea.es:
--
versions: +Python 3.4 -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16294
___
___
Roundup Robot added the comment:
New changeset 1a3f48c6ef16 by Jesus Cea in branch '2.7':
Closes #16294: 8 space indent in tutorial
http://hg.python.org/cpython/rev/1a3f48c6ef16
New changeset 2015db05d954 by Jesus Cea in branch '3.2':
Closes #16294: 8 space indent in tutorial
Ray Donnelly added the comment:
A small question about the patch, why this case in the cross_arch function:
From a real Mac Book Pro:
$ uname -a
Darwin MACBOOKPRO.local 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23
16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64
$
New submission from Eran Rundstein:
When calling HTTPResponse.read() on a response that is:
a. not chunked
b. contains no content-length header
the underlying socket (referenced by self.fp) will never get closed (through
self.close())
The offending code is at the bottom of the read() function:
Serhiy Storchaka added the comment:
As I see in pywin32 sources status.adapter_address is bytes in Python 3.
Here is a trivial patch.
--
keywords: +patch
Added file: http://bugs.python.org/file27658/uuid_netbios_getnode.patch
___
Python tracker
Serhiy Storchaka added the comment:
If the patch is good, why not commit it?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16053
___
___
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16290
___
___
Python-bugs-list mailing list
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16291
___
___
Python-bugs-list mailing list
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15484
___
___
Python-bugs-list mailing list
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15483
___
___
Python-bugs-list mailing list
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16292
___
___
Python-bugs-list mailing list
Kristján Valur Jónsson added the comment:
See this patch.
--
keywords: +patch
Added file: http://bugs.python.org/file27659/select.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16295
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16231
___
___
Python-bugs-list mailing list
Martin v. Löwis added the comment:
LGTM
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16295
___
___
Python-bugs-list mailing list
Unsubscribe:
Jesús Cea Avión added the comment:
Keeping the issue open until Trent can commit a new patch, according to
msg173256.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16274
___
Giampaolo Rodola' added the comment:
This should do it:
diff --git a/Lib/test/test_asyncore.py b/Lib/test/test_asyncore.py
--- a/Lib/test/test_asyncore.py
+++ b/Lib/test/test_asyncore.py
@@ -484,8 +484,9 @@
return self.socket.getsockname()[:2]
def handle_accept(self):
-
Giampaolo Rodola' added the comment:
Yes, now that I think of it that is how accept() is supposed to be used in 2.7
(back then I did also update doc examples in order to enforce this use case) so
this is a test suite issue.
--
___
Python tracker
Roundup Robot added the comment:
New changeset daad150b4670 by Kristjan Valur Jonsson in branch '3.3':
Issue #16295: Link select with ws2_32.lib, the winsock2 stub library.
http://hg.python.org/cpython/rev/daad150b4670
New changeset a2cd25d434b3 by Kristjan Valur Jonsson in branch 'default':
Changes by Jeremy Kloth jeremy.kloth+python-trac...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file27660/029d1cdf6422.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15968
Changes by Jeremy Kloth jeremy.kloth+python-trac...@gmail.com:
--
nosy: +brian.curtin, loewis, tim.golden
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15968
___
Changes by Piotr Dobrogost p...@bugs.python.dobrogost.net:
--
nosy: +piotr.dobrogost
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16298
___
___
Changes by Krzysztof Jurewicz krzysztof.jurew...@gmail.com:
--
nosy: +krzysiekj
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue672115
___
___
Nikolaus Rath added the comment:
This is just a heads-up that I'm still trying to debug this. So far, the
problem doesn't seem to have shown up again (for reference, the original report
for this is http://code.google.com/p/s3ql/issues/detail?id=358).
--
Piotr Dobrogost added the comment:
@Nikolaus
Issue 16298 was raised today describing what could be the cause of what you
observe.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15633
___
anatoly techtonik added the comment:
This is still an issue for Windows.
--
nosy: +techtonik
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8766
___
Martin v. Löwis added the comment:
Closing as works-for-me then.
--
resolution: - works for me
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15772
___
STINNER Victor added the comment:
This is still an issue for Windows.
See my message on python-dev: your issue (with an invalid PYTHONHOME,
Python exits with abort) is not related to this one, and it's not a
bug (abort is not a bug).
--
___
Python
Ronald Oussoren added the comment:
1) Issue is still present with libedit on OSX 10.8
2) Libedit on OSX doesn't call rl_pre_input_hook when using the '#if
defined(HAVE_RL_CALLBACK) defined(HAVE_SELECT)' branch in the readline
extension (that is, not calling readline(3), but using
Christian Heimes added the comment:
I agree with Victor.
--
nosy: +christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8766
___
___
New submission from anatoly techtonik:
Currently distutils builds files in a temporary directory named 'build' in
current dir if not specified otherwise. It will be pythonic to name this
directory to be __build__ be default to distinguish it from project specific
directories and clarify that
Changes by Ramchandra Apte maniandra...@gmail.com:
--
title: csv.DictReader - small fix to csv.DictReader.__init__
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16297
Changes by Ramchandra Apte maniandra...@gmail.com:
--
title: small fix to csv.DictReader.__init__ - make csv.DictReader.__init__ use
self.fieldnames
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16297
New submission from Senthil Kumaran:
From the Buildbot failure -
http://buildbot.python.org/all/builders/x86%20XP-4%203.x/builds/7573/steps/test/logs/stdio
I remember that we restricted the access for file:// scheme to localhost only
for Windows/Cygwin. In terms of exception raised it could
R. David Murray added the comment:
I see no reason to make this change. 'build' is pretty much universally
understood to be something that can be blown away, and I think that making
Python's naming convention different than that used by other open source
software projects in similar contexts
Éric Araujo added the comment:
Because I lack time. Feel free to do it.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16053
___
___
Serhiy Storchaka added the comment:
I'm going to close this issue as a duplicate of issue6972. Issue6972 is older
and has a larger discussion.
Thank you for patch and research, Zhigang Wang. I will use it for the new patch.
--
resolution: - duplicate
status: open - pending
Serhiy Storchaka added the comment:
Here is a patch based on patch for issue10905. Test included (I have removed
some old tests as new one supersede them). Please test on Windows.
.. components, leading slashes, drive letter, etc are just dropped, as in
unzip or 7-Zip. Thanks Zhigang Wang for
Berker Peksag added the comment:
I think this is an invalid request.
See the usage of property decorator:
http://docs.python.org/py3k/library/functions.html#property
--
nosy: +berker.peksag
___
Python tracker rep...@bugs.python.org
R. David Murray added the comment:
I think it is not an invalid request. However, what is the use case? Normally
a class will manipulate the real variable, and the getter/setter is the
public API. Without a good use case it doesn't seem worth changing that bit of
the init method.
anatoly techtonik added the comment:
RDM 'build' is pretty much universally understood to be something that can be
blown away
That's not true anymore in 2012. Why follow the bad practice?
I also want to know what open source software project are you referring to.
From my experience 'build'
New submission from Senthil Kumaran:
localhost() returns a string and thishost() returns tuple. In
urllib/request.py, for file:// protocol, there is a verification to check to if
the host is in the localhost and check happens:
socket.gethostbyname(host) in (localhost() + thishost())):
This
anatoly techtonik added the comment:
Another difference from C sources that it is very convenient to use Python
packages directly from source. In this case this unrelated 'build' dir will be
the source of confusion if user previously tried to install the package.
--
status: pending -
New submission from Berker Peksag:
See the output:
test_file_notexists (test.test_urllib.urlopen_HttpTests) ...
file:///tmp/tmpmlmjhf
/home/berker/hacking/cpython/Lib/test/test_urllib.py:284: ResourceWarning:
unclosed file _io.BufferedReader name='/tmp/tmpmlmjhf'
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: -berker.peksag
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13504
___
___
Senthil Kumaran added the comment:
thanks for the bug-report/patch.
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16302
___
Christian Heimes added the comment:
The bug tracker is the wrong place to discuss your proposal. Please join the
distutils-sig [1]. The group coordinates all efforts.
[1] http://www.python.org/community/sigs/current/distutils-sig/
--
assignee: eric.araujo -
nosy: +christian.heimes
Senthil Kumaran added the comment:
The problem is here:
if url[:2] == '//' and url[2:3] != '/' and url[2:12].lower() != 'localhost/':
raise ValueError(file:// scheme is supported only on localhost)
On Unix like systems url[2:3] == '/', that is path starts with '/' and this
ValueError is
Serhiy Storchaka added the comment:
You can use contextlib.closing() context manager (if urlopen() already does not
return a context manager).
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16302
Serhiy Storchaka added the comment:
This is wrong too.
tuple('abc')
('a', 'b', 'c')
Use ((localhost(),) + thishost()))
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16301
anatoly techtonik added the comment:
Oh, sorry. I am just testing Python 3.3 and there are so many issues that
hardly can test and fill them all.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8766
Berker Peksag added the comment:
Thanks for the suggestion, Serhiy.
Attached a new patch.
--
Added file:
http://bugs.python.org/file27663/resourcewarning_urllib_test_v2.patch
___
Python tracker rep...@bugs.python.org
Senthil Kumaran added the comment:
Serhiy: Yes. I stand corrected. That snippet suggestion was my mistake.
I think, wrapping the test is better than changing the return of localhost. It
would always return a single value. Thanks.
--
___
Python
olivier-mattelaer added the comment:
Thanks a lot Ronald.
Cheers,
Olivier
--
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14892
___
Roundup Robot added the comment:
New changeset 49de26395d1a by Senthil Kumaran in branch 'default':
Issue #16301: Fix the localhost verification in urllib/request.py for file://.
Modify tests to use localhost for local temp files, which could make Windows
Buildbot (#16300) happy
1 - 100 of 141 matches
Mail list logo