100+ results results for 'PendingDeprecationWarning repo:carljm/cpythonv' (496 ms)
177 178 # using compress and testing the PendingDeprecationWarning 179 old_dir = os.getcwd()common.py https://bitbucket.org/Liosan/gizapi.git | Python | 153 lines
133 'in favor of IGNORABLE_404_URLS.', 134 PendingDeprecationWarning) 135 for start in settings.IGNORABLE_404_STARTS: 141 'in favor of IGNORABLE_404_URLS.', 142 PendingDeprecationWarning) 143 for end in settings.IGNORABLE_404_ENDS:testsuite.py https://gitlab.com/ikondov/ase | Python | 436 lines
105 warnings.filterwarnings('error') 106 for warntype in [PendingDeprecationWarning, ImportWarning, 107 ResourceWarning]:PythonOps.Generated.cs https://bitbucket.org/mdavid/dlr.git | C# | 118 lines
41 42 public static Exception PendingDeprecationWarning(string format, params object[] args) { 43 return new PendingDeprecationWarningException(string.Format(format, args));runtests.py https://github.com/defcube/django-1.git | Python | 325 lines
12warnings.filterwarnings('ignore', "The Databrowse contrib app is deprecated", 13 PendingDeprecationWarning, 'django.contrib.databrowse') 14register.py https://gitlab.com/Kissaki/Omni-Bot-0.8 | Python | 315 lines
61 warn("distutils.command.register.check_metadata is deprecated, \ 62 use the check command instead", PendingDeprecationWarning) 63 check = self.distribution.get_command_obj('check')datastructures.py https://github.com/theosp/google_appengine.git | Python | 306 lines
141 d.insert(0, "hello", "world") 142 assert w[0].category is PendingDeprecationWarning 143 148 self.assertEqual(d.value_for_index(0), 3) 149 assert w[0].category is PendingDeprecationWarning 150__init__.py https://github.com/harmv/celery.git | Python | 467 lines
22 23from ..exceptions import CPendingDeprecationWarning, CDeprecationWarning 24 49 if deprecation is not None: 50 w = CPendingDeprecationWarning(PENDING_DEPRECATION_FMT % ctx) 51 else:__init__.py https://github.com/twoolie/django.git | Python | 187 lines
31 except ImportError: 32 # Python 2.5. Works on Python 2.6 but raises PendingDeprecationWarning 33 from cgi import parse_qslsubclassing.py https://github.com/theosp/google_appengine.git | Python | 117 lines
17 "`connection` argument." % func.__name__, 18 PendingDeprecationWarning, stacklevel=2) 19 24 warn("%s has been called without providing a connection argument. " % 25 func.__name__, PendingDeprecationWarning, 26 stacklevel=1) 42 "`connection` and `prepared` arguments." % func.__name__, 43 PendingDeprecationWarning, stacklevel=2) 44 49 warn("%s has been called without providing a connection argument. " % 50 func.__name__, PendingDeprecationWarning, 51 stacklevel=1)__init__.py https://bitbucket.org/apratim_ankur/city_lounge.git | Python | 231 lines
144 "settings, as auto-correction is now deprecated." % setting, 145 PendingDeprecationWarning) 146 setting_value = (setting_value,) # In case the user forgot the comma.sql.py https://bitbucket.org/abhimskywalker/hackpack.git | Python | 190 lines
104 'This command has been deprecated. The command ``sqlflush`` can be used to delete everything. You can also use ALTER TABLE or DROP TABLE statements manually.', 105 PendingDeprecationWarning 106 )__init__.py https://bitbucket.org/Squazic/youwastetime.git | Python | 188 lines
32 # Python 2.5, 2.4. Works on Python 2.6 but raises 33 # PendingDeprecationWarning 34 from cgi import parse_qsl 82 "settings.CACHE_* is deprecated; use settings.CACHES instead.", 83 PendingDeprecationWarning 84 )_warnings.cs https://bitbucket.org/mdavid/dlr.git | C# | 262 lines
45 } 46 defaultFilters.AddNoLock(PythonTuple.MakeTuple("ignore", null, PythonExceptions.PendingDeprecationWarning, null, 0)); 47 defaultFilters.AddNoLock(PythonTuple.MakeTuple("ignore", null, PythonExceptions.ImportWarning, null, 0));wizard.py https://github.com/enlaces/curso_python_dga_11.git | Python | 283 lines
67 68 # PendingDeprecationWarning <- left here to remind us that this 69 # compatibility fallback should be removed in Django 1.5base.py https://bitbucket.org/Squazic/youwastetime.git | Python | 310 lines
109 # Fall back to Django 1.2 method 110 # PendingDeprecationWarning <- here to remind us to 111 # remove this fallback in Django 1.5UserDict.py https://gitlab.com/nachee1325/todoprv | Python | 213 lines
17 warnings.warn("Passing 'dict' as keyword argument is " 18 "deprecated", PendingDeprecationWarning, 19 stacklevel=2) 76 warnings.warn("Passing 'dict' as keyword argument is deprecated", 77 PendingDeprecationWarning, stacklevel=2) 78 else:memcached.py https://github.com/Tippr/django.git | Python | 177 lines
132 "memcached.CacheClass has been split into memcached.MemcachedCache and memcached.PyLibMCCache. Please update your cache backend setting.", 133 PendingDeprecationWarning 134 )assertions.py https://bitbucket.org/eastfox2002/sqlalchemy.git | Python | 377 lines
36 filters = [dict(action='ignore', 37 category=sa_exc.SAPendingDeprecationWarning)] 38 if not messages: 96 filters = [dict(action='ignore', 97 category=sa_exc.SAPendingDeprecationWarning)] 98 if not messages:python32stub.def https://bitbucket.org/kbengine/kbengine.git | Module-Definition | 689 lines
192PyExc_OverflowError 193PyExc_PendingDeprecationWarning 194PyExc_RecursionErrorInst__init__.py https://github.com/rohanza/django.git | Python | 167 lines
71 warnings.warn('If set, %s must end with a slash' % name, 72 PendingDeprecationWarning) 73 object.__setattr__(self, name, value)recwarn.py https://gitlab.com/phongphans61/machine-learning-tictactoe | Python | 296 lines
54) -> Union["WarningsRecorder", Any]: 55 """Assert that code produces a ``DeprecationWarning`` or ``PendingDeprecationWarning``. 56 80 args = (func,) + args 81 return warns((DeprecationWarning, PendingDeprecationWarning), *args, **kwargs) 82pyerrors.h https://gitlab.com/envieidoc/Clover | C Header | 329 lines
172PyAPI_DATA(PyObject *) PyExc_DeprecationWarning; 173PyAPI_DATA(PyObject *) PyExc_PendingDeprecationWarning; 174PyAPI_DATA(PyObject *) PyExc_SyntaxWarning;python_shell.py https://github.com/enthought/pyface.git | Python | 357 lines
70 "call create() for future behaviour", 71 PendingDeprecationWarning, 72 )list_detail.py https://github.com/enlaces/curso_python_dga_11.git | Python | 152 lines
9 'Function-based generic views have been deprecated; use class-based views instead.', 10 PendingDeprecationWarning 11)models.py https://github.com/etienned/django-reversion.git | Python | 299 lines
21 "%s is deprecated, and will be removed in django-reversion 1.7. Use %s instead" % (original, replacement), 22 PendingDeprecationWarning, 23 )__init__.py https://bitbucket.org/ssaltzman/poet.git | Python | 145 lines
57 "LOCALE_PATHS setting instead.", 58 PendingDeprecationWarning) 59 else:test_smtpd.py https://bitbucket.org/kbengine/kbengine.git | Python | 291 lines
241 def test_attribute_deprecations(self): 242 with support.check_warnings(('', PendingDeprecationWarning)): 243 spam = self.channel._SMTPChannel__server 243 spam = self.channel._SMTPChannel__server 244 with support.check_warnings(('', PendingDeprecationWarning)): 245 self.channel._SMTPChannel__server = 'spam' 245 self.channel._SMTPChannel__server = 'spam' 246 with support.check_warnings(('', PendingDeprecationWarning)): 247 spam = self.channel._SMTPChannel__line 247 spam = self.channel._SMTPChannel__line 248 with support.check_warnings(('', PendingDeprecationWarning)): 249 self.channel._SMTPChannel__line = 'spam' 249 self.channel._SMTPChannel__line = 'spam' 250 with support.check_warnings(('', PendingDeprecationWarning)): 251 spam = self.channel._SMTPChannel__statetest_userdict.py https://gitlab.com/pmuontains/Odoo | Python | 383 lines
33 with test_support.check_warnings((".*'dict'.*", 34 PendingDeprecationWarning)): 35 self.assertEqual(UserDict.UserDict(dict=[('one',1), ('two',2)]), d2) 162 with test_support.check_warnings((".*'dict'.*", 163 PendingDeprecationWarning)): 164 self.assertEqual(list(UserDict.UserDict(dict={'a': 42}).items()), 176 with test_support.check_warnings((".*'dict'.*", 177 PendingDeprecationWarning)): 178 d.update(dict={'a': 42})settings.py https://github.com/Fandekasp/django-massmedia.git | Python | 211 lines
65 "settings.MMEDIA_IMAGE_EXTS is deprecated; use settings.MASSMEDIA_SETTINGS instead.", 66 PendingDeprecationWarning 67 ) 72 "settings.MMEDIA_VIDEO_EXTS is deprecated; use settings.MASSMEDIA_SETTINGS instead.", 73 PendingDeprecationWarning 74 ) 79 "settings.MMEDIA_AUDIO_EXTS is deprecated; use settings.MASSMEDIA_SETTINGS instead.", 80 PendingDeprecationWarning 81 ) 86 "settings.MMEDIA_FLASH_EXTS is deprecated; use settings.MASSMEDIA_SETTINGS instead.", 87 PendingDeprecationWarning 88 ) 93 "settings.MMEDIA_DOC_EXTS is deprecated; use settings.MASSMEDIA_SETTINGS instead.", 94 PendingDeprecationWarning 95 )base.py https://github.com/jcsp/celery.git | Python | 216 lines
9from .. import __version__, Celery 10from ..exceptions import CDeprecationWarning, CPendingDeprecationWarning 11 13# always enable DeprecationWarnings, so our users can see them. 14for warning in (CDeprecationWarning, CPendingDeprecationWarning): 15 warnings.simplefilter("once", warning, 0)imp.py https://gitlab.com/areema/myproject | Python | 345 lines
32 "see the module's documentation for alternative uses", 33 PendingDeprecationWarning, stacklevel=2) 343.6.0b4.rst https://github.com/albertz/CPython.git | ReStructuredText | 327 lines
85 86Change PendingDeprecationWarning -> DeprecationWarning. As it was agreed in 87the issue, __aiter__ returning an awaitable should result in 87the issue, __aiter__ returning an awaitable should result in 88PendingDeprecationWarning in 3.5 and in DeprecationWarning in 3.6. 89simple.py https://github.com/enlaces/curso_python_dga_11.git | Python | 289 lines
20 "DjangoTestRunner is deprecated; it's functionality is indistinguishable from TextTestRunner", 21 PendingDeprecationWarning 22 )deprecation.py https://gitlab.com/llndhlov/journly | Python | 147 lines
11 12class RemovedInDjango41Warning(PendingDeprecationWarning): 13 passarchive_util.py https://github.com/rpattabi/ironruby.git | Python | 243 lines
108 if compress == 'compress': 109 warn("'compress' will be deprecated.", PendingDeprecationWarning) 110 # the option varies depending on the platform__init__.py https://github.com/radicsoft/django.git | Python | 188 lines
32 # Python 2.5, 2.4. Works on Python 2.6 but raises 33 # PendingDeprecationWarning 34 from cgi import parse_qslbase.py https://github.com/bhomnick/mongodb-engine.git | Python | 184 lines
24 warnings.warn("The %r option is deprecated as of version 0.4 in flavor of " 25 "the 'OPERATIONS' setting" % opt, PendingDeprecationWarning) 26__init__.py https://github.com/theosp/google_appengine.git | Python | 161 lines
25 warnings.warn("The mimetype keyword argument is deprecated, use " 26 "content_type instead", PendingDeprecationWarning, stacklevel=2) 27 httpresponse_kwargs['content_type'] = mimetype__init__.py https://github.com/eric-brechemier/django.git | Python | 108 lines
15 'The run_gis_tests() test runner has been deprecated in favor of GeoDjangoTestSuiteRunner.', 16 PendingDeprecationWarning 17 )worker_transition.py https://gitlab.com/murder187ss/buildbot | Python | 324 lines
86 87# DeprecationWarning or PendingDeprecationWarning may be used as 88# the base class, but by default deprecation warnings are disabled in Python,forms.py https://github.com/enlaces/curso_python_dga_11.git | Python | 206 lines
51 # Fallback to Django 1.2 method for compatibility 52 # PendingDeprecationWarning <- here to remind us to remove this 53 # fallback in Django 1.5python.rb https://bitbucket.org/toihrk/fusuma.git | Ruby | 287 lines
43 NotImplemented NotImplementedError OSError OverflowError 44 OverflowWarning PendingDeprecationWarning ReferenceError 45 RuntimeError RuntimeWarning StandardError StopIteration__init__.py https://github.com/Tippr/django.git | Python | 462 lines
15 16warnings.filterwarnings('ignore', category=PendingDeprecationWarning, 17 module='django.contrib.formtools.wizard')auth_backends.py https://github.com/aruder77/applause.git | Python | 253 lines
162 warnings.resetwarnings() 163 warnings.simplefilter('ignore', PendingDeprecationWarning) 164securite.py https://github.com/wxgeo/geophar.git | Python | 184 lines
47 'LookupError', 'UnicodeError', 'IndentationError', 'Exception', 'UnicodeTranslateError', 'UnicodeEncodeError', \ 48 'PendingDeprecationWarning', 'ArithmeticError', 'MemoryError', 'ImportError', 'KeyError', 'SyntaxWarning', \ 49 'EnvironmentError', 'OSError', 'DeprecationWarning', 'UnicodeWarning', 'ValueError', 'NotImplemented', \__init__.py https://bitbucket.org/taxilian/racecontrol5.git | Python | 104 lines
18 "settings.DATABASE_* is deprecated; use settings.DATABASES instead.", 19 PendingDeprecationWarning 20 ) 47 "a backend from 'django.contrib.gis.db.backends'" % alias, 48 PendingDeprecationWarning 49 ) 59 "Prepend %s.ENGINE with 'django.db.backends.'" % alias, 60 PendingDeprecationWarning 61 )s3.py https://bitbucket.org/nguyenivan/topsnam.git | Python | 288 lines
52 "Use the s3boto backend instead.", 53 PendingDeprecationWarning 54 )2.3-announcement.md https://gitlab.com/github-cloud-corp/django-rest-framework | Markdown | 264 lines
106 107Using the `SingleObjectAPIView` and `MultipleObjectAPIView` base classes continues to be supported, but will raise a `PendingDeprecationWarning`. You should instead simply use `GenericAPIView` as the base for any generic view subclasses. 108 131 132Using an optional queryset with these methods continues to be supported, but will raise a `PendingDeprecationWarning`. 133 135 136Using the `page_size` argument is still supported and will trigger the old-style return type, but will raise a `PendingDeprecationWarning`. 137 162 163Usage of the old-style attributes continues to be supported, but will raise a `PendingDeprecationWarning`. 164 187 188Usage of the old-style attributes continues to be supported, but will raise a `PendingDeprecationWarning`. 189python.js https://gitlab.com/ptisky/API_prestashop | JavaScript | 144 lines
49 'UnicodeTranslateError', 'ValueError', 'WindowsError', 'ZeroDivisionError', 'Warning', 50 'UserWarning', 'DeprecationWarning', 'PendingDeprecationWarning', 'SyntaxWarning', 51 'RuntimeWarning', 'FutureWarning',celery_1.0_released.html https://github.com/coderanger/celery.git | HTML | 236 lines
80<li>Celery 1.2 will contain a backwards-compatible replica of the function which 81will raise a <tt class="docutils literal"><span class="pre">PendingDeprecationWarning</span></tt>. 82This warning is silent by default; you need to explicitly turn on display__init__.py https://github.com/abstract-open-solutions/ScrumDo.git | Python | 126 lines
32 warnings.warn("ChoiceEnum is deprecated, use Choices instead.", 33 PendingDeprecationWarning) 34 self._choices = tuple(enumerate(choices))python_op_gen.cc https://gitlab.com/hrishikeshvganu/tensorflow | C++ | 747 lines
59 "NameError", "None", "NotImplemented", "NotImplementedError", "OSError", 60 "OverflowError", "PendingDeprecationWarning", "ReferenceError", 61 "RuntimeError", "RuntimeWarning", "StandardError", "StopIteration",python.js https://github.com/rjdjohnston/core.git | JavaScript | 144 lines
49 'UnicodeTranslateError', 'ValueError', 'WindowsError', 'ZeroDivisionError', 'Warning', 50 'UserWarning', 'DeprecationWarning', 'PendingDeprecationWarning', 'SyntaxWarning', 51 'RuntimeWarning', 'FutureWarning',python.vim https://github.com/seanjensengrey/CPython.git | Vim Script | 149 lines
90 syn keyword pythonException NameError NotImplementedError OSError 91 syn keyword pythonException OverflowError PendingDeprecationWarning 92 syn keyword pythonException ReferenceError RuntimeError RuntimeWarningcbook.py https://github.com/tris-sondon/matplotlib.git | Python | 1704 lines
116 pending : bool, optional 117 If True, uses a PendingDeprecationWarning instead of a 118 DeprecationWarning. 171 pending : bool, optional 172 If True, uses a PendingDeprecationWarning instead of a 173 DeprecationWarning.exc.py https://gitlab.com/orvi2014/rcs-db-ext | Python | 200 lines
194 195class SAPendingDeprecationWarning(PendingDeprecationWarning): 196 """Issued once per usage of a deprecated API."""__init__.py https://github.com/FreakTheMighty/celery.git | Python | 449 lines
51 if deprecation is not None: 52 w = PendingDeprecationWarning(PENDING_DEPRECATION_FMT % ctx) 53 else:abc.py https://bitbucket.org/kbengine/kbengine.git | Python | 304 lines
197 "compatible with Python 3.1 onwards.", 198 PendingDeprecationWarning) 199 path = self.source_path(fullname) 236 "latest documentation for PyLoader.", 237 PendingDeprecationWarning) 238 source_timestamp = self.source_mtime(fullname)test_util.py https://github.com/albertz/CPython.git | Python | 811 lines
132 def test_warning(self): 133 # Should raise a PendingDeprecationWarning when used. 134 with warnings.catch_warnings():sdist.py https://github.com/albertz/CPython.git | Python | 495 lines
164 warn("distutils.command.sdist.check_metadata is deprecated, \ 165 use the check command instead", PendingDeprecationWarning) 166 check = self.distribution.get_command_obj('check')tasks.py https://github.com/albertz/CPython.git | Python | 900 lines
108 "use asyncio.current_task() instead", 109 PendingDeprecationWarning, 110 stacklevel=2) 122 "use asyncio.all_tasks() instead", 123 PendingDeprecationWarning, 124 stacklevel=2)warnings.rst https://github.com/albertz/CPython.git | ReStructuredText | 516 lines
92+----------------------------------+-----------------------------------------------+ 93| :exc:`PendingDeprecationWarning` | Base category for warnings about features | 94| | that will be deprecated in the future | 227 ignore::DeprecationWarning 228 ignore::PendingDeprecationWarning 229 ignore::ImportWarning 235 :exc:`DeprecationWarning` is now ignored by default in addition to 236 :exc:`PendingDeprecationWarning`. 237exceptions.lisp https://github.com/vikram/lisplibraries.git | Lisp | 144 lines
107 {OverflowWarning} 108 {PendingDeprecationWarning} 109 {SyntaxWarning}test_common.py https://github.com/ogrisel/scikit-learn.git | Python | 165 lines
126 with pytest.warns(None) as records: 127 warnings.simplefilter('ignore', PendingDeprecationWarning) 128 Xt_sp = est_sparse.fit(X_train_sp).transform(X_test_sp) 131 with pytest.warns(None) as records: 132 warnings.simplefilter('ignore', PendingDeprecationWarning) 133 Xt_inv_sp = est_sparse.inverse_transform(Xt_sp)description.py https://gitlab.com/zaverichintan/orange3 | Python | 472 lines
85 "integer constants instead", 86 PendingDeprecationWarning) 87 flags = eval(flags) 145 "integer constants instead", 146 PendingDeprecationWarning) 147 flags = eval(flags)fields.py https://bitbucket.org/taxilian/racecontrol5.git | Python | 900 lines
51 "`django.forms.fields.DEFAULT_%s` is deprecated; use `django.utils.formats.get_format('%s')` instead." % (name, name), 52 PendingDeprecationWarning 53 )creation.py https://bitbucket.org/taxilian/racecontrol5.git | Python | 484 lines
142 'Database creation API for m2m tables has been deprecated. M2M models are now automatically generated', 143 PendingDeprecationWarning 144 ) 156 'Database creation API for m2m tables has been deprecated. M2M models are now automatically generated', 157 PendingDeprecationWarning 158 ) 219 'Database creation API for m2m tables has been deprecated. M2M models are now automatically generated', 220 PendingDeprecationWarning 221 ) 324 'Database creation API for m2m tables has been deprecated. M2M models are now automatically generated', 325 PendingDeprecationWarning 326 )__init__.py https://bitbucket.org/atmb4u/django-nonrel.git | Python | 696 lines
20 # Python 2.5, 2.4. Works on Python 2.6 but raises 21 # PendingDeprecationWarning 22 from cgi import parse_qsl 117 warnings.warn("CompatCookie is deprecated, use django.http.SimpleCookie instead.", 118 PendingDeprecationWarning) 119regcheck.py https://github.com/hsablonniere/play.git | Python | 125 lines
5warnings.warn("The regcheck module has been pending deprecation since build 210", 6 category=PendingDeprecationWarning) 7test_deprecations.py https://gitlab.com/pooja043/Globus_Docker_4 | Python | 635 lines
137 I interpret this to mean 2 years after the 1.8 release. Possibly 138 giving a PendingDeprecationWarning before that (which is visible 139 by default)assertions.py https://gitlab.com/pooja043/Globus_Docker_4 | Python | 453 lines
43 filters = [dict(action='ignore', 44 category=sa_exc.SAPendingDeprecationWarning)] 45 if not messages: 110 filters = [dict(action='ignore', 111 category=sa_exc.SAPendingDeprecationWarning)] 112 if not messages:BioSeq.py https://gitlab.com/pooja043/Globus_Docker_4 | Python | 576 lines
112 "instead of my_seq.tostring().", 113 PendingDeprecationWarning) 114 return self.adaptor.get_subseq_as_string(self.primary_id,tests.py https://github.com/Tippr/django.git | Python | 274 lines
71 self.warning_state = get_warnings_state() 72 warnings.filterwarnings('ignore', category=PendingDeprecationWarning, 73 module='django.views.decorators.cache')cgi.py https://gitlab.com/dahbearz/CRYENGINE | Python | 1051 lines
183 warn("cgi.parse_qs is deprecated, use urlparse.parse_qs instead", 184 PendingDeprecationWarning, 2) 185 return urlparse.parse_qs(qs, keep_blank_values, strict_parsing) 190 warn("cgi.parse_qsl is deprecated, use urlparse.parse_qsl instead", 191 PendingDeprecationWarning, 2) 192 return urlparse.parse_qsl(qs, keep_blank_values, strict_parsing)generate_exceptions.py https://bitbucket.org/mdavid/dlr.git | Python | 500 lines
38 39pythonExcs = ['ImportError', 'RuntimeError', 'UnicodeTranslateError', 'PendingDeprecationWarning', 'EnvironmentError', 40 'LookupError', 'OSError', 'DeprecationWarning', 'UnicodeError', 'FloatingPointError', 'ReferenceError', 181 ExceptionInfo('DeprecationWarning', 'IronPython.Runtime.Exceptions.DeprecationWarningException', None, (), ()), 182 ExceptionInfo('PendingDeprecationWarning', 'IronPython.Runtime.Exceptions.PendingDeprecationWarningException', None, (), ()), 183 ExceptionInfo('RuntimeWarning', 'IronPython.Runtime.Exceptions.RuntimeWarningException', None, (), ()),python.rb https://gitlab.com/hwhelchel/sonic-pi | Ruby | 227 lines
49 NotImplemented NotImplementedError OSError OverflowError 50 OverflowWarning PendingDeprecationWarning ReferenceError 51 RuntimeError RuntimeWarning StandardError StopIterationdeprecation.py https://gitlab.com/asmjahid/django | Python | 111 lines
6 7class RemovedInDjango20Warning(PendingDeprecationWarning): 8 passviews.py https://bitbucket.org/cld/django-braces.git | Python | 485 lines
31 warnings.warn("CreateAndRedirectToEditView is deprecated and will be " 32 "removed in a future release.", PendingDeprecationWarning) 33 return super(CreateAndRedirectToEditView, self).dispatch(request,__init__.py https://bitbucket.org/pcelta/python-django.git | Python | 842 lines
24 except ImportError: 25 # Python 2.5. Works on Python 2.6 but raises PendingDeprecationWarning 26 from cgi import parse_qsl 343 def raw_post_data(self): 344 warnings.warn('HttpRequest.raw_post_data has been deprecated. Use HttpRequest.body instead.', PendingDeprecationWarning) 345 return self.bodydefaultfilters.py https://bitbucket.org/pcelta/python-django.git | Python | 896 lines
55 "instead" % (attr, attr, getattr(func, attr)), 56 PendingDeprecationWarning) 57 setattr(_dec, attr, getattr(func, attr))runtests.py https://github.com/rgaidot/tornado.git | Python | 137 lines
86 module=r"tornado\..*") 87 warnings.filterwarnings("ignore", category=PendingDeprecationWarning) 88 warnings.filterwarnings("error", category=PendingDeprecationWarning,test_loaders.py https://github.com/netoxico/celery.git | Python | 256 lines
10from celery.app import app_or_default 11from celery.exceptions import CPendingDeprecationWarning, ImproperlyConfigured 12from celery.loaders import base 75 76 self.assertIsInstance(warning, CPendingDeprecationWarning) 77 self.assertIn("deprecation", warning.args[0]) 84 85 self.assertIsInstance(warning, CPendingDeprecationWarning) 86 self.assertIn("deprecation", warning.args[0])utils.py https://bitbucket.org/taxilian/racecontrol5.git | Python | 170 lines
26 "Short names for DATABASE_ENGINE are deprecated; prepend with 'django.db.backends.'", 27 PendingDeprecationWarning 28 )test_recwarn.py https://gitlab.com/Spagnotti3/wpt | Python | 386 lines
131 132 msg = "No warnings of type (.*DeprecationWarning.*, .*PendingDeprecationWarning.*)" 133 with pytest.raises(pytest.fail.Exception, match=msg): 140 @pytest.mark.parametrize( 141 "warning_type", [PendingDeprecationWarning, DeprecationWarning] 142 )decorators.py https://gitlab.com/Rockyspade/astropy | Python | 575 lines
16from .exceptions import (AstropyDeprecationWarning, 17 AstropyPendingDeprecationWarning) 18from ..extern import six 62 pending : bool, optional 63 If True, uses a AstropyPendingDeprecationWarning instead of a 64 AstropyDeprecationWarning. 130 if pending: 131 category = AstropyPendingDeprecationWarning 132 else: 259 pending : bool, optional 260 If True, uses a AstropyPendingDeprecationWarning instead of a 261 AstropyDeprecationWarning.helper.py https://gitlab.com/Rockyspade/astropy | Python | 668 lines
35 AstropyDeprecationWarning, 36 AstropyPendingDeprecationWarning) 37from ..config import configurationtest_image.py https://gitlab.com/Rockyspade/astropy | Python | 1148 lines
13from ....utils.exceptions import (AstropyDeprecationWarning, 14 AstropyPendingDeprecationWarning) 15from ....tests.helper import pytest, raises, catch_warningscompressed.py https://gitlab.com/Rockyspade/astropy | Python | 1133 lines
25from ....utils.compat import ignored 26from ....utils.exceptions import (AstropyPendingDeprecationWarning, 27 AstropyUserWarning)test_client.py https://github.com/jcrobak/hue.git | Python | 635 lines
97 "Resolver.queryUDP instead.", 98 PendingDeprecationWarning, 0)]) 99 self.assertIdentical(protocol, resolver.protocol)client.py https://github.com/jcrobak/hue.git | Python | 926 lines
75 "Resolver.protocol is deprecated; use Resolver.queryUDP instead.", 76 PendingDeprecationWarning, 77 stacklevel=0)datastructures.py https://github.com/theosp/google_appengine.git | Python | 518 lines
219 warnings.warn( 220 "SortedDict.value_for_index is deprecated", PendingDeprecationWarning, 221 stacklevel=2 227 warnings.warn( 228 "SortedDict.insert is deprecated", PendingDeprecationWarning, 229 stacklevel=2response.py https://github.com/theosp/google_appengine.git | Python | 447 lines
48 warnings.warn("Using mimetype keyword argument is deprecated, use" 49 " content_type instead", PendingDeprecationWarning) 50 content_type = mimetype 306 'if you need the streaming behavior.', 307 PendingDeprecationWarning, stacklevel=2) 308 if not hasattr(self, '_iterator'): 362 `content` attribute. Otherwise, they will behave like a regular response, 363 and raise a `PendingDeprecationWarning`. 364 """ 369 'deprecated. Use the `streaming_content` attribute instead.', 370 PendingDeprecationWarning) 371 content = b''.join(self) 379 'deprecated. Use the `streaming_content` attribute instead.', 380 PendingDeprecationWarning) 381 self.streaming_content = [content]trans_real.py https://github.com/theosp/google_appengine.git | Python | 550 lines
190 "Please use the 'nb' translation instead.", 191 PendingDeprecationWarning 192 )rbsite.py https://github.com/sawatzkylindsey/reviewboard.git | Python | 1466 lines
37 38# But then ignore the PendingDeprecationWarnings that we'll get from Django. 39# See bug 1683. 39# See bug 1683. 40warnings.filterwarnings("ignore", category=PendingDeprecationWarning) 41__init__.py https://github.com/rohanza/django.git | Python | 113 lines
35 warn("Authentication backends without a `supports_inactive_user` attribute are deprecated. Please define it in %s." % cls, 36 PendingDeprecationWarning) 37 cls.supports_inactive_user = Falsewarnings.rst https://github.com/rpattabi/ironruby.git | ReStructuredText | 403 lines
72+----------------------------------+-----------------------------------------------+ 73| :exc:`PendingDeprecationWarning` | Base category for warnings about features | 74| | that will be deprecated in the future |test_common.py https://github.com/scikit-learn/scikit-learn.git | Python | 183 lines
133 with warnings.catch_warnings(): 134 warnings.simplefilter("ignore", PendingDeprecationWarning) 135 warnings.simplefilter("error", RuntimeWarning) 139 with warnings.catch_warnings(): 140 warnings.simplefilter("ignore", PendingDeprecationWarning) 141 warnings.simplefilter("error", RuntimeWarning)test_tracking.py https://github.com/nipy/dipy.git | Python | 262 lines
79 "ignore", message=descoteaux07_legacy_msg, 80 category=PendingDeprecationWarning) 81 reconst_csd_flow.run(dwi_path, bval_path, bvec_path, mask_path, 97 "ignore", message=descoteaux07_legacy_msg, 98 category=PendingDeprecationWarning) 99 pf_track_pam.run(pam_path, wm_path, gm_path, csf_path, seeds_path) 109 "ignore", message=descoteaux07_legacy_msg, 110 category=PendingDeprecationWarning) 111 pf_track_pam.run(pam_path, 134 "ignore", message=descoteaux07_legacy_msg, 135 category=PendingDeprecationWarning) 136 reconst_csd_flow.run(data_path, bval_path, bvec_path, mask_path, 184 "ignore", message=descoteaux07_legacy_msg, 185 category=PendingDeprecationWarning) 186 lf_track_pam.run(pam_path, gfa_path, seeds_path,tree_python.py https://bitbucket.org/luobailiang/sublime-config.git | Python | 767 lines
86 ("class", "DeprecationWarning"), 87 ("class", "PendingDeprecationWarning"), 88 ("class", "SyntaxWarning"),Builtin.Generated.cs https://bitbucket.org/mdavid/dlr.git | C# | 176 lines
145 } 146 public static PythonType PendingDeprecationWarning { 147 get { return PythonExceptions.PendingDeprecationWarning; }