100+ results results for 'PendingDeprecationWarning' (1385 ms)

Not the results you expected?
subclassing.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)
                    
                
UserDict.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        )
                    
                
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)
                    
                
__init__.py https://bitbucket.org/ssaltzman/poet.git | Python | 145 lines
                    
57                                  "LOCALE_PATHS setting instead.",
                    
58                                  PendingDeprecationWarning)
                    
59        else:
                    
                
test_archive_util.py https://gitlab.com/sisfs/G_Music | Python | 269 lines
                    
159
                    
160        # using compress and testing the PendingDeprecationWarning
                    
161        old_dir = os.getcwd()
                    
                
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    )
                    
                
deprecation.py https://gitlab.com/llndhlov/journly | Python | 147 lines
                    
11
                    
12class RemovedInDjango41Warning(PendingDeprecationWarning):
                    
13    pass
                    
                
__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    )
                    
                
UniGene.py https://github.com/timwintle/biopython.git | Python | 228 lines
                    
24              "please use the parser in Bio.UniGene instead",
                    
25              PendingDeprecationWarning)
                    
26
                    
                
auth_backends.py https://github.com/RefuX/applause.git | Python | 253 lines
                    
162        warnings.resetwarnings()
                    
163        warnings.simplefilter('ignore', PendingDeprecationWarning)
                    
164
                    
                
__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            )
                    
                
__init__.py https://github.com/midnightskinhead/ScrumDo.git | Python | 126 lines
                    
32        warnings.warn("ChoiceEnum is deprecated, use Choices instead.",
                    
33                      PendingDeprecationWarning)
                    
34        self._choices = tuple(enumerate(choices))
                    
                
hmac.py https://github.com/akheron/cpython.git | Python | 144 lines
                    
45            _warnings.warn("HMAC() without an explicit digestmod argument "
                    
46                           "is deprecated.", PendingDeprecationWarning, 2)
                    
47            digestmod = _hashlib.md5
                    
                
regcheck.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)
                    
7
                    
                
deprecation.py https://gitlab.com/asmjahid/django | Python | 111 lines
                    
6
                    
7class RemovedInDjango20Warning(PendingDeprecationWarning):
                    
8    pass
                    
                
archive_util.py https://bitbucket.org/kbengine/kbengine.git | Python | 184 lines
                    
59    if compress == 'compress':
                    
60        warn("'compress' will be deprecated.", PendingDeprecationWarning)
                    
61        # the option varies depending on the platform
                    
                
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        )
                    
                
__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 = False
                    
                
list_box.py https://github.com/enthought/pyface.git | Python | 151 lines
                    
53                "call create() for future behaviour",
                    
54                PendingDeprecationWarning,
                    
55            )
                    
                
__init__.py https://github.com/alemacgo/pypy.git | Python | 67 lines
                    
33        'OverflowError' : 'interp_exceptions.W_OverflowError',
                    
34        'PendingDeprecationWarning' : 'interp_exceptions.W_PendingDeprecationWarning',
                    
35        'ReferenceError' : 'interp_exceptions.W_ReferenceError',
                    
                
forms.py https://github.com/blacktear23/django.git | Python | 145 lines
                    
75                "Support for validating the gender of a CZ Birth number has been deprecated.",
                    
76                PendingDeprecationWarning)
                    
77            if gender == 'f':
                    
                
test_tracking.py https://github.com/arokem/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,
                    
                
__init__.py https://github.com/chapmanb/biopython.git | Python | 171 lines
                    
23              "be different.",
                    
24              PendingDeprecationWarning)
                    
25
                    
                
test_recwarn.py https://github.com/rillian/firefox.git | Python | 227 lines
                    
124        def f():
                    
125            py.std.warnings.warn(PendingDeprecationWarning("hi"))
                    
126        pytest.deprecated_call(f)
                    
                
__init__.py https://github.com/RefuX/applause.git | Python | 86 lines
                    
26        # Python 2.5, 2.4.  Works on Python 2.6 but raises
                    
27        # PendingDeprecationWarning
                    
28        from cgi import parse_qsl
                    
                
context_processors.py https://bitbucket.org/ssaltzman/poet.git | Python | 113 lines
                    
99            "instead.",
                    
100            PendingDeprecationWarning
                    
101        )
                    
110            "instead.",
                    
111            PendingDeprecationWarning
                    
112        )
                    
                
test_forecast.py https://github.com/arokem/dipy.git | Python | 300 lines
                    
48            "ignore", message=descoteaux07_legacy_msg,
                    
49            category=PendingDeprecationWarning)
                    
50        fm = ForecastModel(data.gtab,
                    
60            "ignore", message=descoteaux07_legacy_msg,
                    
61            category=PendingDeprecationWarning)
                    
62        fodf = f_fit.odf(sphere, clip_negative=False)
                    
74            "ignore", message=descoteaux07_legacy_msg,
                    
75            category=PendingDeprecationWarning)
                    
76        fm = ForecastModel(data.gtab, dec_alg='CSD',
                    
81            "ignore", message=descoteaux07_legacy_msg,
                    
82            category=PendingDeprecationWarning)
                    
83        fodf_csd = f_fit.odf(sphere, clip_negative=False)
                    
87            "ignore", message=descoteaux07_legacy_msg,
                    
88            category=PendingDeprecationWarning)
                    
89        fm = ForecastModel(data.gtab, sh_order=data.sh_order,
                    
                
app_directories.py https://bitbucket.org/Liosan/gizapi.git | Python | 74 lines
                    
70        "'django.template.loaders.app_directories.load_template_source' is deprecated; use 'django.template.loaders.app_directories.Loader' instead.",
                    
71        PendingDeprecationWarning
                    
72    )
                    
                
deprecation.py https://gitlab.com/briankiragu/django | Python | 130 lines
                    
10
                    
11class RemovedInDjango21Warning(PendingDeprecationWarning):
                    
12    pass
                    
                
memcached.py https://github.com/lmorchard/home-snippets-server-lib.git | Python | 104 lines
                    
12        "Support for the 'cmemcache' library has been deprecated. Please use python-memcached instead.",
                    
13        PendingDeprecationWarning
                    
14    )
                    
                
deprecations.py https://gitlab.com/abhi1tb/build | Python | 259 lines
                    
36def warn_pending_deprecation(msg, stacklevel=3):
                    
37    warnings.warn(msg, exc.SAPendingDeprecationWarning, stacklevel=stacklevel)
                    
38
                    
186            fn,
                    
187            exc.SAPendingDeprecationWarning,
                    
188            message % dict(func=fn.__name__),
                    
                
errwarning.py https://gitlab.com/betse/betse | Python | 139 lines
                    
84    warnings** (i.e., instances of the :class:`DeprecationWarning`,
                    
85    :class:`PendingDeprecationWarning`, and :class:`FutureWarning` exception
                    
86    base classes) emitted by the :mod:`warnings` module for the duration of
                    
96        DeprecationWarning,
                    
97        PendingDeprecationWarning,
                    
98        FutureWarning,
                    
                
csrf.py https://github.com/Tippr/django.git | Python | 79 lines
                    
57                  "function, and calls to it can be removed.",
                    
58                  PendingDeprecationWarning)
                    
59    return view_func
                    
65    warnings.warn("csrf_view_exempt is deprecated. Use csrf_exempt instead.",
                    
66                  PendingDeprecationWarning)
                    
67    return csrf_exempt(view_func)
                    
                
__init__.py https://github.com/lmorchard/home-snippets-server-lib.git | Python | 103 lines
                    
26        warn("Authentication backends without a `supports_object_permissions` attribute are deprecated. Please define it in %s." % cls,
                    
27             PendingDeprecationWarning)
                    
28        cls.supports_object_permissions = False
                    
32        warn("Authentication backends without a `supports_anonymous_user` attribute are deprecated. Please define it in %s." % cls,
                    
33             PendingDeprecationWarning)
                    
34        cls.supports_anonymous_user = False
                    
                
fields.py https://github.com/django-nonrel/mongodb-engine.git | Python | 174 lines
                    
44                          "please add a comment on issue #65 with your use "
                    
45                          "case.", PendingDeprecationWarning)
                    
46
                    
                
context_processors.py https://github.com/theosp/google_appengine.git | Python | 102 lines
                    
24        "The context processor at `django.core.context_processors.auth` is " "deprecated; use the path `django.contrib.auth.context_processors.auth` " "instead.",
                    
25        PendingDeprecationWarning
                    
26    )
                    
                
AbstractPropertyMap.py https://github.com/timwintle/biopython.git | Python | 134 lines
                    
80        import warnings
                    
81        warnings.warn("This function is obsolete; use 'id in mapping' instead", PendingDeprecationWarning)
                    
82        return (id in self)
                    
                
deprecation.py https://github.com/pombredanne/pip.git | Python | 68 lines
                    
17
                    
18class RemovedInPip8Warning(PipDeprecationWarning, PendingDeprecationWarning):
                    
19    pass
                    
49            # next version of pip. We want these to be more obvious so we
                    
50            # use the ERROR logging level while the PendingDeprecationWarnings
                    
51            # are still have at least 2 versions to go until they are removed
                    
                
cache.py https://github.com/nrb/django.git | Python | 92 lines
                    
46                      'All other ways are deprecated.',
                    
47                      PendingDeprecationWarning,
                    
48                      stacklevel=3)
                    
                
loaders.py https://github.com/pokutnik/lettuce.git | Python | 150 lines
                    
71        self._warnings_state = get_warnings_state()
                    
72        warnings.simplefilter("ignore", PendingDeprecationWarning)
                    
73
                    
                
test_warnings.py https://bitbucket.org/x893/sirflive.git | Python | 89 lines
                    
48        for category in [DeprecationWarning, FutureWarning, OverflowWarning,
                    
49                    PendingDeprecationWarning, RuntimeWarning,
                    
50                    SyntaxWarning, UserWarning, Warning]:
                    
                
__init__.py https://github.com/asavoy/django-model-utils.git | Python | 135 lines
                    
5        "Django 1.1 support in django-model-utils is pending deprecation.",
                    
6        PendingDeprecationWarning)
                    
7
                    
                
test_warnings.py https://github.com/jackygrahamez/DrugDiscovery-Home.git | Python | 105 lines
                    
47        for category in [DeprecationWarning, FutureWarning,
                    
48                    PendingDeprecationWarning, RuntimeWarning,
                    
49                    SyntaxWarning, UserWarning, Warning]:
                    
                
_warnings_test.py https://bitbucket.org/mdavid/dlr.git | Python | 112 lines
                    
27EXPECTED = [] # expected output (ignoring filename, lineno, and line)
                    
28WARN_TYPES = [Warning, UserWarning, PendingDeprecationWarning, SyntaxWarning, 
                    
29              RuntimeWarning, FutureWarning, ImportWarning, UnicodeWarning, 
                    
                
__init__.py https://github.com/lmorchard/home-snippets-server-lib.git | Python | 111 lines
                    
108            'mail.SMTPConnection is deprecated; use mail.get_connection() instead.',
                    
109            PendingDeprecationWarning
                    
110        )
                    
                
__init__.py https://github.com/annina/b-counted.git | Python | 101 lines
                    
17        "settings.DATABASE_* is deprecated; use settings.DATABASES instead.",
                    
18        PendingDeprecationWarning
                    
19    )
                    
44                "a backend from 'django.contrib.gis.db.backends'" % alias,
                    
45                PendingDeprecationWarning
                    
46            )
                    
56                "Prepend %s.ENGINE with 'django.db.backends.'" % alias,
                    
57                PendingDeprecationWarning
                    
58            )
                    
                
tokens.py https://github.com/blacktear23/django.git | Python | 82 lines
                    
37            # Fallback to Django 1.2 method for compatibility.
                    
38            # PendingDeprecationWarning <- here to remind us to remove this in
                    
39            # Django 1.5
                    
                
test_pmf.py https://github.com/arokem/dipy.git | Python | 138 lines
                    
21            "ignore", message=descoteaux07_legacy_msg,
                    
22            category=PendingDeprecationWarning)
                    
23        pmfgen = SHCoeffPmfGen(np.random.random([2, 2, 2, 28]), sphere, None)
                    
39            "ignore", message=descoteaux07_legacy_msg,
                    
40            category=PendingDeprecationWarning)
                    
41        pmfgen = SHCoeffPmfGen(np.ones([2, 2, 2, 28]), sphere, None)
                    
96            "ignore", message=descoteaux07_legacy_msg,
                    
97            category=PendingDeprecationWarning)
                    
98        boot_pmf_gen = BootPmfGen(
                    
109        warnings.simplefilter("always", category=UserWarning)
                    
110        warnings.simplefilter("always", category=PendingDeprecationWarning)
                    
111        csd_model = ConstrainedSphericalDeconvModel(gtab, response,
                    
122            "ignore", message=descoteaux07_legacy_msg,
                    
123            category=PendingDeprecationWarning)
                    
124        boot_pmf_gen_sh4 = BootPmfGen(data, sphere=hsph_updated,
                    
                
context_processors.py https://github.com/lmorchard/home-snippets-server-lib.git | Python | 104 lines
                    
26        "instead.",
                    
27        PendingDeprecationWarning
                    
28    )
                    
                
loaders.py https://github.com/eric-brechemier/django.git | Python | 148 lines
                    
69        settings.INSTALLED_APPS = []
                    
70        warnings.simplefilter("ignore", PendingDeprecationWarning)
                    
71
                    
                
storage.py https://github.com/zodiak/django_ondev.git | Python | 95 lines
                    
59            "was renamed to 'staticfiles.storage.StaticFilesStorage'.",
                    
60            PendingDeprecationWarning)
                    
61        super(StaticFileStorage, self).__init__(*args, **kwargs)
                    
                
cache.py https://github.com/Tippr/django.git | Python | 91 lines
                    
46                      'All other ways are deprecated.',
                    
47                      PendingDeprecationWarning)
                    
48
                    
                
itercompat.py https://github.com/ptone/django-oldmaster.git | Python | 35 lines
                    
20def product(*args, **kwds):
                    
21    # PendingDeprecationWarning in 1.5, remove this comment when the Deprecations
                    
22    # will have been advanced for 1.5
                    
23    warnings.warn("django.utils.itercompat.product is deprecated; use the native version instead",
                    
24                  PendingDeprecationWarning)
                    
25    return itertools.product(*args, **kwds)
                    
28    warnings.warn("django.utils.itercompat.all is deprecated; use the native version instead",
                    
29                  PendingDeprecationWarning)
                    
30    return __builtin__.all(iterable)
                    
33    warnings.warn("django.utils.itercompat.any is deprecated; use the native version instead",
                    
34                  PendingDeprecationWarning)
                    
35    return __builtin__.any(iterable)
                    
                
testing_support.py https://github.com/behave/behave.git | Python | 94 lines
                    
81        warnings.warn("Use 'use_step_matcher()' instead",
                    
82                      PendingDeprecationWarning, stacklevel=2)
                    
83        self.use_step_matcher(name)
                    
                
forms.py https://github.com/WoLpH/django-tcc.git | Python | 163 lines
                    
90  # Fallback to Django 1.2 method for compatibility
                    
91  # PendingDeprecationWarning <- here to remind us to remove this
                    
92  # fallback in Django 1.5
                    
                
deprecation.py https://github.com/dpritsos/WEGA.git | Python | 222 lines
                    
84    pending : bool, optional
                    
85        If True, uses a PendingDeprecationWarning instead of a
                    
86        DeprecationWarning.
                    
145    pending : bool, optional
                    
146        If True, uses a PendingDeprecationWarning instead of a
                    
147        DeprecationWarning.
                    
                
deprecations.py https://gitlab.com/ztane/sqlalchemy | Python | 143 lines
                    
20def warn_pending_deprecation(msg, stacklevel=3):
                    
21    warnings.warn(msg, exc.SAPendingDeprecationWarning, stacklevel=stacklevel)
                    
22
                    
82        return _decorate_with_warning(
                    
83            fn, exc.SAPendingDeprecationWarning,
                    
84            message % dict(func=fn.__name__), header)
                    
                
warnings.py https://gitlab.com/phongphans61/machine-learning-tictactoe | Python | 139 lines
                    
49            warnings.filterwarnings("always", category=DeprecationWarning)
                    
50            warnings.filterwarnings("always", category=PendingDeprecationWarning)
                    
51
                    
                
headerid.py https://gitlab.com/Haritiana/Python-Markdown | Python | 97 lines
                    
76            'The HeaderId Extension is pending deprecation. Use the TOC Extension instead.',
                    
77            PendingDeprecationWarning
                    
78        )
                    
                
test.py https://github.com/pokutnik/lettuce.git | Python | 40 lines
                    
31                'Function-based test runners are deprecated. Test runners should be classes with a run_tests() method.',
                    
32                PendingDeprecationWarning
                    
33            )
                    
                
test_shore.py https://github.com/arokem/dipy.git | Python | 105 lines
                    
63            "ignore", message=descoteaux07_legacy_msg,
                    
64            category=PendingDeprecationWarning)
                    
65        asmfit = asm.fit(data.S)
                    
76            "ignore", message=descoteaux07_legacy_msg,
                    
77            category=PendingDeprecationWarning)
                    
78        asmfit = asm.fit(data.S)
                    
90            "ignore", message=descoteaux07_legacy_msg,
                    
91            category=PendingDeprecationWarning)
                    
92        asmfit = asm.fit(data.S)
                    
                
eggs.py https://github.com/lmorchard/home-snippets-server-lib.git | Python | 39 lines
                    
35        "'django.template.loaders.eggs.load_template_source' is deprecated; use 'django.template.loaders.eggs.Loader' instead.",
                    
36        PendingDeprecationWarning
                    
37    )
                    
                
exceptions.py https://github.com/catalanojuan/celery.git | Python | 92 lines
                    
17           "RetryTaskError", "TaskRevokedError",
                    
18           "NotConfigured", "CPendingDeprecationWarning",
                    
19           "CDeprecationWarning"]
                    
86
                    
87class CPendingDeprecationWarning(PendingDeprecationWarning):
                    
88    pass
                    
                
utils.py https://github.com/crisbar/curso_python_dga_11.git | Python | 63 lines
                    
21    warnings.warn("security_hash is deprecated; use form_hmac instead",
                    
22                  PendingDeprecationWarning)
                    
23    data = []
                    
                
util.py https://github.com/theosp/google_appengine.git | Python | 110 lines
                    
40    elif version == '1.3':
                    
41        cls = PendingDeprecationWarning
                    
42    else:
                    
                
test_shore_metrics.py https://github.com/arokem/dipy.git | Python | 117 lines
                    
54            "ignore", message=descoteaux07_legacy_msg,
                    
55            category=PendingDeprecationWarning)
                    
56        asmfit = asm.fit(S)
                    
61            "ignore", message=descoteaux07_legacy_msg,
                    
62            category=PendingDeprecationWarning)
                    
63        cmat = shore_matrix(radial_order, zeta, gtab)
                    
83            "ignore", message=descoteaux07_legacy_msg,
                    
84            category=PendingDeprecationWarning)
                    
85        pdf_discrete = asmfit.pdf_grid(17, 40e-3)
                    
96            "ignore", message=descoteaux07_legacy_msg,
                    
97            category=PendingDeprecationWarning)
                    
98        pdf_shore = asmfit.pdf(v * radius)
                    
                
exceptions.py https://github.com/ayshih/sunpy.git | Python | 105 lines
                    
10           "SunpyWarning", "SunpyUserWarning", "SunpyDeprecationWarning",
                    
11           "SunpyPendingDeprecationWarning", "SunpyMetadataWarning",
                    
12           "warn_user", "warn_deprecated", "warn_metadata"]
                    
53
                    
54class SunpyPendingDeprecationWarning(PendingDeprecationWarning, SunpyWarning):
                    
55    """
                    
                
zip_loader.py https://github.com/crass/app-engine-console.git | Python | 69 lines
                    
63        "'zip_loader.load_template_source' is deprecated; use 'zip_loader.Loader' instead.",
                    
64        PendingDeprecationWarning
                    
65    )
                    
                
utils.py https://github.com/zodiak/django_ondev.git | Python | 165 lines
                    
17        "deprecated. Use staticfiles.storage.AppStaticStorage.get_files "
                    
18        "instead.", PendingDeprecationWarning)
                    
19    return AppStaticStorage(app).get_files(ignore_patterns)
                    
28        "deprecated. Use staticfiles.storage.AppStaticStorage.get_prefix "
                    
29        "instead.", PendingDeprecationWarning)
                    
30    return AppStaticStorage(app).get_prefix()
                    
                
cz.py https://github.com/blacktear23/django.git | Python | 105 lines
                    
14            "ignore",
                    
15            category=PendingDeprecationWarning,
                    
16            module='django.contrib.localflavor.cz.forms'
                    
                
runtests.py https://gitlab.com/asmjahid/opps | Python | 91 lines
                    
45warnings.filterwarnings('error', category=DeprecationWarning)
                    
46for category in [PendingDeprecationWarning, UserWarning, ImportWarning]:
                    
47    warnings.filterwarnings('ignore', category=category)
                    
                
image.py https://github.com/mozilla/moztrap-vendor-lib.git | Python | 154 lines
                    
147            "uninstall it & install Pillow instead.",
                    
148            PendingDeprecationWarning
                    
149        )
                    
                
warnings.py https://gitlab.com/abhi1tb/build | Python | 61 lines
                    
19    warnings.filterwarnings(
                    
20        "ignore", category=sa_exc.SAPendingDeprecationWarning
                    
21    )
                    
                
services.py https://gitlab.com/urbanjunglestudio/whambush-api | Python | 117 lines
                    
84            '`get_queryset()` and explicitly raise a 404 on empty querysets.',
                    
85            PendingDeprecationWarning
                    
86        )
                    
                
trans_null.py https://github.com/lmorchard/home-snippets-server-lib.git | Python | 72 lines
                    
61        'Please update your code to use the new i18n aware formatting.',
                    
62        PendingDeprecationWarning
                    
63    )
                    
69        'Please update your code to use the new i18n aware formatting.',
                    
70        PendingDeprecationWarning
                    
71    )
                    
                
__init__.py https://github.com/straup/recipes.git | Python | 93 lines
                    
32                          '2.7. See the Release Notes for Python-Markdown version 2.5 for more info.',
                    
33                          PendingDeprecationWarning)
                    
34        # check for configs kwarg for backward compat.
                    
41                          'Python-Markdown version 2.5 for more info.',
                    
42                          PendingDeprecationWarning)
                    
43        # finally, use kwargs
                    
                
test_reconst_csa_csd.py https://github.com/arokem/dipy.git | Python | 137 lines
                    
23            "ignore", message=descoteaux07_legacy_msg,
                    
24            category=PendingDeprecationWarning)
                    
25        reconst_flow_core(ReconstCSAFlow)
                    
31            "ignore", message=descoteaux07_legacy_msg,
                    
32            category=PendingDeprecationWarning)
                    
33        reconst_flow_core(ReconstCSDFlow)
                    
                
exceptions.py https://github.com/mozilla/kuma-lib.git | Python | 100 lines
                    
94
                    
95class CPendingDeprecationWarning(PendingDeprecationWarning):
                    
96    pass
                    
                
reset.py https://github.com/blacktear23/django.git | Python | 63 lines
                    
26            'This command has been deprecated. The command ``flush`` can be used to delete everything. You can also use ALTER TABLE or DROP TABLE statements manually.',
                    
27            PendingDeprecationWarning
                    
28        )
                    
                
exceptions.py https://github.com/ionelmc/celery.git | Python | 162 lines
                    
20           'TaskRevokedError', 'NotConfigured', 'AlwaysEagerIgnored',
                    
21           'InvalidTaskError', 'ChordError', 'CPendingDeprecationWarning',
                    
22           'CDeprecationWarning', 'FixupWarning', 'DuplicateNodenameWarning',
                    
148
                    
149class CPendingDeprecationWarning(PendingDeprecationWarning):
                    
150    pass
                    
                
models.py https://github.com/asavoy/django-model-utils.git | Python | 133 lines
                    
33            "Use InheritanceManager instead.",
                    
34            PendingDeprecationWarning,
                    
35            stacklevel=2)
                    
                
ExceptionHandlers.py https://gitlab.com/SplatoonModdingHub/PTVS | Python | 176 lines
                    
44except OverflowError: pass
                    
45except PendingDeprecationWarning: pass
                    
46except ReferenceError: pass
                    
69try: pass
                    
70except (ArithmeticError, AssertionError, AttributeError, BaseException, BufferError, BytesWarning, DeprecationWarning, EOFError, EnvironmentError, Exception, FloatingPointError, FutureWarning, GeneratorExit, IOError, ImportError, ImportWarning, IndentationError, IndexError, KeyError, KeyboardInterrupt, LookupError, MemoryError, NameError, NotImplementedError, OSError, OverflowError, PendingDeprecationWarning, ReferenceError, RuntimeError, RuntimeWarning, StandardError, StopIteration, SyntaxError, SyntaxWarning, SystemError, SystemExit, TabError, TypeError, UnboundLocalError, UnicodeDecodeError, UnicodeEncodeError, UnicodeError, UnicodeTranslateError, UnicodeWarning, UserWarning, ValueError, Warning, WindowsError, ZeroDivisionError): pass
                    
71
                    
98except OverflowError: pass
                    
99except PendingDeprecationWarning: pass
                    
100except ReferenceError: pass
                    
                
static.py https://github.com/enlaces/curso_python_dga_11.git | Python | 41 lines
                    
39                  "use the path `django.contrib.staticfiles.views.serve` "
                    
40                  "instead.", PendingDeprecationWarning)
                    
41    return staticfiles_serve(request, path, document_root, show_indexes, insecure)
                    
                
edit.py https://github.com/mozilla/moztrap-vendor-lib.git | Python | 280 lines
                    
115                              "the 'fields' attribute is deprecated." % self.__class__.__name__,
                    
116                              PendingDeprecationWarning)
                    
117
                    
                
test_cross_validation.py https://github.com/arokem/dipy.git | Python | 132 lines
                    
82            "ignore", message=descoteaux07_legacy_msg,
                    
83            category=PendingDeprecationWarning)
                    
84        sm = csd.ConstrainedSphericalDeconvModel(gtab, response)
                    
89            "ignore", message=descoteaux07_legacy_msg,
                    
90            category=PendingDeprecationWarning)
                    
91        kf_xval = xval.kfold_xval(sm, S, 2, response, sh_order=2)
                    
105            "ignore", message=descoteaux07_legacy_msg,
                    
106            category=PendingDeprecationWarning)
                    
107        kf_xval = xval.kfold_xval(sm, S, 2, response, sh_order=2,
                    
                
test_prob_direction_getter.py https://github.com/arokem/dipy.git | Python | 102 lines
                    
38                "ignore", message=descoteaux07_legacy_msg,
                    
39                category=PendingDeprecationWarning)
                    
40            dg = ProbabilisticDirectionGetter.from_shcoeff(
                    
70                "ignore", message=tournier07_legacy_msg,
                    
71                category=PendingDeprecationWarning)
                    
72
                    
                
utils.py https://github.com/fccoelho/mayan.git | Python | 85 lines
                    
48            "Short names for CONVERTER_BACKEND are deprecated; prepend with 'converter.backends.'",
                    
49            PendingDeprecationWarning
                    
50        )
                    
                
simplejson.py https://github.com/theosp/google_appengine.git | Python | 31 lines
                    
11warnings.warn("django.utils.simplejson is deprecated; use json instead.",
                    
12              PendingDeprecationWarning)
                    
13
                    
                
views.py https://github.com/emperorcezar/django-envelope.git | Python | 127 lines
                    
112            warnings.filterwarnings("always",
                    
113                                    category=PendingDeprecationWarning)
                    
114            self.client.get(self.url)
                    
                
itercompat.py https://github.com/theosp/google_appengine.git | Python | 46 lines
                    
34    warnings.warn("django.utils.itercompat.product is deprecated; use the native version instead",
                    
35                  PendingDeprecationWarning)
                    
36    return itertools.product(*args, **kwds)
                    
                
__init__.py https://github.com/mozilla/moztrap-vendor-lib.git | Python | 94 lines
                    
8
                    
9warnings.warn("django.contrib.comments is deprecated and will be removed before Django 1.8.", PendingDeprecationWarning)
                    
10
                    
                
builtins.py https://gitlab.com/pierreEffiScience/TwitterClustering | Python | 125 lines
                    
4
                    
5import imp # deprecated since 3.4; issues PendingDeprecationWarning in 3.5
                    
6import sys
                    
                
tests.py https://github.com/blacktear23/django.git | Python | 78 lines
                    
32        """
                    
33        If blank, no PendingDeprecationWarning error will be raised, even though it
                    
34        doesn't end in a slash.
                    
51        """
                    
52        MEDIA_URL raises an PendingDeprecationWarning error if it doesn't end in a
                    
53        slash.
                    
55        import warnings
                    
56        warnings.filterwarnings('error', 'If set, MEDIA_URL must end with a slash', PendingDeprecationWarning)
                    
57
                    
60
                    
61        self.assertRaises(PendingDeprecationWarning, setattr_settings,
                    
62                          self.settings_module, 'MEDIA_URL', '/foo')
                    
63
                    
64        self.assertRaises(PendingDeprecationWarning, setattr_settings,
                    
65                          self.settings_module, 'MEDIA_URL',
                    
                
warnings.py https://gitlab.com/pooja043/Globus_Docker_2 | Python | 58 lines
                    
32    warnings.filterwarnings('ignore',
                    
33                            category=sa_exc.SAPendingDeprecationWarning)
                    
34    warnings.filterwarnings('error', category=sa_exc.SADeprecationWarning)
                    
                
test_shore_odf.py https://github.com/arokem/dipy.git | Python | 96 lines
                    
32            "ignore", message=descoteaux07_legacy_msg,
                    
33            category=PendingDeprecationWarning)
                    
34        asmfit = asm.fit(data)
                    
39            "ignore", message=descoteaux07_legacy_msg,
                    
40            category=PendingDeprecationWarning)
                    
41        odf_from_sh = sh_to_sf(odf_sh, sphere, 6, basis_type=None,
                    
47            "ignore", message=descoteaux07_legacy_msg,
                    
48            category=PendingDeprecationWarning)
                    
49        expected_phi = shore_matrix(radial_order=6, zeta=700, gtab=gtab)
                    
61            "ignore", message=descoteaux07_legacy_msg,
                    
62            category=PendingDeprecationWarning)
                    
63        odf = asmfit.odf(sphere2)
                    
91            "ignore", message=descoteaux07_legacy_msg,
                    
92            category=PendingDeprecationWarning)
                    
93        asmfit = asm.fit(data)
                    
                
itercompat.py https://github.com/Tippr/django.git | Python | 50 lines
                    
37    warnings.warn("django.utils.itercompat.all is deprecated; use the native version instead",
                    
38                  PendingDeprecationWarning)
                    
39    for item in iterable:
                    
45    warnings.warn("django.utils.itercompat.any is deprecated; use the native version instead",
                    
46                  PendingDeprecationWarning)
                    
47    for item in iterable:
                    
                
feeds.py https://bitbucket.org/taxilian/racecontrol5.git | Python | 38 lines
                    
12                      'use the new class based view API.',
                    
13                      category=PendingDeprecationWarning)
                    
14
                    
                
test_node2vec.py https://github.com/VHRanger/graph2vec.git | Python | 234 lines
                    
20        # Gensim triggers deprecation warnings...
                    
21        warnings.simplefilter("ignore", category=PendingDeprecationWarning)
                    
22        warnings.simplefilter("ignore", category=DeprecationWarning)
                    
                
 

Source

Language